Boost logo

Boost Users :

Subject: [Boost-users] [BGL] boost::detail::error_property_not_found issue
From: M. Siebeneicher (trashing_at_[hidden])
Date: 2008-11-18 09:52:24


Hi boost users,

at first some pieces of code:

class EdgeProperties
{
public:
        cPose m_pose;
        PosePrecision m_precisionPose;

};

class VertexContainer
{
public:
        VertexID m_idVertex; //!< ID of the container
        VertexID m_idParent; //!< ID of the parent container
        unsigned int m_nDepth; //!< Depth of vertex in the tree
};

 typedef adjacency_list<
                  vecS
                , vecS
                , bidirectionalS
                , VertexContainer
                , EdgeProperties
> BGLGraph;

void traverse(BGLGraph& graphIn, const IDMapper& idMapperIn) {
        
    // Get the index map
        typedef property_map<BGLGraph, VertexID VertexContainer::*>::type IndexMap;
    IndexMap im = get(&VertexContainer::m_idVertex, graphIn);

        // The source vertex
        BGLVertexDescriptor startDescriptor;
        idMapperIn.mapIDs(this->getStartID(), startDescriptor);
        std::vector<BGLVertexDescriptor> p(num_vertices(graphIn));
        p[get(im, startDescriptor)] = startDescriptor;
        //p[startDescriptor] = startDescriptor;

        breadth_first_search(
                  graphIn
                , startDescriptor
                , vertex_index_map(im).visitor(make_bfs_visitor(record_predecessors(&p[0], boost::on_tree_edge())))
        );
.
.
.
}

Compiling my whole code that contains the above one gives me the following error/warning:
-----------------------------------------------------------------------------------------------------------
ph_visitor_t,boost::bgl_named_params<IndexMap,boost::vertex_index_t,boost::no_property>::self>,boost::graph_visitor_t>::type>::result<boost::bfs_visitor<>>::type
        ]
        d:\FAS_SIM\SDKs\boost_1_35_0\boost\graph\breadth_first_search.hpp(256): Siehe Verweis auf Instanziierung der kompilierten Funktionsvorlage 'void boost::detail::bfs_dispatch<boost::detail::error_property_not_found>::apply<VertexListGraph,boost::bfs_visitor<Visitors>,boost::graph_visitor_t,boost::bgl_named_params<T,Tag,Base>::self>(VertexListGraph &,boost::graph_traits<G>::vertex_descriptor,const boost::bgl_named_params<boost::bfs_visitor<Visitors>,boost::graph_visitor_t,boost::bgl_named_params<T,Tag,Base>::self> &,boost::detail::error_property_not_found)'
        with
        [
            VertexListGraph=de::audi::scenetree::BGLGraph,
            Visitors=boost::predecessor_recorder<std::allocator<std::_Vbase>::value_type *__w64 ,boost::on_tree_edge>,
            T=IndexMap,
            Tag=boost::vertex_index_t,
            Base=boost::no_property,
            G=de::audi::scenetree::BGLGraph
        ]
        d:\Sources\SceneTreeLib\test_src\de\audi\scenetree\visitor\DepthTestVisitor.cpp(48): Siehe Verweis auf Instanziierung der kompilierten Funktionsvorlage 'void boost::breadth_first_search<de::audi::scenetree::BGLGraph,boost::bfs_visitor<Visitors>,boost::graph_visitor_t,boost::bgl_named_params<T,Tag,Base>::self>(const VertexListGraph &,boost::graph_traits<G>::vertex_descriptor,const boost::bgl_named_params<boost::bfs_visitor<Visitors>,boost::graph_visitor_t,boost::bgl_named_params<T,Tag,Base>::self> &)'
        with
        [
            Visitors=boost::predecessor_recorder<std::allocator<std::_Vbase>::value_type *__w64 ,boost::on_tree_edge>,
            T=IndexMap,
            Tag=boost::vertex_index_t,
            Base=boost::no_property,
            VertexListGraph=de::audi::scenetree::BGLGraph,
            G=de::audi::scenetree::BGLGraph
        ]
-----------------------------------------------------------------------------------------------------------

Does anybody know what this means?

greetz,
Manuel

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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