Hello' Guys,
I've been trying to build Boost with Mingw, but for some reason I'm having troubles making it run along.
Here is how I compiled it:
---------------------------------------------
- Downloaded & extracted Boost V 1.60.0
- Ran 'bootstrap.bat mingw' in its root folder
- Ran 'bjam.exe --toolset=gcc stage --with-filesystem --build_dir=BOOST_BUILD_GCC'
- Went to Code::Blocks IDE & added both filesystem & system (debug version) compiled boost libraries compiled from '$boostroot/stage/lib' with their respective linking option (
https://i.gyazo.com/27a5d51fc9550e37e241278885100f15.png )
- Compiled with MinGW
---------------------------------------------
This got me the following errors:
1 2
|
e:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lboost_filesystem
e:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lboost_system
|
How can I fix this issue ?
Thank you & Merry Christmas !
NOTE: My 'gcc' command line command uses the one provided with Code::Blocks (same version).