Open smeeteday opened 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
@smeeteday Hi , I meet the same problem? Have you solved it finally?
$ 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