[Gmsh] Compilation with Opencascade fails (Debian Lenny)

Mike B. mb78aa at yahoo.com
Thu Jun 11 12:41:40 CEST 2009


Hi Dave,

Thanks for the prompt reply.
Compilation fails also with: 
--with-occ-prefix=/usr/include/opencascade

It seems OCC is detected since ./configure reports:
Gmsh has been configured for Linux with the following options: Fltk TreeBrowser Png Ann Gmm Chaco Metis Netgen MathEval Occ Libz Blas Lapack

where Occ is presumably opencascade (it's not there if I compile with enable-occ=no).

Any ideas?.

Thanks,
Mike.

--- On Thu, 6/11/09, David Colignon <David.Colignon at ulg.ac.be> wrote:

From: David Colignon <David.Colignon at ulg.ac.be>
Subject: Re: [Gmsh] Compilation with Opencascade fails (Debian Lenny)
To: "Mike B." <mb78aa at yahoo.com>
Cc: gmsh at geuz.org
Date: Thursday, June 11, 2009, 8:28 PM

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




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