You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the installation step by step, everything went good, until when I ran the "make" for QUADRIC ERROR METRICS. I got the errors below. Seems like something wrong in the cpp file. Could you please have a look at that?
And to clearify, by "Add vcglib/apps/tridecimator and vcglib/apps/sample/trimesh_clustering to your environment path variable!", is this the right thing to do or not?
tridecimator.cpp: In function ‘int main(int, char**)’:
tridecimator.cpp:165:147: error: ‘dup_face’ was not declared in this scope
face %i and edge %i and deg vertex %i and deg face %i\n",dup,unref, dup_face, dup_edge, deg_vertex, deg_face);
^~~~~~~~
tridecimator.cpp:165:157: error: ‘dup_edge’ was not declared in this scope
d edge %i and deg vertex %i and deg face %i\n",dup,unref, dup_face, dup_edge, deg_vertex, deg_face);
^~~~~~~~
tridecimator.cpp:165:167: error: ‘deg_vertex’ was not declared in this scope
and deg vertex %i and deg face %i\n",dup,unref, dup_face, dup_edge, deg_vertex, deg_face);
^~~~~~~~~~
tridecimator.cpp:165:179: error: ‘deg_face’ was not declared in this scope
tex %i and deg face %i\n",dup,unref, dup_face, dup_edge, deg_vertex, deg_face);
^~~~~~~~
tridecimator.cpp:171:32: error: ‘FinalSize’ was not declared in this scope
printf("reducing it to %i\n",FinalSize);
^~~~~~~~~
The text was updated successfully, but these errors were encountered:
I just checked the code of vcglib. As it turned out, I accidentally didn't push the latest version of the code to the public repository.
The issue should be fixed now. Hope the code will help you!
Hi Jonas,
Thank you for the amazing work and the code!
I followed the installation step by step, everything went good, until when I ran the "make" for QUADRIC ERROR METRICS. I got the errors below. Seems like something wrong in the cpp file. Could you please have a look at that?
And to clearify, by "Add vcglib/apps/tridecimator and vcglib/apps/sample/trimesh_clustering to your environment path variable!", is this the right thing to do or not?
PATH=$PATH:vcglib/apps/tridecimator
PATH=$PATH:vcglib/apps/sample/trimesh_clustering
Appreciate your attention!
tridecimator.cpp: In function ‘int main(int, char**)’:
tridecimator.cpp:165:147: error: ‘dup_face’ was not declared in this scope
face %i and edge %i and deg vertex %i and deg face %i\n",dup,unref, dup_face, dup_edge, deg_vertex, deg_face);
^~~~~~~~
tridecimator.cpp:165:157: error: ‘dup_edge’ was not declared in this scope
d edge %i and deg vertex %i and deg face %i\n",dup,unref, dup_face, dup_edge, deg_vertex, deg_face);
^~~~~~~~
tridecimator.cpp:165:167: error: ‘deg_vertex’ was not declared in this scope
and deg vertex %i and deg face %i\n",dup,unref, dup_face, dup_edge, deg_vertex, deg_face);
^~~~~~~~~~
tridecimator.cpp:165:179: error: ‘deg_face’ was not declared in this scope
tex %i and deg face %i\n",dup,unref, dup_face, dup_edge, deg_vertex, deg_face);
^~~~~~~~
tridecimator.cpp:171:32: error: ‘FinalSize’ was not declared in this scope
printf("reducing it to %i\n",FinalSize);
^~~~~~~~~
The text was updated successfully, but these errors were encountered: