[Gmsh] gmsh with occt7
Bernd Hahnebach
gmsh at b75.ch
Fri Sep 9 07:44:15 CEST 2016
Just would like to share some informations. I do not know if someone
has tried to compile GMSH against occt7. I recently tried to build
gmsh with occt7.0.0. Snce occt7 requires C++11 I had to add it to the
CMakeLists.txt. I did it simply by
if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
endif()
Better would be to check the version off occt and only add it for occt7.
GMSH compiles, installs and runs fine with occt7. I have created a few
meshs already. No problems so far.
cheers bernd
More information about the gmsh
mailing list