Hello, I have codeblocks 8.02 Mingw running on windows XP sp3 and when I try to compile a source the following error shows up:
||=== destinyemu, Build ===|
ld.exe||cannot find -lxml2|
||=== Build finished: 1 errors, 0 warnings ===|
What could I do to fix that error ?
Thanks.
Edit :
Ok, I fixed that error but now shows up this one :
ld.exe||cannot find -lpthreadGCE2|
||=== Build finished: 1 errors, 0 warnings ===|
And, I have the pthread library
Quote from: Klafke on December 29, 2010, 09:26:30 PM
ld.exe||cannot find -lpthreadGCE2|
[...]
And, I have the pthread library
...but surely not setup the linker directories in the project settings accordingly. You need to tell the linker where the library is.
BTW: I strongly suggest you first try from the command line. It seems you are missing some basics in understanding and setting up a compiler / linker.
Sorry for resurrecting this old thread.
I have the very same problem, using codeblocks and mingw, trying to use the xmllib2
ld.exe cannot find the -lxml2
Could someone give me an hint?
thank you very much.
Kind regards
Try what is suggested in these two links:
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_What_do_I_need_to_know_when_using_3rd_party_libs.3F
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F