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' with [ Graph=boost::adjacency_list>>,boost::propertyboost::edge_weight_t,double>, Config=boost::detail::adj_list_gen>>,boost::propertyboost::edge_weight_t,double>,boost::vecS,boost::vecS,boost::undirectedS,boost::detail::retag_property_list>>>::type,boost::detail::retag_property_listboost::edge_weight_t,double>::type,boost::no_property,boost::listS>::config, Base=boost::detail::adj_list_gen>>,boost::propertyboost::edge_weight_t,double>,boost::vecS,boost::vecS,boost::undirectedS,boost::detail::retag_property_list>>>::type,boost::detail::retag_property_listboost::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