2016-10-31 02:05 AM
Hello,
I have some closed-source library code, which I need to use in my project.If I just add the headers and the .o files to my project, when I build, I get the linker error ''undefined reference to xxx ...''. I need a way to tell the linker where to find the object files. I can't find the usual eclipse setting allowing to do so.Does anyone know how to do this?Thank you in advance. #object #.o #linking2016-11-07 02:53 AM
Hello Alem ,
you should update user.mak and place in the project your .o files in a user directory in your eclipse project.# List all user directories here
UINCDIR = -Itest
# List the user directory to look for the libraries here
ULIBDIR =
# List all user libraries here
ULIBS = test.o
Do not put in components directory
Best regards
Erwan