|
Boost : |
From: J-S Lin (jslin_at_[hidden])
Date: 2003-03-13 13:21:16
Hi, Volodya
Following arethe error messages:
------------------------------------------
\boost-g\boost_1_29_0\boost\property_map.hpp(151) : error C2039: 'reference'
: is not a member of 'boost::property_traits'
with
[
PA=boost::default_color_type *
]
g:\boost-g\boost_1_29_0\boost\graph\properties.hpp(52) : see
declaration of 'boost::property_traits'
with
[
PA=boost::default_color_type *
]
g:\boost-g\boost_1_29_0\boost\concept_check.hpp(46) : see reference
to class template instantiation 'boost::ReadablePropertyMapConcept' being
compiled
with
[
PMap=boost::default_color_type *__w64 ,
Key=Vertex
]
g:\boost-g\boost_1_29_0\boost\property_map.hpp(209) : see reference
to function template instantiation 'void
boost::function_requires(boost::type *)' being compiled
with
[
T=boost::ReadablePropertyMapConcept
]
g:\boost-g\boost_1_29_0\boost\property_map.hpp(208) : while
compiling class-template member function 'void
boost::ReadWritePropertyMapConcept::constraints(void)'
with
[
PMap=boost::default_color_type *__w64 ,
Key=Vertex
]
g:\boost-g\boost_1_29_0\boost\concept_check.hpp(46) : see reference
to class template instantiation 'boost::ReadWritePropertyMapConcept' being
compiled
with
[
PMap=boost::default_color_type *__w64 ,
Key=Vertex
]
g:\boost-g\boost_1_29_0\boost\graph\breadth_first_search.hpp(76) :
see reference to function template instantiation 'void
boost::function_requires(boost::type *)' being compiled
with
[
T=boost::ReadWritePropertyMapConcept
]
g:\boost-g\boost_1_29_0\boost\graph\breadth_first_search.hpp(116) :
see reference to function template instantiation 'void
boost::breadth_first_visit(const IncidenceGraph
&,boost::graph_traits::vertex_descriptor,boost::queue<_Tp,_Sequence>
&,boost::bfs_visitor,boost::default_color_type *__w64 )' being compiled
with
[
IncidenceGraph=boost::filtered_graph::type>,boost::keep_all>,
G=boost::filtered_graph::type>,boost::keep_all>,
_Tp=vertex_t,
_Sequence=std::deque>,
Visitors=boost::edge_predecessor_recorder::directed_category,boost::adjacenc
y_list_traits::vertex_descriptor> ,boost::on_tree_edge>
]
g:\boost-g\boost_1_29_0\boost\graph\edmunds_karp_max_flow.hpp(118) :
see reference to function template instantiation 'void
boost::breadth_first_search(const VertexListGraph
&,boost::graph_traits::vertex_descriptor,boost::queue<_Tp,_Sequence>
&,boost::bfs_visitor,boost::default_color_type *__w64 )' being compiled
with
[
VertexListGraph=boost::filtered_graph::type>,boost::keep_all>,
G=boost::filtered_graph::type>,boost::keep_all>,
_Tp=vertex_t,
_Sequence=std::deque>,
Visitors=boost::edge_predecessor_recorder::directed_category,boost::adjacenc
y_list_traits::vertex_descriptor> ,boost::on_tree_edge>
]
g:\boost-g\boost_1_29_0\boost\graph\edge_connectivity.hpp(159) : see
reference to function template instantiation
'boost::property_traits::value_type boost::edmunds_karp_max_flow(Graph
&,boost::graph_traits::vertex_descriptor,boost::graph_traits::vertex_descrip
tor,boost::property_map::type,boost::property_map::type,boost::property_map:
:type,boost::default_color_type *__w64 ,boost::detail::edge_desc_impl )'
being compiled
with
[
PA=boost::property_map::type,
Graph=FlowGraph,
G=FlowGraph,
Property=boost::edge_capacity_t,
Directed=boost::adjacency_list_traits::directed_category,
Vertex=boost::adjacency_list_traits::vertex_descriptor
]
------------------------------------------------
Thanks. I will look into CVS version, meanwhile.
J-S
----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>
To: "Boost mailing list" <boost_at_[hidden]>
Sent: Thursday, March 06, 2003 2:08 AM
Subject: Re: [boost] [BGL]edge connectivity code won't compile
> J-S Lin wrote:
>
> > Hi, I ran into problems trying to compile the BGL example code,
> > edge_connectivity.cpp. (There are two codes, this is the short one with
> > underscore, the other is hyphen edge-connectivity.) I used VC7. I have
> > been running other codes without any problem.
>
> Hi,
>
> > Basically, I got two errors:
> > 1)C1076--I have changed from /Gm to /Zm1000, and it went way.
> > 2) C2039--it flagged error "reference is not a member of property map"
and
> > points to boost/property_map.hpp in boost-1-29-0. I have no idea how to
> > fix this one.
>
> I think that in order for somebody to look into the problem, you should
> provide *exact* error messages. The property_map.hpp file is big, and
> guessing what line upsets VC7 is impossible. In first case, you did not
> even say where error occurs.
>
> BTW, could you also try with CVS version?
>
> - Volodya
> _______________________________________________
> 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