[Gmsh] OpenCascade 6.3.0 + Ubuntu 8.10 compile
William Hunter
willemjagter at gmail.com
Mon Feb 16 14:30:37 CET 2009
Hi Gmsh users;
Just to let those know who'd like to compile Gmsh 2.3.0 with
OpenCascade support on ubuntu 8.10, the instructions in README.occ is
correct except that the following didn't work for me, maybe understood
incorrectly (copied from README.occ):
and copy config.h and the <OpenCascade dir>/ros/inc/ subdirectory
to /usr/local/opencascade (This is the same as a doing a partial
'make install')
Perhaps (?) it should be
and copy the <OpenCascade dir>/ros/inc subdirectory
to /usr/local/opencascade/ Then copy config.h to
/usr/local/opencascade/inc/
Anyway, the above worked for me. You should therefore only have
bin, inc and lib
directories in usr/local/opencascade, with config.h in ...cascade/inc
--
Before you compile Gmsh, do
$ sudo apt-get build-dep gmsh
and then follow the rest of the instructions in README.occ Compiling
from source will also get rid of the ugly fonts under Ubuntu if you
use the downloaded binary.
Cheers,
William