Linking error in linux
Posted: Wed May 26, 2010 4:34 pm
Hi,
I'm running Codelite 2.5 on linux and I have some problems at the end of the compilation. I have several projects in my workspace which all output a static library (.a). I have an executable project that links with all those libraries. I added the linking folders and the libraries to link with but I always have errors.
the libLogic.a exists in the folder it tries to locate it... That's why I don't get it. Does anyone had that problem? Am I doing something wrong or it's an issue?
Thanks in advance!!
I'm running Codelite 2.5 on linux and I have some problems at the end of the compilation. I have several projects in my workspace which all output a static library (.a). I have an executable project that links with all those libraries. I added the linking folders and the libraries to link with but I always have errors.
Code: Select all
g++ -o /home/svn/simulator/Binaries/linux/Simulator_d /home/svn/simulator/Temp/Linux/Debug/Executable/LinuxMain.o "-L." "-L/usr/X11R7/lib" -lusb-1.0 -lX11 -lGL -l/home/svn/simulator/Temp/Linux/Debug/libLogic -lz -l/usr/lib/libcrypt
/usr/bin/ld: cannot find -l/home/svn/simulator/Temp/Linux/Debug/libLogic
Thanks in advance!!