[Gmsh] Compilation with Opencascade fails (Debian Lenny)

Mike B. mb78aa at yahoo.com
Thu Jun 11 11:36:52 CEST 2009


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.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090611/47d377da/attachment.html>