views:

71

answers:

2

I've been having serious problems trying to set up boost. I must have installed and uninstalled the libraries a dozen times. In my most recent attempt, I followed these instructions:

  1. Download the zip and unzip it.
  2. Get the prebuilt jam executable and unzip it. Put that directory in your path. (Edit Path by using Control Panel...System..Advanced....Environemnt Variables)
  3. Open Visual Studio command prompt. Browse to boost directory. Run: bjam "-sTOOLS=vc-8_0" install

The main reason I'm trying to use boost is for boost/filesystem yet nothing is working. I know this question has been asked before, but it only resulted in more errors..

Please Help!

+3  A: 

Have you tried the installer?

wheaties
Yes I have. My program wouldn't compile though.
brit
Then you're going to have to give more information than that. I doubt your compilation issue has anything to do with Boost itself but rather a) how you're linking to boost b) how you've written your code (should it compile in the first place?) and c) are there conflicting libraries you're linking made by dumbass third party snakeoil salesmen vendors. Not that I've had, um, much experience with "c."
wheaties
A: 

I think you should try the installer mentioned above. Then make sure that you setup your include path and library search path in the project settings.

Also, try a very simple "hello world using boost" type of program to see if it is your project setup or your use of boost that is the issue.

Mark