Hi, I have a directory which contains various libraries compiled with different versions of compilers. Problem is that in my project I set the directory of the library I want to use to compile like this:
In search Directories->Compiler I set the include dir
In search Directories->Linker I set the lib dir
In Linker Settings->Link Libraries I set the name of the library (Ex: ACE, ssl, ...)
It compiles ok but it tries to link with libraries installed in /usr/local/lib or /usr/lib and I end up a lot of undefined references and wrong version problems. The only way to link to the library I want is to include the whole path and name in Linker Settings->Link Libraries, but if the library requests another library I have to include its name (and full path also) in the project, while using only the library's name (ACE, ssl) it would be resolved automatically.
I thought it was supposed to try the directories I configured BEFORE trying system directories. What am I doing wrong?
I'm using codeblocks build 4872 and Ubuntu 7.10.