User forums > Help

Build log cannot find file

(1/2) > >>

Archy:
Hello everyone,

I have just installed Code Blocks for Windows7 (64bit)and wrote a small program to test if it works.
After building the Build log says:

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:

---Build: Debug in Projekt1 (compiler: GNU GCC Compiler) ---
ld.exe cannot find -lboost_system-mgw-mt
ld.exe cannot find -lboost_filesystem-mgw-mt
error: ld returned 1 exit status

--Build failed: 3 errors, 0 warnings, 0 minutes, 0 seconds

I added some pictures with changes I made in the settings. Can anyone help me to fix this error, please?


Kind regards,

Archy








Archy:
some more pictures of the settings

Archy:
more

Archy:
last but not least

stahta01:
Post the build log in Code Tags. http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Do you have the Library on your Computer?
Did you tell the Compiler where to find it?

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version