Seth said:
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.