AnsweredAssumed Answered

cannot link to static library

Question asked by Michael Economides on Mar 30, 2015
Latest reply on Mar 30, 2015 by Michael Economides

I have created a library in one project, but I can't seem to link to it in another project which uses it.

 

I have done:

 

Properties --> C/C++ Build --> Settings --> Tool Settings --> Libraries -->

 

  1) added name of library in the -I field, without .a extension or "lib" prefix

  2) added libraries physical location in the -L field.

 

I am still getting "undefined reference" to functions which I have double checked are in fact in the library.

 

Am I missing a something?

 

--Mike

Outcomes