Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: gatu on November 30, 2006, 03:02:24 pm

Title: Includes, libraries
Post by: gatu on November 30, 2006, 03:02:24 pm
Hi,
I would like to compile a project using some no-standard libraries. How can I indicate to the programme that these libraries, includes exist???
Thank you
Title: Re: Includes, libraries
Post by: dje on November 30, 2006, 03:39:28 pm
Hi !

You can set it for your global environment or just for your project.
For global environment :
- Settings/Compiler and debugger
- In the Global compiler settings, select the directories tab
- Add the required paths for compiler and linker.

For your project :
- Right click on the project then select "Build options"
- Select the directories tab
- Add the required paths for compiler and linker.
- Add your specific library in the linker tab.
- Pay attention to project settings and target settings.

Dje
Title: Re: Includes, libraries
Post by: Pecan on November 30, 2006, 04:31:28 pm
Thank You.

Added to Wiki:FAQ

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F