[Gmsh] Compilation with Opencascade fails (Debian Lenny)

David Colignon David.Colignon at ulg.ac.be
Thu Jun 11 12:28:34 CEST 2009


Hi Mike,

can you try with

--enable-occ=yes --with-occ-prefix= ...

and look at the ouptut of ./configure  if OCC had been detected ?

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



Mike B. wrote:
> Hi All,
> 
> Using Debian Lenny (the current stable) and the nightly build of gmsh 
> (gmsh-2.3.1-cvs-20090611). Compilation of Gmsh without opencascade 
> succeeds but with opencascade it fails.
> 
> What I did:
> * installed the opencascade files:
> apt-get install libopencascade-dev libopencascade6.2 opencascade-doc 
> opencascade-examples opencascade-tools
> 
> * compiled with:
> ./configure --prefix=/home/mike/app/gmsh/usr/local      \
>         --enable-cgns=yes                               \
>         --enable-metis=yes                              \
>         --enable-occ=yes                
> 
> * running `make' after a few minutes of I get the following error message:
> make[1]: Leaving directory 
> `/home/mike/app/gmsh/gmsh-2.3.1-cvs-20090611/contrib/MathEval'
> g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshCommon -lGmshMesh 
> -lGmshPost -lGmshPlugin -lGmshGeo -lGmshCommon -lGmshGraphics 
> -lGmshParser -lGmshNumeric -lGmshTreeBrowser -lfltk_images -lfltk_gl 
> -lfltk -lGLU -lGL -lpng -lGmshANN -lGmshChaco -lGmshMetis -lGmshNetgen 
> -lGmshMathEval -lTKSTEP -lTKSTEP209 -lTKSTEPAttr -lTKSTEPBase -lTKIGES 
> -lTKXSBase -lTKOffset -lTKFeat -lTKFillet -lTKBool -lTKShHealing 
> -lTKMesh -lTKHLR -lTKBO -lTKPrim -lTKTopAlgo -lTKGeomAlgo -lTKBRep 
> -lTKGeomBase -lTKG3d -lTKG2d -lTKAdvTools -lTKMath -lTKernel -lz 
> -llapack  -lf77blas -latlas -lgfortran -lm
> /usr/bin/ld: cannot find -lGmshGeo
> collect2: ld returned 1 exit status
> make: *** [link] Error 1
> 
> Any ideas how to solve this?.
> 
> Thanks,
> Mike.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh