Boost logo

Boost Users :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-02-01 16:51:35


Grek wrote:
> I am a newbie to the world of Boost.
>
> I have a problem in compiling a program. I do not know how to set the
> path to compile the attached code.
>
> My platform is Cygwin
> gcc version 3.3.3
>
> The boost_1_32_0 subdirectory resides in the Cygwin directory.

Not generally a good idea.

> I tried the following,
>
> g++ boost_1_32_0/boost/graph/sourcecode.cpp
>
> and it displays the message
> boost/config.hpp : No such file or directory

You need to add to the include path to your compiler. See:

http://gcc.gnu.org/onlinedocs/gcc-3.3.5/gcc/Preprocessor-Options.html#Preprocessor-Options
Preprocessor Options - Using the GNU Compiler Collection (GCC)

And for Boost related building/setup see:

http://www.boost.org/more/getting_started.html
Getting Started

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

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