Boost logo

Boost Users :

Subject: [Boost-users] boost graph compiling problem with vc7.1
From: liulewes (lewes_infor_at_[hidden])
Date: 2009-02-06 14:47:26


Dear there: I recently started to use the boost graph library and I got the following problem. I'v 2 projects A and B in my vc 7.1 solution. A uses boost graph lib while B is dependent on A. I'v no problem compiling A but got some errors in B like this: C:\Program Files\boost\boost_1_35_0\boost\graph\detail\adjacency_list.hpp(2292): error C2039: 'size_type' : is not a member of 'boost::vec_adj_list_impl<Graph,Config,Base>' with [ Graph=boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::property<vmap_id_t,int,boost::property<boost::vertex_color_t,RGBColor,boost::property<vertex_feature_t,FeatureVector2D<double> *>>>,boost::property<boost::edge_weight_t,double>>, Config=boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::property<vmap_id_t,int,boost::property<boost::vertex_color_t,RGBColor,boost::property<vertex_feature_t,FeatureVector2D<double> *>>>,boost::property<boost::edge_weight_t,double>>,boost::v
ecS,boost::vecS,boost::undirectedS,boost::detail::retag_property_list<boost::vertex_bundle_t,boost::property<vmap_id_t,int,boost::property<boost::vertex_color_t,RGBColor,boost::property<vertex_feature_t,FeatureVector2D<double> *>>>>::type,boost::detail::retag_property_list<boost::edge_bundle_t,boost::property<boost::edge_weight_t,double>>::type,boost::no_property,boost::listS>::config, Base=boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,boost::vecS,boost::undirectedS,boost::property<vmap_id_t,int,boost::property<boost::vertex_color_t,RGBColor,boost::property<vertex_feature_t,FeatureVector2D<double> *>>>,boost::property<boost::edge_weight_t,double>>,boost::vecS,boost::vecS,boost::undirectedS,boost::detail::retag_property_list<boost::vertex_bundle_t,boost::property<vmap_id_t,int,boost::property<boost::vertex_color_t,RGBColor,boost::property<vertex_feature_t,FeatureVector2D<double> *>>>>::type,boost::detail::retag_property_list<boost::edge_bundle_t,boost::property<boost::edge_weight_t,
double>>::type,boost::no_property,boost::listS>::DirectedHelper ] and even like this: C:\Program Files\boost\boost_1_35_0\boost\pending\container_traits.hpp(150): error C2065: 'list' : undeclared identifier I think that I have all the standard headers included. Where mush I have been wrong? Thanks
_________________________________________________________________
MSN×ÊѶ¿ìµÝ£¬°ïÖúÄãµÚһʱ¼äÁ˽â×îÐÂ×ÊѶ£¡
http://im.live.cn/newsexpress



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