I tried to build graph-tool from the latest source on Ubuntu 12.04 server
(x64) and after getting packages required by ./configure --enable-openmp
 I've run into a compile error

gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
dpkg -s libboost-dev | grep 'Version'
Version: 1.48.0.2
Python 2.7.3

make  all-recursive
make[1]: Entering directory `/home/val/graph_tool_mp'
Making all in src
make[2]: Entering directory `/home/val/graph_tool_mp/src'
Making all in graph
make[3]: Entering directory `/home/val/graph_tool_mp/src/graph'
Making all in centrality
make[4]: Entering directory `/home/val/graph_tool_mp/src/graph/centrality'
  CXX      graph_betweenness.lo
In file included from ./../graph_filtering.hh:51:0,
                 from graph_betweenness.cc:18:
./../graph_adaptor.hh:139:13: error: 'transform_iterator' does not name a
type
./../graph_adaptor.hh:171:13: error: 'transform_iterator' does not name a
type
./../graph_adaptor.hh:179:13: error: 'transform_iterator' does not name a
type
./../graph_adaptor.hh: In instantiation of
'boost::transformed_out_range<boost::adjacency_list&lt;boost::vecS,
boost::vecS, boost::bidirectionalS, boost::no_property,
boost::property&lt;boost::edge_index_t, long unsigned int> > >':

and about 5MB worth of error messages follow :)

I could not find an exact match for this error on Google, except a possible
need for some forward includes.


If there is a suitable package with OpenMP support available somewhere for
12.04 that would be a great alternative to compiling oneself.

The Precise repo for 12.04 (from http://downloads.skewed.de/apt/precise/)
works great, but as far as I can tell, does not include OpenMP
support(running algorithms only utilize one core).



--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Compiling-error-transform-iterator-does-not-name-a-type-tp4024933.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to