User forums > General (but related to Code::Blocks)

Includes, libraries

(1/1)

gatu:
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

dje:
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

Pecan:
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

Navigation

[0] Message Index

Go to full version