[Gmsh] compile with opencascade
David Colignon
David.Colignon at ulg.ac.be
Thu Apr 9 08:47:13 CEST 2009
Hi Jon,
the pre-compiled binaries available on the web site include opencascade support.
And you get an error:
> /usr/bin/ld: cannot find -lGL
because your system does not have OpenGL installed.
Cheers,
Dave
--
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Sart-Tilman B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW: http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com
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
> 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