[Gmsh] OpenCascade 6.3.0 + Ubuntu 8.10 compile

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Mar 12 21:37:30 CET 2009


William Hunter wrote:
> 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
> 


Hi William - Indeed we never know how Open Cascade is supposed to be 
installed... Is the

opencascade
opencascade/bin
opencascade/inc
opencascade/lib

hierarchy the official one?


> --
> 
> 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
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine