Error compiling GModelIO_OCC.cpp
I've got this error since commit bfa3ac08 I use the OpenCASCADE Community Edition from the Ubuntu repo (they haven't changed for a while: liboce-foundation11 | version 0.18.3)
/home/celestin/Documents/Meshing/gmsh/Geo/GModelIO_OCC.cpp: In member function ‘bool OCC_Internals::addBSplineSurface(int&, const std::vector<int>&, int, int, int, const std::vector<double>&, const std::vector<double>&, const std::vector<double>&, const std::vector<int>&, const std::vector<int>&)’:
/home/celestin/Documents/Meshing/gmsh/Geo/GModelIO_OCC.cpp:2037:26: error: variable ‘TColgp_Array2OfPnt pp’ has initializer but incomplete type
2037 | TColgp_Array2OfPnt pp(1, npU, 1, npV);
| ^
/home/celestin/Documents/Meshing/gmsh/Geo/GModelIO_OCC.cpp:2052:28: error: variable ‘TColStd_Array2OfReal ww’ has initializer but incomplete type
2052 | TColStd_Array2OfReal ww(1, npU, 1, npV);
| ^
/home/celestin/Documents/Meshing/gmsh/Geo/GModelIO_OCC.cpp: In member function ‘bool OCC_Internals::addBezierSurface(int&, const std::vector<int>&, int)’:
/home/celestin/Documents/Meshing/gmsh/Geo/GModelIO_OCC.cpp:2141:26: error: variable ‘TColgp_Array2OfPnt pp’ has initializer but incomplete type
2141 | TColgp_Array2OfPnt pp(1, numPointsU, 1, numPointsV);
| ^
make[1]: *** [CMakeFiles/gmsh.dir/build.make:1454: CMakeFiles/gmsh.dir/Geo/GModelIO_OCC.cpp.o] Error 1
I'm surprised to only notice the issue now. I thought I had compiled Gmsh since the 31 of May... maybe there was also a change in my compile configuration.