no matching functio error
Dear all, I am newbie about OpenFlipper. When I try to compile it, I come with error as following: */OpenFlipper-1.2/Plugin-PropertyVis/PropertyVisPlugin.cc:1906:13: error: no matching function for call to ‘OpenMesh::PolyMesh_ArrayKernelT<PolyTraits>::property(const OpenMesh::FPropHandleT<std::map<unsigned int, double> >&, const OpenMesh::ArrayItems::Face&)’* the clip around 1906 in the *PropertyVisPlugin.cc* is as following: *1898 template<typename MeshT, typename PropHandleT> 1899 class CopyProperty { 1900 public: 1901 CopyProperty(const PropHandleT &p1, const PropHandleT &p2, MeshT &m esh) : 1902 p1(p1), p2(p2), mesh(mesh) {} 1903 1904 template<typename PrimitiveHandleT> 1905 inline void operator() (const PrimitiveHandleT &pr) { 1906 mesh.property(p1, pr) = mesh.property(p2, pr); 1907 } How can I fix the error? thx * -- Best regards, Yours sincerely, Wu Bo
Hi, what compiler/OS are you using? Did you check out via svn or is this the packaged version from the website? Best, Jan On 16.05.2012 15:04, Bo Wu wrote:
Dear all,
I am newbie about OpenFlipper. When I try to compile it, I come with error as following:
*/OpenFlipper-1.2/Plugin-PropertyVis/PropertyVisPlugin.cc:1906:13: error: no matching function for call to ‘OpenMesh::PolyMesh_ArrayKernelT<PolyTraits>::property(const OpenMesh::FPropHandleT<std::map<unsigned int, double> >&, const OpenMesh::ArrayItems::Face&)’*
the clip around 1906 in the *PropertyVisPlugin.cc* is as following:
*1898 template<typename MeshT, typename PropHandleT> 1899 class CopyProperty { 1900 public: 1901 CopyProperty(const PropHandleT &p1, const PropHandleT &p2, MeshT &m esh) : 1902 p1(p1), p2(p2), mesh(mesh) {} 1903 1904 template<typename PrimitiveHandleT> 1905 inline void operator() (const PrimitiveHandleT &pr) { 1906 mesh.property(p1, pr) = mesh.property(p2, pr); 1907 }
How can I fix the error? thx * -- Best regards, Yours sincerely, Wu Bo
_______________________________________________ Openflipper mailing list Openflipper@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
-- Dipl.Inform. Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany Phone ++49 (0)241 80-21817 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de http://www.rwth-graphics.de
participants (2)
-
Bo Wu
-
Jan Möbius