Re: BOOST question
- From: "Seth" <cacogen@xxxxxxxxx>
- Date: 12 Sep 2006 10:35:24 -0700
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.hpp> line 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.
.
- References:
- BOOST question
- From: Seth
- Re: BOOST question
- From: Carl Daniel [VC++ MVP]
- Re: BOOST question
- From: Seth
- Re: BOOST question
- From: Mihajlo Cvetanović
- BOOST question
- Prev by Date: Windows Forms apps not "ending" when you close the form window
- Next by Date: Strange Error
- Previous by thread: Re: BOOST question
- Next by thread: Re: BOOST question
- Index(es):
Relevant Pages
|