Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: presler on September 04, 2012, 12:10:09 pm

Title: Adding libs to project.
Post by: presler on September 04, 2012, 12:10:09 pm
Is it the only place, where I should add paths to libs for project?
http://imageshack.us/f/27/image000jh.png/ (http://imageshack.us/f/27/image000jh.png/)
Linker doesn't see functions for import.
Title: Re: Adding libs to project.
Post by: Jenna on September 04, 2012, 12:19:44 pm
I the linker settings (tab Link libraries) you add the libraries, search paths for compiler and linker are set under ... "Search paths".
Title: Re: Adding libs to project.
Post by: presler on September 04, 2012, 12:26:16 pm
At the tab "Search directories->Linker"? I added path where lib is located too, but nothing works well.
Title: Re: Adding libs to project.
Post by: Jenna on September 04, 2012, 12:53:41 pm
Switch on full commandline logging (if it is not already) and see what is really sent to the compiler
/linker.
See http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F) how to do this.