Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gmsh
gmsh
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 78
    • Issues 78
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gmsh
  • gmshgmsh
  • Issues
  • #580

Closed
Open
Opened Jun 17, 2019 by Fabian Preiss@fpreiss
  • Report abuse
  • New issue
Report abuse New issue

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gmsh/gmsh#580