Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Using custom planar embedding
From: Vicente Helano (vicente.helano_at_[hidden])
Date: 2009-10-18 13:12:54


Hi Aaron,

  Sorry for the absence of data. :)
  If I comment out the line:

    boost::planar_face_traversal(g, &planar_embedding[0], vis);

  the code compiles and runs smoothly. Otherwise, I get the following
error messages:

    /home/helano/Desktop/temp/extrpg.cpp:79: instantiated from here
    /usr/include/boost/property_map.hpp:351: error: no match for
‘operator+’ in ‘((const
boost::iterator_property_map<__gnu_cxx::__normal_iterator<std::map<long
unsigned int, boost::detail::edge_desc_impl<boost::undirected_tag,
long unsigned ...

    /home/helano/Desktop/temp/extrpg.cpp:79: instantiated from here
    /usr/include/boost/property_map.hpp:351: error: no match for
‘operator+’ in ‘((const
boost::iterator_property_map<__gnu_cxx::__normal_iterator<std::set<long
unsigned int, std::less<long unsigned int>, std::allocator<long
unsigned int> >*, ...

    /home/helano/Desktop/temp/extrpg.cpp:79: instantiated from here
    /usr/include/boost/graph/detail/adjacency_list.hpp:2644: error: no
matching function for call to ‘get_property_value(const
boost::no_property&, boost::edge_index_t)’

  I thought my embedding was well defined, as I followed an example
for constructing such structure.
  Any idea?

  Thank you in advance!

Best regards,
  Vicente.


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