Compile fails with REVOROPT enabled
The current development version (4_3_0.r284.g1a9fc280) fails to compile with the cmake option REVOROPT enabled (-DENABLE_REVOROPT=ON
).
[ 31%] Building CXX object CMakeFiles/gmsh.dir/Plugin/Crack.cpp.o
[ 32%] Building CXX object CMakeFiles/gmsh.dir/Plugin/MeshSubEntities.cpp.o
[ 32%] Building CXX object CMakeFiles/gmsh.dir/Plugin/MeshVolume.cpp.o
[ 32%] Building CXX object CMakeFiles/gmsh.dir/Plugin/CVTRemesh.cpp.o
[ 32%] Building CXX object CMakeFiles/shared.dir/Mesh/BackgroundMesh.cpp.o
[ 32%] Building CXX object CMakeFiles/gmsh.dir/Plugin/ShowNeighborElements.cpp.o
/home/fpreiss/Downloads/mygithub/archlinux-pkgs/gmsh-git/src/gmsh-git-source/Plugin/CVTRemesh.cpp: In member function ‘virtual PView* GMSH_CVTRemeshPlugin::execute(PView*)’:
/home/fpreiss/Downloads/mygithub/archlinux-pkgs/gmsh-git/src/gmsh-git-source/Plugin/CVTRemesh.cpp:92:39: error: ‘class GFace’ has no member named ‘stl_vertices’; did you mean ‘stl_vertices_uv’?
for(std::size_t i = 0; i < (*it)->stl_vertices.size(); ++i) {
^~~~~~~~~~~~
stl_vertices_uv
/home/fpreiss/Downloads/mygithub/archlinux-pkgs/gmsh-git/src/gmsh-git-source/Plugin/CVTRemesh.cpp:93:38: error: ‘class GFace’ has no member named ‘stl_vertices’; did you mean ‘stl_vertices_uv’?
GPoint p = (*it)->point((*it)->stl_vertices[i]);
^~~~~~~~~~~~
stl_vertices_uv
/home/fpreiss/Downloads/mygithub/archlinux-pkgs/gmsh-git/src/gmsh-git-source/Plugin/CVTRemesh.cpp:101:22: error: ‘class GFace’ has no member named ‘stl_vertices’; did you mean ‘stl_vertices_uv’?
offset += (*it)->stl_vertices.size();
^~~~~~~~~~~~
stl_vertices_uv
compiler version: gcc (GCC) 8.3.0