Boost logo

Boost :

Subject: [boost] [graph] fails to complile on Cygwin
From: Bernd Prager (bernd_at_[hidden])
Date: 2012-07-26 16:59:50


Hi,

I'm having trouble compiling Boost 1.51 on Cygwin 1.7.15, g++ (GCC) 4.5.3.
It fails with:

gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi/read_graphviz_new.o
In file included from ./boost/proto/transform/when.hpp:25:0,
from ./boost/proto/matches.hpp:43,
from ./boost/proto/core.hpp:22,
from ./boost/xpressive/regex_primitives.hpp:28,
from ./boost/xpressive/xpressive_static.hpp:24,
from ./boost/graph/graphviz.hpp:34,
from libs\graph\src\read_graphviz_new.cpp:50:
./boost/proto/transform/env.hpp: In member function
‘boost::proto::functional::env_var<boost::proto::envns_::data_type>::impl<Env,
true>::result_type
boost::proto::functional::env_var<boost::proto::envns_::data_type>::impl<Env,
true>::operator()(boost::proto::detail::arg<T>) const’:
./boost/proto/transform/env.hpp:330:36: error: ‘data’ is not a member of
‘boost::proto’

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_DYN_LINK=1
-DBOOST_HAS_ICU=1 -DNDEBUG -I"." -I"/usr/include" -I"libs/graph/src" -c
-o
"bin.v2\libs\graph\build\gcc-4.5.3\release\threading-multi\read_graphviz_new.o"
"libs\graph\src\read_graphviz_new.cpp"

...failed gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi/read_graphviz_new.o...
gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi/graphml.o
In file included from ./boost/proto/transform/when.hpp:25:0,
from ./boost/proto/matches.hpp:43,
from ./boost/proto/core.hpp:22,
from ./boost/xpressive/regex_primitives.hpp:28,
from ./boost/xpressive/xpressive_static.hpp:24,
from ./boost/graph/graphviz.hpp:34,
from ./boost/graph/graphml.hpp:20,
from libs\graph\src\graphml.cpp:17:
./boost/proto/transform/env.hpp: In member function
‘boost::proto::functional::env_var<boost::proto::envns_::data_type>::impl<Env,
true>::result_type
boost::proto::functional::env_var<boost::proto::envns_::data_type>::impl<Env,
true>::operator()(boost::proto::detail::arg<T>) const’:
./boost/proto/transform/env.hpp:330:36: error: ‘data’ is not a member of
‘boost::proto’

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_DYN_LINK=1
-DBOOST_HAS_ICU=1 -DNDEBUG -I"." -I"/usr/include" -I"libs/graph/src" -c
-o "bin.v2\libs\graph\build\gcc-4.5.3\release\threading-multi\graphml.o"
"libs\graph\src\graphml.cpp"

...failed gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi/graphml.o...
...skipped
<pbin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi>cygboost_graph.dll
for lack of
<pbin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi>read_graphviz_new.o...
...skipped
<pbin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi>libboost_graph.dll.a
for lack of
<pbin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi>read_graphviz_new.o...
...skipped <p/usr/local/bin>cygboost_graph.dll for lack of
<pbin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi>cygboost_graph.dll...
...skipped <p/usr/local/lib>libboost_graph.dll.a for lack of
<pbin.v2/libs/graph/build/gcc-4.5.3/release/threading-multi>libboost_graph.dll.a...
gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi/read_graphviz_new.o
In file included from ./boost/proto/transform/when.hpp:25:0,
from ./boost/proto/matches.hpp:43,
from ./boost/proto/core.hpp:22,
from ./boost/xpressive/regex_primitives.hpp:28,
from ./boost/xpressive/xpressive_static.hpp:24,
from ./boost/graph/graphviz.hpp:34,
from libs\graph\src\read_graphviz_new.cpp:50:
./boost/proto/transform/env.hpp: In member function
‘boost::proto::functional::env_var<boost::proto::envns_::data_type>::impl<Env,
true>::result_type
boost::proto::functional::env_var<boost::proto::envns_::data_type>::impl<Env,
true>::operator()(boost::proto::detail::arg<T>) const’:
./boost/proto/transform/env.hpp:330:36: error: ‘data’ is not a member of
‘boost::proto’

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -DNDEBUG -I"."
-I"/usr/include" -I"libs/graph/src" -c -o
"bin.v2\libs\graph\build\gcc-4.5.3\release\link-static\threading-multi\read_graphviz_new.o"
"libs\graph\src\read_graphviz_new.cpp"

...failed gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi/read_graphviz_new.o...
gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi/graphml.o
In file included from ./boost/proto/transform/when.hpp:25:0,
from ./boost/proto/matches.hpp:43,
from ./boost/proto/core.hpp:22,
from ./boost/xpressive/regex_primitives.hpp:28,
from ./boost/xpressive/xpressive_static.hpp:24,
from ./boost/graph/graphviz.hpp:34,
from ./boost/graph/graphml.hpp:20,
from libs\graph\src\graphml.cpp:17:
./boost/proto/transform/env.hpp: In member function
‘boost::proto::functional::env_var<boost::proto::envns_::data_type>::impl<Env,
true>::result_type
boost::proto::functional::env_var<boost::proto::envns_::data_type>::impl<Env,
true>::operator()(boost::proto::detail::arg<T>) const’:
./boost/proto/transform/env.hpp:330:36: error: ‘data’ is not a member of
‘boost::proto’

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -DNDEBUG -I"."
-I"/usr/include" -I"libs/graph/src" -c -o
"bin.v2\libs\graph\build\gcc-4.5.3\release\link-static\threading-multi\graphml.o"
"libs\graph\src\graphml.cpp"

...failed gcc.compile.c++
bin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi/graphml.o...
...skipped
<pbin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi>libboost_graph.a(clean)
for lack of
<pbin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi>read_graphviz_new.o...
...skipped
<pbin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi>libboost_graph.a
for lack of
<pbin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi>read_graphviz_new.o...
...skipped <p/usr/local/lib>libboost_graph.a for lack of
<pbin.v2/libs/graph/build/gcc-4.5.3/release/link-static/threading-multi>libboost_graph.a...


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk