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::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>::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

使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载!