[Gmsh] BOPInt_Context.hxx absent d'Opencascade 6.8.0
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Tue Nov 18 21:59:30 CET 2014
> On 18 Nov 2014, at 21:38, Thierry Thomas <thierry at FreeBSD.org> wrote:
>
> Bonsoir Christophe,
>
> En préparant la mise à jour du port FreeBSD d'OpenCascade vers la
> version 6.8.0, je me rends compte que Gmsh 2.8.5 ne la supporte pas :
Salut - De fait, je n'ai pas encore testé. J'utilise OCE, qui je pense est toujours basé sur OCC 6.7.1.
Christophe
>
> [ 3%] Building CXX object CMakeFiles/gmsh.dir/Geo/OCCFace.cpp.o
> /usr/local/libexec/ccache/c++ -DNOTCL -DNO_PARALLEL_THREADS -DOCCGEOMETRY -DTETLIBRARY -D_OCC64 -O2 -pipe -march=corei7 -DHAVE_CONFIG_H -DHAVE_WOK_CONFIG_H -DFREEBSD -fstack-protector -fno-strict-aliasing -O2 -pipe -march=corei7 -DHAVE_CONFIG_H -DHAVE_WOK_CONFIG_H -DFREEBSD -fstack-protector -fno-strict-aliasing -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/onelab -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/mpeg_encode/headers -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/ANN/include -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/lbfgs -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/DiscreteIntegration -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/HighOrderMeshOptimizer -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/kbipack -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/MathEx -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/Metis -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/Chaco/main -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/rtree -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/voro++/src -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/blossom/MATCH -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/blossom/concorde97 -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/blossom/concorde97/INCLUDE -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/Netgen -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/Netgen/libsrc/include -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/Netgen/nglib -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/bamg -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/bamg/bamglib -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/mmg3d/build/sources -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/Tetgen1.5 -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/gmm -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/contrib/Salome -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Common -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Fltk -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Geo -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Graphics -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Mesh -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Solver -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Numeric -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Parser -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Plugin -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Post -I/usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Qt -I/usr/local/include -I/usr/local/include/FL/images -I/usr/local/include/jpeg -I/usr/local/include/zlib -I/usr/local/include/png -I/usr/local/include/OpenCASCADE -Wall -Wno-int-to-void-pointer-cast -Wno-deprecated-declarations -o CMakeFiles/gmsh.dir/Geo/OCCFace.cpp.o -c /usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Geo/OCCFace.cpp
> /usr/ports/cad/gmsh-2.8.5/work/gmsh-2.8.5-source/Geo/OCCFace.cpp:31:10: fatal error: 'BOPInt_Context.hxx' file not found
> #include <BOPInt_Context.hxx>
> ^
> 1 error generated.
> CMakeFiles/gmsh.dir/build.make:1759 : la recette pour la cible « CMakeFiles/gmsh.dir/Geo/OCCFace.cpp.o » a échouée
>
> Il y a aussi une erreur mineure de cmake car TKAdvTools.so n'existe
> plus, mais elle est facile à corriger :
>
> --- CMakeLists.txt.orig 2014-07-09 09:27:58.000000000 +0200
> +++ CMakeLists.txt 2014-11-18 21:35:33.000000000 +0100
> @@ -1017,7 +1017,7 @@
> # ModelingData
> TKBRep TKGeomBase TKG3d TKG2d
> # FoundationClasses
> - TKAdvTools TKMath TKernel)
> + TKMath TKernel)
> if(ENABLE_SGEOM)
> set(OCC_LIBS_REQUIRED ${OCC_LIBS_REQUIRED}
> # For SGEOM
>
> Pour la première erreur, je n'ai pas cherché, car je voulais d'abord
> savoir si vous aviez une nouvelle version en préparation ?
>
> Bien cordialement,
> --
> Th. Thomas.
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine