Boost logo

Boost :

Subject: Re: [boost] [graph] [proto] [xpressive] fails to complile on Cygwin
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-07-26 17:12:52


On Thu, 26 Jul 2012, Bernd Prager wrote:

> Hi,
>
> I'm having trouble compiling Boost 1.51 on Cygwin 1.7.15, g++ (GCC) 4.5.3.

I added [proto] and [xpressive] to the subject line since this seems to be
an issue in one of those. Boost.Graph compiles just fine with MinGW GCC
4.5.4 using the trunk (according to the regression test results), so
perhaps there's some trunk change that didn't make it into 1.51. The
release branch fails under MinGW for unrelated reasons. If you need
something to work right away, copy revision 77731 of
https://svn.boost.org/svn/boost/trunk/boost/graph/graphviz.hpp over
boost/graph/graphviz.hpp in your source tree and it will likely work
around the problem.

-- Jeremiah Willcock

> 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...
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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