User forums > Help
Build log cannot find file
stahta01:
Try reading this FAQ and see if it helps.
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_What_do_I_need_to_know_when_using_3rd_party_libs.3F
Tim S.
BlueHazzard:
--- Quote from: Archy on January 23, 2017, 03:34:17 pm ---g++.exe -LC:\MinGW\lib -LC:\MinGW\Boost\lib -o bin\Debug\Projekt1.exe obj\Debug\main.o -lboost_system-mgw-mt -lboost_filesystem-mgw-mt
C:/MinGW/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_system-mgw-mt
C:/MinGW/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_filesystem-mgw-mt
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
3 error(s), 0 warning(s) (0 minute(s), 0 second(s))
The build message says:
--- End quote ---
You are clearly missing the linker library path...
You have to add the path to the boost libraries under Project->Build options->Search directories->Linker
greetings
sodev:
And most probably the library names are wrong as well. There are three different options regarding the naming of the libraries and your names seem to match none of these.
Navigation
[0] Message Index
[*] Previous page
Go to full version