Boost logo

Boost Users :

Subject: [Boost-users] BGL: Problem to compile components_on_edgelist.cpp example.
From: arm2arm (arm2arm_at_[hidden])
Date: 2010-05-05 11:14:00


Hello, I cannot compile the components_on_edgelist.cpp example with gcc
4.5/4.2 and VC++2009. I am using Boost 1.42
It trows errors on
>c:\boost\include\boost-1_42\boost\graph\incremental_components.hpp(178) :
error C2825: 'ParentIterator': must be a class or namespace when followed by
'::'
1>
c:\boost\include\boost-1_42\boost\graph\incremental_components.hpp(141) :
see reference to function template instantiation 'void
boost::component_index<IndexType>::build_index_lists<ParentIterator,boost::typed_identity_property_map<T>>(ParentIterator,const
ElementIndexMap &)' being compiled
1> with
1> [
1> IndexType=int,
1> ParentIterator=const unsigned int *,
1> T=size_t,
1> ElementIndexMap=boost::typed_identity_property_map<size_t>
1> ]
 and more...

Are there some work around ?

Actually I would like to construct disjoint sets based on vector<Edge>,
where Edge is pair<uint, uint>.

Thanks
Arman.

-- 
View this message in context: http://old.nabble.com/BGL%3A-Problem-to-compile-components_on_edgelist.cpp-example.-tp28462367p28462367.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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