Page 1 of 1

Linking custom library error

Posted: Thu Sep 16, 2021 9:36 am
by alexsheu
Hi,
I'm trying to link a custom library to use with Erika. I've included the header file which contains the library function declarations and the path to the library as you can see below, let me know is there any setting is missing?

Best regards,
Alex
WeChat 圖片_20210916163534.png
WeChat 圖片_20210916163534.png (188.51 KiB) Viewed 17497 times
WeChat 圖片_20210916163541.png
WeChat 圖片_20210916163541.png (41.24 KiB) Viewed 17497 times
WeChat 圖片_20210916163545.png
WeChat 圖片_20210916163545.png (40.32 KiB) Viewed 17497 times

Re: Linking custom library error

Posted: Thu Sep 16, 2021 10:48 am
by paolo.gai
Dear Alex,

try adding an EEOPT in the OIL file OS_EE_VERBOSE.

In this way, it will print the command line used by the makefile.

Then try to execute the same command alone, from the command line, and check where is the issue.

Likely the linker command is missing some parameter, or the directory you specified for the linked libraries are wrong...

Ciao,

PJ