[Gmsh] compile with opencascade
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Thu Apr 9 08:46:07 CEST 2009
Jon wrote:
> Hi, I'm trying to complile gmsh with opencascade
> I get as far as ./configure --enable-occ
> --with-occ-prefix=/usr/local/opencascade
> that all does its thing with no errors. Then I run make and it gives
> this:
> ake[2]: Leaving directory
> `/home/jon/Documents/gmsh-2.3.1/contrib/Netgen/libsrc/opti'
> make[2]: Entering directory
> `/home/jon/Documents/gmsh-2.3.1/contrib/Netgen/libsrc/interface'
> make[2]: Nothing to be done for `default'.
> make[2]: Leaving directory
> `/home/jon/Documents/gmsh-2.3.1/contrib/Netgen/libsrc/interface'
> /usr/bin/ar ruvs ../../lib/libGmshNetgen.a *.o libsrc/*/*.o
> ranlib ../../lib/libGmshNetgen.a
> make[1]: Leaving directory
> `/home/jon/Documents/gmsh-2.3.1/contrib/Netgen'
> make[1]: Entering directory
> `/home/jon/Documents/gmsh-2.3.1/contrib/MathEval'
> make[1]: `../../lib/libGmshMathEval.a' is up to date.
> make[1]: Leaving directory
> `/home/jon/Documents/gmsh-2.3.1/contrib/MathEval'
> g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshCommon -lGmshMesh
> -lGmshGeo -lGmshPost -lGmshPlugin -lGmshCommon -lGmshGraphics
> -lGmshParser -lGmshNumeric -lGmshTreeBrowser -Wl,-Bsymbolic-functions
> -lfltk_images -lfltk_gl -lfltk -lGLU -lGL -ljpeg -lpng -lGmshANN
> -lGmshChaco -lGmshMetis -lGmshNetgen -lGmshMathEval -lz -lm
> /usr/bin/ld: cannot find -lGL
> collect2: ld returned 1 exit status
> make: *** [link] Error 1
you're probably missing the "development" package for opengl (not sure
how it's called on Ubuntu: "gl-dev", "mesa-dev", ...)
> jon at ubuntu:~/Documents/gmsh-2.3.1$
> those are the last few lines.
> My system is Ubuntu 8.10 with everything to make automake configure and
> everything installed correctly
> Any Ideas on what I can do? I really need to import IGES files into
> Gmsh.
>
>
> _______________________________________________
> 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