Boost logo

Boost Users :

From: ÷ÌÁÄÉÍÉÒ áËÓÅÎÏ× (niktesla_q_at_[hidden])
Date: 2006-04-04 17:36:29


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 <boost/config.hpp>
#include <iostream>
#include <fstream>

#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/dijkstra_shortest_paths.hpp>

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 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