Boost logo

Boost :

Subject: [boost] [graph] running test leda_graph_cc.cpp fails - header not found
From: Jens Müller (blog_at_[hidden])
Date: 2011-12-13 23:07:51

Hi all,

I tried to run the tests for the LEDA adapter in the Boost Graph library.

I checked out the latest trunk from SVN. I made the Boost.Build v2,
works fine. When running ./../../tools/build/v2/bjam in libs/graph/test,
all tests run fine.

I installed LEDA (free version) in

After successfully running all other tests, the one for LEDA fails:

$ ../../../tools/build/v2/bjam -s
Performing configuration checks

     - has_icu builds : yes
...found 6503 targets...
...updating 2 targets...
In file included from leda_graph_cc.cpp:10:0:
../../../boost/graph/leda_graph.hpp:20:30: fatal error:
LEDA/graph/graph.h: No such file or directory
compilation terminated.

     "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC
-DBOOST_ALL_NO_LIB=1 -I"../../.." -c -o

...failed gcc.compile.c++
...failed updating 1 target...
...skipped 1 target...

Note that I edited boost/graph/leda_graph.hpp, fixing a syntax error and
making it point to the now location of the LEDA header files (which
contains an additional "graph" sub-directory).

But the problem seems to be that the include directory is not at all
passed to the compiler. What is going wrong here?



Boost list run by bdawes at, gregod at, cpdaniel at, john at