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!
Include custom libraries
-
- CodeLite Curious
- Posts: 3
- Joined: Fri Oct 10, 2014 3:29 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Include custom libraries
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
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
-
- CodeLite Curious
- Posts: 3
- Joined: Fri Oct 10, 2014 3:29 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Include custom libraries
It didn't help me much... :-/
-
- CodeLite Expert
- Posts: 167
- Joined: Fri Jul 22, 2011 5:32 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Include custom libraries
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.
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.
You do not have the required permissions to view the files attached to this post.