By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,810 Members | 1,601 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,810 IT Pros & Developers. It's quick & easy.

BOOST question

P: n/a
I can't get this thing made for the life of me. I've gone through every
step per the Boost website regarding using bjam. Nothing. Can anyone
give any advice or are there pre-made boost hpps for Windows platform?

thanks in advance
seth

Sep 9 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Seth wrote:
I can't get this thing made for the life of me. I've gone through
every step per the Boost website regarding using bjam. Nothing. Can
anyone give any advice or are there pre-made boost hpps for Windows
platform?
Tell us exactly what you're trying, using which version of VC++, and how
it's not working.

I've built boost dozens of times using VC6 - VC8 and never run into any
serious problems building it while following the build instructions from the
boost website.

-cd
Sep 9 '06 #2

P: n/a
I was not able to get bjam to work. I finally just used nmake on the
regex library and got my build. I'm using VC8, VS2005, and Boost
1.33.1. There's a sample of code I was trying to build that had a
#include <boost\regex.hppline that STILL won't get included.

fatal error C1083: Cannot open include file: 'boost\regex.hpp': No such
file or directory

Thanks for the reply,
seth

Carl Daniel [VC++ MVP] wrote:
Seth wrote:
I can't get this thing made for the life of me. I've gone through
every step per the Boost website regarding using bjam. Nothing. Can
anyone give any advice or are there pre-made boost hpps for Windows
platform?

Tell us exactly what you're trying, using which version of VC++, and how
it's not working.

I've built boost dozens of times using VC6 - VC8 and never run into any
serious problems building it while following the build instructions from the
boost website.

-cd
Sep 12 '06 #3

P: n/a
Seth wrote:
I was not able to get bjam to work. I finally just used nmake on the
regex library and got my build. I'm using VC8, VS2005, and Boost
1.33.1. There's a sample of code I was trying to build that had a
#include <boost\regex.hppline that STILL won't get included.

fatal error C1083: Cannot open include file: 'boost\regex.hpp': No such
file or directory
This has nothing to do with boost. All libraries (like boost, or xerces)
use directory structure in their code for include directive, like:

#include <LibDir/SomeFile.hpp>

What you should do is add the folder in which LibDir is located (i.e.
parent to LibDir) to Additional Include Directories in the C/C++
properties of the project. If LibDir is under the project folder then
add "$(ProjectDir)" in this field.

Another solution is to copy whole library to Microsoft installation
folder (C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include).

And yet another solution would be to put the library wherever you like
and add path to it in Tools Options Projects VC++ Directories, in
the list of Include files. This one is recommended I believe.
Sep 12 '06 #4

P: n/a
Seth schrieb:
I was not able to get bjam to work.
Hi Seth,

just download boost-jam-3.1.13-1-ntx86.zip from
http://sourceforge.net/project/showf...?group_id=7586.
Unpack it and make sure that bjam.exe is in your PATH.

Then, for vc-8.0, issue something like
bjam "-sTOOLS=vc-8_0" install
from the command line.

If your compiler is not in C:\Program Files\Microsoft Visual Studio 8\VC,
you have to set set the -sVC80_ROOT command line switch too.

Good luck,
Christian
Sep 12 '06 #5

P: n/a
Mihajlo,

After programming in a variety of other languages C++ is like learning
to drive a large truck with manual transmission after years of driving
a small sedan with automatic transmission!

Thanks so much for the detailed list of options. I am resolved to
adding C++ to my knowledge base and I appreciate help with the steep
learning curve.

Seth
Mihajlo Cvetanovic wrote:
Seth wrote:
I was not able to get bjam to work. I finally just used nmake on the
regex library and got my build. I'm using VC8, VS2005, and Boost
1.33.1. There's a sample of code I was trying to build that had a
#include <boost\regex.hppline that STILL won't get included.

fatal error C1083: Cannot open include file: 'boost\regex.hpp': No such
file or directory

This has nothing to do with boost. All libraries (like boost, or xerces)
use directory structure in their code for include directive, like:

#include <LibDir/SomeFile.hpp>

What you should do is add the folder in which LibDir is located (i.e.
parent to LibDir) to Additional Include Directories in the C/C++
properties of the project. If LibDir is under the project folder then
add "$(ProjectDir)" in this field.

Another solution is to copy whole library to Microsoft installation
folder (C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include).

And yet another solution would be to put the library wherever you like
and add path to it in Tools Options Projects VC++ Directories, in
the list of Include files. This one is recommended I believe.
Sep 12 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.