|
Boost Users : |
Subject: [Boost-users] [Graph] Topological sort compilation error
From: Bruno Morais (moraisferreira_at_[hidden])
Date: 2011-04-01 16:07:20
Hi,
I got some problems trying to compile a topological sort code.
I created my graph with the color properties but I got the error:
error C2679: binary '<<' : no operator found which takes a right-hand
operand of type 'boost::detail::error_property_not_found' (or there is no
acceptable conversion)
So, I tried the example at boost_1_46_1\libs\graph\example\topo_sort.cpp.
It works fine, but with a little change I could reproduce the error.
I change the following code at line 43:
typedef adjacency_list<vecS, vecS, directedS,
property<vertex_color_t, default_color_type> > Graph;
to
typedef adjacency_list<vecS, listS, directedS,
property<vertex_color_t, default_color_type> > Graph;
Should the vertex list selector influence on that?
I tried Boost 1.46.1 and got the error with both compilers:
Microsot Visual Studio 2008 version 9.0.21022.8 RTM
and
Intel® C++ Compiler Version 11.1.850.2008
I attached the modified version of the file.
With Kind Regards,
Bruno
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