Boost Filesystem Example Problems

Started by
3 comments, last by Dante12129 10 years, 9 months ago

I am having trouble compiling the example programs using the scripts that Boost Filesystem provides. I am following the tutorial at http://www.boost.org/doc/libs/1_54_0/libs/filesystem/doc/tutorial.html. The setup script runs fine, but the bld script stops and gives me the message "boostcpp.jam: No such file or directory". I have my Path environment set correctly to find the Boost.jam stuff and am using Windows 7 and MinGW 4.7.2.

Advertisement
With the "setup script runs fine" I assume you mean calling bootstrap.bat in the Boost directory? Exactly what parameters are you then passing to bjam or b2?

The setup script is the setup.bat in the boostdir/libs/filesystem/example/test. I made sure it compiled with MinGW. I have used Boost to compile Luabind for MinGW, so I don't think it will be that.

Large portions of Boost are header-only. I don't know what Luabind needs. Filesystem is one of those which has to be compiled into a library though. So, have you bootstrapped Boost and then compiled it with bjam/b2?

I got it working, I just needed to do toolset=gcc after bld.

This topic is closed to new replies.

Advertisement