Boost logo

Boost Users :

From: Tino S. (schumi_75_at_[hidden])
Date: 2005-09-23 05:01:32


Hi boosters,

i can't build my first stand alone project with
boost.build.
I did'nt found any solutions in the doc. :(

Here the facts:

envirement:
- winxp with vc7.1 and cygwin with gcc3.4
- bjam version 03.01.11 (which comes with boost 1.33)
- set the SystemVar BOOST_ROOT=D:\Temp\boost_1_33_0
(under win)

In my home directory are these files:
// FILE: site-config.jam

   # Get Boost location from build system
   path-constant BOOST_ROOT : [ modules.peek :
BOOST_ROOT ] ;

// FILE: user-config.jam
   import toolset : using ;
   using msvc ;

and here is my simple project dir

+ my_prj
  // FILE: hello.cpp
                #include <boost/array.hpp>
                #include <iostream>
                int main()
                {
                        boost::array<int,4> a = { { 1, 2, 3 } };

                        std::cout << "Hello!\n";
                        std::cout << "a[1]:" << a[1] << '\n';
                        std::cin.get();
                        return 1;
                }

  // FILE: Jamfile
        # nothing works, :( .. could not find the
boost header
        # nothing works..
                exe hello : hello.cpp ;
                #exe hello1 : hello.cpp : <include>boost ;
                #exe hello2 : hello.cpp : <include>BOOST_ROOT ;
                #exe hello3 : hello.cpp : <include>$(BOOST_ROOT) ;
                
  // FILE: project-root.jam
                path-constant MY_DIR : . ;

                using lex ;
                using bison ;
                using testing ;

What's wrong? Why could'nt found the boost header
files?

For beginners it would wounderfull to add samples to
the doc which shows the integration of Boost (include
and libs).

Thanks in advance

Tino Schumacher

        
                
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de


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