Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Boost Filesystem Example Problems

4: Adsense

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   

2036
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.



#2 BitMaster   Members   

8647
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   

2036
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   Members   

8647
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   

2036
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.