Page 1 of 1

Include custom libraries

Posted: Mon Jan 19, 2015 10:59 pm
by CésarNoll
Hello!

I would like to know how do I include new libraries. I'm new at CodeLite and I want to include my SFML library, but I don't know how to use it (I mean the procedure).

Thanks for help!

Re: Include custom libraries

Posted: Tue Jan 20, 2015 2:45 am
by DavidGH
Hi,

Have a look at the 'linker' section of this doc page. The screenshots are from an old CodeLite version and the current version looks different; but it should give you an idea of what you need to do.

Regards,

David

Re: Include custom libraries

Posted: Wed Jan 28, 2015 3:59 am
by CésarNoll
It didn't help me much... :-/

Re: Include custom libraries

Posted: Wed Jan 28, 2015 1:12 pm
by Gibbon1
Highlight the project in the workspace view, right click on the project in the workspace tab and select settings -> linker

Note the libraries search path and the libraries. Add the path to the library and the name of the library. Try compiling, note the build window shows you the output of the build process. Can be helpful for figuring out why things don't work.

Remember there is codelite which is an editor/IDE and then there is the tool chain. make, compiler and linker. Any errors you see are usually from those tools.
proj_setting.png