User forums > Help
using boost/filesystem
Hitnrun:
Here is my boost compilling recipe (I'm using 1.34):
--- Code: ---- using msys
- go to boost root dir
# cd tools/jam/src
# ./build.sh
- go back to boost root dir
# tools/jam/src/bin.ntx86/bjam toolset=gcc variant=release threading=multi link=static stage
--- End code ---
kanesoban:
--- Quote ---this error indicates that you entered "boost_regex-mgw34-mt-1_35.lib" into the linker options which is wrong. please enter "boost_regex-mgw34-mt-1_35" (notice the missing ".lib").
--- End quote ---
It is still giving the same message.
kanesoban:
Ok, well it seems i finally managed to compile it !
You see, the problem was, that boost build gave wrong names to some of the library files it built.
Most of the built library files look like this:
boost_*-mgw34-mt
However, for some odd reason, the regex library file (and only that) looked like this:
libboost_regex-mgw34-mt
Once i renamed it, so there is no "lib" prefix, Codeblocks was able to compile it.
Navigation
[0] Message Index
[*] Previous page
Go to full version