Ok. I'll try it again :)
I'm afraid the information you given is not enough, especially for
folks without access to that specific compiler. It's much better to
post (1) complete and simple example which fails to compile and (2)
exact error messages. If you could try with CVS version, this would be
excellent.
What is this cvs version you are refering to?
It was pretty much the complete example. Here is it again.
#include <set>
#include <string>
#include
using namespace boost;
int main(int argc, char *argv[])
{
// create some vertex names
typedef std::setstd::string StringSet;
StringSet v_names;
std::string names[] = { "v1", "v2", "v3" };
v_names.insert(names, names + sizeof(names)/sizeof(names[0]));
// declare the graph
typedef adjacency_list Graph;
Graph g(v_names.size());
// get the property map for the vertex names
property_map::type name = get(vertex_name_t(), g);
// fill in the names
StringSet::const_iterator ss_it = v_names.begin(), ss_end = v_names.end();
int i = 0;
for(; ss_it!=ss_end; ++ss_it, ++i)
name[i] = *ss_it;
return 0;
}
If you really want all the error messages ... here is the complete output from the visual studio. I don't know if it's that helpful.
Compiling...
main.cpp
c:\boost_1_29_0\boost\pending\detail\property.hpp(89) : error C2039: 'next_type' : is not a member of '`global namespace''
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(89) : error C2146: syntax error : missing ';' before identifier 'NextProperty'
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(89) : error C2501: 'NextProperty' : missing storage-class or type specifiers
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(90) : error C2039: 'value_type' : is not a member of '`global namespace''
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(90) : error C2146: syntax error : missing ';' before identifier 'Value'
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(90) : error C2501: 'Value' : missing storage-class or type specifiers
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(91) : error C2039: 'tag_type' : is not a member of '`global namespace''
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(91) : error C2146: syntax error : missing ';' before identifier 'Tag'
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(91) : error C2501: 'Tag' : missing storage-class or type specifiers
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(92) : error C2065: 'NextProperty' : undeclared identifier
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(92) : error C2955: 'build_property_tag_value_alist' : use of class template requires template argument list
c:\boost_1_29_0\boost\pending\detail\property.hpp(94) : see declaration of 'build_property_tag_value_alist'
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(93) : error C2065: 'Tag' : undeclared identifier
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\pending\detail\property.hpp(93) : error C2065: 'Value' : undeclared identifier
c:\boost_1_29_0\boost\pending\property.hpp(61) : see reference to class template instantiation 'boost::detail::build_property_tag_value_alist<enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2300) : see reference to class template instantiation 'boost::property_value' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2362) : see reference to class template instantiation 'boost::vec_adj_list_any_vertex_pa::bind_,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\detail\adjacency_list.hpp(2495) : see reference to class template instantiation 'boost::detail::vec_adj_list_choose_vertex_pa,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(162) : see reference to class template instantiation 'boost::vec_adj_list_vertex_property_selector::bind_,enum boost::vertex_name_t,enum boost::vertex_name_t>' being compiled
c:\boost_1_29_0\boost\graph\properties.hpp(205) : see reference to class template instantiation 'boost::detail::vertex_property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : see reference to class template instantiation 'boost::property_map,enum boost::vertex_name_t>' being compiled
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : error C2514: 'boost::?$vec_adj_list_vertex_property_map@V?$adjacency_list@UsetS@boost@@UvecS@2@UdirectedS@2@W4vertex_name_t@2@Uno_property@2@W4graph_name_t@2@U12@@boost@@PAV12@$DBAB@AAVtemplate-parameter-BAB@W4vertex_name_t@2@' : class has no constructors
c:\documents and settings\administrator\desktop\circularity\main.cpp(58) : error C2262: 'name' : cannot be destroyed
c:\documents and settings\administrator\desktop\circularity\main.cpp(63) : error C2678: binary '[' : no operator defined which takes a left-hand operand of type 'struct boost::?$vec_adj_list_vertex_property_map@V?$adjacency_list@UsetS@boost@@UvecS@2@UdirectedS@2@W4vertex_name_t@2@Uno_property@2@W4graph_name_t@2@U12@@boost@@PAV12@$DBAB@AAVtemplate-parameter-BAB@W4vertex_name_t@2@' (or there is no acceptable conversion)
Error executing cl.exe.
circularity.exe - 16 error(s), 0 warning(s)