Boost logo

Boost Users :

From: Frank Brown (frog-boo_at_[hidden])
Date: 2004-12-15 20:06:44


sorry if this has been asked before, it's very elementary but i can't find
references in the archives or faq so here goes:

i just installed boost libraries and built them via bjam. they seemed to build
successfully. i'm using the vc7.1 compiler. when i try to compile (cl) a .cpp
file containing the following include

#include <boost/regex.hpp>

i get the following:

testBoost.cpp(8) : fatal error C1083: Cannot open include file:
'boost/regex.hpp': No such file or directory

if i replace the include with the actual file spec like this:

#include "C:\Boost\include\boost-1_32\boost\regex.hpp"

i get the following compiler error:

testboost.cpp
C:\Boost\include\boost-1_32\boost\regex.hpp(28) : fatal error C1083: Cannot
open include file: 'boost/regex/config.hpp': No such file or directory

apparently the compiler (cl) isn't translating <boost>. since one boost header
refers to others i need to fix this basic problem.

i tried substituting the bjam.exe in place of cl to compile, then i get a
different error:

Unable to load Boost.Build: could not find "boost-build.jam"
---------------------------------------------------------------
Attempted search from D:\c\whereis up to the root

so i'm sorry to bother y'all with such a simple problem, all i need to know is
how to compile (the 'hello world' scenario). thanks for your attention.

-frank brown (stupid jerk)
http://www.inwa.net/~frog


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net