[Gmsh] Compile Gmsh with OCC support

Mikhail Artemiev artemiev.mikhail at ngs.ru
Wed Sep 7 03:53:46 CEST 2011


Hi all!
I know that this issue was raising many times. But I 
really can't activate OpenCascade support under Ubuntu and 
Suse Linux when I build Gmsh 2.5.0 and 2.4.2 from sources. 
I was trying this trick 
(http://www.geuz.org/pipermail/gmsh/2010/005211.html), 
i.e.
cmake -DCMAKE_PREFIX_PATH:string="/home/artemiev/OCCT/" ..
(where OCCT is a directory with OpenCascade files - 
sources and libraries).
I tried also (as saing in README.txt)
cmake -DCMAKE_PREFIX_PATH=/home/artemiev/OCCT/ ..
Of course, I have ENABLE_OCC=1.
However Gmsh doesn't have OCC support.
Is there other way to activate OpenCascade support?

Thanks
Mikhail Artemiev