Jump to content
  • Advertisement
Sign in to follow this  
pim

compile boost library

This topic is 4823 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I'm having problems compiling the boost library, so I was wondering if anyone has a msvs library project of boost that they can upload? Edit: Or perhaps someone can help me with the steps needed to compile it ;) I find it a bit strange that there's only a project for their custom build tool at the page, and no make-projects or visual studio projects etc. Thanks! [Edited by - pim on June 5, 2005 4:05:47 AM]

Share this post


Link to post
Share on other sites
Advertisement
Compiling boost really only involves reading the "getting started" guide correctly. If you have Microsoft Visual Studio installed, it's rather easy.

You use the command prompt that sets the environment variables, it should be somewhere in start menu -> vstudio -> tools.

You must have downloaded a binary of boost.jam (bjam.exe) and copied it to like C:\WINDOWS. (The link is in the getting started document)

You go to where you have extracted boost, let's say C:\boost_1_32_0.

And, assuming you have MSVC 2003.Net. You write this:

bjam "-sTOOLS=vc-7_1" install

Then be patient :) The libs will be compiled in C:\Boost\lib and the include files will be copied as well.

Anyway, I have compiled it a couple of times during the last days, using GCC, MSVC Toolkit and MS VStudio, so it's not that a big deal. I'm quite a newbit at this command line stuff!

PS. One reason why you'll have trouble finding out a compiled version of boost is that the libs only take around 500 megabytes once compiled.

Share this post


Link to post
Share on other sites
I've actually followed the instructions step by step, but it's complaining about not finding the right path (without specifying which)..

...failed vc-C++ bin\boost\libs\regex\build\boost_regex.dll\vc-7_1\release\threa
ding-multi\posix_api.obj...
vc-C++ bin\boost\libs\regex\build\boost_regex.dll\vc-7_1\release\threading-multi
\regex.obj
The system cannot find the path specified.
The system cannot find the path specified.

I get alot of these..

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!