[Gmsh] Compile Gmsh with OCC support
Mikhail Artemiev
artemiev.mikhail at ngs.ru
Thu Sep 8 09:53:46 CEST 2011
Hello, Denis.
Thanks for the link. OCE is really cool. I use it now.
But my problem was not solved.
I checked CASROOT variable. It's ok.
I think - maybe OCC support needs to some other option activation. For
example, FLTK or something else, I don't know.
If I can change some configuration files by hand to include Opencascade
support, please, tell me where.
Mikhail Artemiev
>This is possible, Ubuntu packages do have OpenCascade support. If you
>compiled OpenCascade yourself, and if you set CASROOT environment
>variable to /home/artemiev/OCCT/, everything should work.
>BTW I believe that it has not yet been reported here, but several
>users started a fork of OpenCascade to fix some problems which were
>not dealt with by developers, and one of our first achievements has
>been to replace build systems by CMake. Hopefully integration between
>gmsh and OpenCascade will be easier.
>If you are interested, please have a look at https://github.com/tpaviot/oce
>I will try to provide a patch against CMakeLists.txt in a few days.
>> 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?