cnr-isti-vclab / meshlabjs

A javascript client based mesh processing tool. Built using vcg library, emscripten and webgl
http://www.meshlabjs.net
GNU Affero General Public License v3.0
231 stars 51 forks source link

compile error Meshing.cpp #141

Open smeeteday opened 6 years ago

smeeteday commented 6 years ago

$ make -f MakefileJS emcc -c -o Meshing.bc Meshing.cpp -I. -I ../../vcglib/ -I ../../vcglib/eigenlib -s TOTAL_MEMORY=536870912 -std=c++11 -s PRECISE_F32=1 -s DEMANGLE_SUPPORT=1 --bind -s LINKABLE=1 -Os Meshing.cpp:195:6: error: no member named 'BuildVisitTree' in 'vcg::tri::CoM' cc.BuildVisitTree(poly); ~~ ^ Meshing.cpp:196:12: error: no member named 'OptimizeTree' in 'vcg::tri::CoM' while(cc.OptimizeTree(poly)); ~~ ^ Meshing.cpp:197:33: error: no viable conversion from 'MyMesh' to 'bool' cc.MarkFauxEdgeWithPolyLine(m,poly); ^~~~ ../../vcglib/vcg/complex/algorithms/curve_on_manifold.h:187:53: note: passing argument to parameter 'markFlag' here bool MarkFauxEdgeWithPolyLine(MeshType &poly,bool markFlag=true) ^ 3 errors generated. ERROR:root:compiler frontend failed to generate LLVM bitcode, halting

LucienXian commented 5 years ago

@smeeteday Hi , I meet the same problem? Have you solved it finally?