Jump to content

  • Log In with Google      Sign In   
  • Create Account

Boost Filesystem Example Problems


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Dante12129   Members   -  Reputation: 1166

Like
0Likes
Like

Posted 09 July 2013 - 12:56 PM

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.



Sponsor:

#2 BitMaster   Crossbones+   -  Reputation: 4431

Like
0Likes
Like

Posted 10 July 2013 - 01:02 AM

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?

#3 Dante12129   Members   -  Reputation: 1166

Like
0Likes
Like

Posted 10 July 2013 - 12:57 PM

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.



#4 BitMaster   Crossbones+   -  Reputation: 4431

Like
0Likes
Like

Posted 11 July 2013 - 12:43 AM

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?

#5 Dante12129   Members   -  Reputation: 1166

Like
0Likes
Like

Posted 11 July 2013 - 12:38 PM

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS