Failed installing on VC8. Namespace 'boost' not found.

Hi.
I'm newbie in C++ and i can't install the Boost library. Maybe i'm just
doing somethng wrong ? Hepl plz.
I have have A Visual Studio 2005 installed into default location.
I have python 2.4.3 installed at default location (c:\Python24)
=> trying to install boost :
I'm launching bjam.exe as
bjam "-sTOOLS=vc-8_0" install
it produces 168 files in c:\boost\lib with total size ~1Gig and produces the
c:\Boost\include\boost-1_33_1\boost\ with .hpp's inside.
//=======================================
then setting VC++ Directorise in Tools>Options>Projects and Solutions in in
VC++ 8.0 IDE
- adding "c:\Boost\include" and "c:\Boost\include\boost-1_33_1\boost" to
Include files
- adding "c:\Boost\lib" Library files
//=======================================
then creating a simple VC++ console project and adding
some using/include from examlles
#include "stdafx.h"
#include

Hi,
you should only include "c:\Boost\include\boost-1_33_1\" to your
includes. That's all you'll need for it.
If you include "c:\Boost\include\boost-1_33_1\boost" you can't include
the headers via

At 15:36 2006-04-04, ÷ÌÁÄÉÍÉÒ áËÓÅÎÏ× wrote:
Hi. I'm newbie in C++ and i can't install the Boost library. Maybe i'm just doing somethng wrong ? Hepl plz.
I have have A Visual Studio 2005 installed into default location. I have python 2.4.3 installed at default location (c:\Python24)
=> trying to install boost :
I'm launching bjam.exe as bjam "-sTOOLS=vc-8_0" install
it produces 168 files in c:\boost\lib with total size ~1Gig and produces the c:\Boost\include\boost-1_33_1\boost\ with .hpp's inside.
//=======================================
then setting VC++ Directorise in Tools>Options>Projects and Solutions in in VC++ 8.0 IDE - adding "c:\Boost\include" and "c:\Boost\include\boost-1_33_1\boost" to
nope, just add "c:\boost\include\boost-1_33_1"
Include files - adding "c:\Boost\lib" Library files
//=======================================
then creating a simple VC++ console project and adding some using/include from examlles
#include "stdafx.h" #include
#include <iostream> #include <fstream> #include
#include #include using namespace boost;
int _tmain(int argc, _TCHAR* argv[]) { return 0; }
==> Build == > fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
//================================================= Or in this manner :
#include "stdafx.h" using namespace boost;
int _tmain(int argc, _TCHAR* argv[]) { return 0; }
==> Build == > error C2871: 'boost' : a namespace with this name does not exist
//==============================
Any ideas how to make that thing work ?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
participants (3)
-
Victor A. Wagner Jr.
-
Vinzenz 'evilissimo' Feenstra
-
�������� �������