Re: [Meshlab-devel] quadricsteximp e crash dopo selection
A processing system for 3D triangular meshes
Brought to you by:
cignoni,
granzuglia
From: Gfrei A. <gfr...@gm...> - 2007-02-09 19:41:37
|
pi...@cl... wrote: > A me compila perfettamente con dotnet 2005. > Oggi ho visto che compila anche al professore con dotnet 2003 > Che compilatore stai usando? > >> 1) non gli piace >> #include <QVector.h> >> #include <QPair.h> >> >> ma vuole: >> #include <QVector> >> #include <QPair> > > ....come fa a non piacerli le estensioni dei file.... C'ho gcc 4.1.2 e quello vuole gli include di qt senza .h e anche con i typedef e' piu' pignolo > > prova a levare tutti i .h dai file inclusi da quadricsteximp per vedere > se funziona > > Quoting Gfrei Andreas <gfr...@gm...>: > >> Ho provato la selection e su linux non mi da problemi, pero' il binary >> meshlab non e' quello piu' aggiornato siccome durante la compilazione ho >> il seguente problema con quadricsteximp.cpp: >> >> 1) non gli piace >> #include <QVector.h> >> #include <QPair.h> >> >> ma vuole: >> #include <QVector> >> #include <QPair> >> >> 2) per il resto credo che manchino dei typedef: >> >> make[3]: Entering directory >> `/home/andi/schule/fgt/meshlab/src/meshlabplugins/meshfilter' >> g++ -c -pipe -O2 -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN >> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED >> -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore >> -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui >> -I/usr/include/QtOpenGL -I/usr/include/QtOpenGL -I/usr/include -I../.. >> -I../../../../sf -I../../../../code/lib/glew/include >> -I/usr/X11R6/include -Irelease -I. -o release/quadricsteximp.o >> quadricsteximp.cpp >> quadricsteximp.cpp:180: error: expected ?,? or ?...? before ?&? token >> quadricsteximp.cpp:180: error: ISO C++ forbids declaration of ?EdgeType? >> with no type >> quadricsteximp.cpp: In constructor >> ?TriEdgeCollapseQuadricTex<TriMeshType, MYTYPE, >> HelperType>::TriEdgeCollapseQuadricTex(int)?: >> quadricsteximp.cpp:183: error: ?mark? was not declared in this scope >> quadricsteximp.cpp:184: error: ?p? was not declared in this scope >> quadricsteximp.cpp: In member function ?vcg::math::ScalarType >> TriEdgeCollapseQuadricTex<TriMeshType, MYTYPE, >> HelperType>::ComputePriority(double*, Quadric5<double>&)?: >> quadricsteximp.cpp:308: error: ?CoordType? was not declared in this scope >> quadricsteximp.cpp:308: error: expected `;' before ?OldPos0? >> quadricsteximp.cpp:309: error: expected `;' before ?OldPos1? >> quadricsteximp.cpp:346: error: ?OldPos0? was not declared in this scope >> quadricsteximp.cpp:347: error: ?OldPos1? was not declared in this scope >> quadricsteximp.cpp: In static member function ?static void >> TriEdgeCollapseQuadricTex<TriMeshType, MYTYPE, >> HelperType>::Init(TriMeshType&, typename >> vcg::tri::TriEdgeCollapse<TriMeshType, MYTYPE>::HeapType&)?: >> quadricsteximp.cpp:536: error: ?EdgeType? was not declared in this scope >> quadricsteximp.cpp:536: error: expected `;' before ?av0? >> quadricsteximp.cpp: In member function ?void >> TriEdgeCollapseQuadricTex<TriMeshType, MYTYPE, >> HelperType>::Execute(TriMeshType&)?: >> quadricsteximp.cpp:638: error: ?CoordType? was not declared in this scope >> quadricsteximp.cpp:638: error: expected `;' before ?newPos? >> quadricsteximp.cpp:642: error: ?newPos? was not declared in this scope >> quadricsteximp.cpp: At global scope: >> quadricsteximp.cpp: In instantiation of >> ?TriEdgeCollapseQuadricTex<CMeshO, MyTriEdgeCollapseQTex, >> QuadricTexHelper>?: >> quadricsteximp.cpp:733: instantiated from here >> quadricsteximp.cpp:285: error: conflicting return type specified for >> ?vcg::math::ScalarType TriEdgeCollapseQuadricTex<TriMeshType, MYTYPE, >> HelperType>::ComputePriority() [with TriMeshType = CMeshO, MYTYPE = >> MyTriEdgeCollapseQTex, HelperType = QuadricTexHelper]? >> ../../../../sf/vcg/complex/local_optimization/tri_edge_collapse.h:150: >> error: overriding ?typename TriMeshType::VertexType::ScalarType >> vcg::tri::TriEdgeCollapse<TriMeshType, MYTYPE>::ComputePriority() [with >> TriMeshType = CMeshO, MYTYPE = MyTriEdgeCollapseQTex]? >> quadricsteximp.cpp: In constructor >> ?MyTriEdgeCollapseQTex::MyTriEdgeCollapseQTex(const CEdge&, int)?: >> quadricsteximp.cpp:737: error: no matching function for call to >> ?TriEdgeCollapseQuadricTex<CMeshO, MyTriEdgeCollapseQTex, >> QuadricTexHelper>::TriEdgeCollapseQuadricTex(const CEdge&, int&)? >> quadricsteximp.cpp:180: note: candidates are: >> TriEdgeCollapseQuadricTex<TriMeshType, MYTYPE, >> HelperType>::TriEdgeCollapseQuadricTex(int) [with TriMeshType = CMeshO, >> MYTYPE = MyTriEdgeCollapseQTex, HelperType = QuadricTexHelper] >> quadricsteximp.cpp:170: note: >> TriEdgeCollapseQuadricTex<CMeshO, MyTriEdgeCollapseQTex, >> QuadricTexHelper>::TriEdgeCollapseQuadricTex(const >> TriEdgeCollapseQuadricTex<CMeshO, MyTriEdgeCollapseQTex, QuadricTexHelper>&) >> quadricsteximp.cpp: In member function ?void >> TriEdgeCollapseQuadricTex<TriMeshType, MYTYPE, >> HelperType>::UpdateHeap(typename vcg::tri::TriEdgeCollapse<TriMeshType, >> MYTYPE>::HeapType&) [with TriMeshType = CMeshO, MYTYPE = >> MyTriEdgeCollapseQTex, HelperType = QuadricTexHelper]?: >> quadricsteximp.cpp:788: instantiated from here >> quadricsteximp.cpp:597: error: expected primary-expression >> quadricsteximp.cpp:788: instantiated from here >> quadricsteximp.cpp:605: error: expected primary-expression >> make[3]: *** [release/quadricsteximp.o] Fehler 1 >> make[3]: Leaving directory >> `/home/andi/schule/fgt/meshlab/src/meshlabplugins/meshfilter' >> make[2]: *** [release] Fehler 2 >> make[2]: Leaving directory >> `/home/andi/schule/fgt/meshlab/src/meshlabplugins/meshfilter' >> make[1]: *** [sub-meshfilter-make_default] Fehler 2 >> make[1]: Leaving directory >> `/home/andi/schule/fgt/meshlab/src/meshlabplugins' >> make: *** [sub-meshlabplugins-make_default] Fehler 2 >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Meshlab-devel mailing list >> Mes...@li... >> https://lists.sourceforge.net/lists/listinfo/meshlab-devel >> > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Meshlab-devel mailing list > Mes...@li... > https://lists.sourceforge.net/lists/listinfo/meshlab-devel > |