[Gmsh] Compiling in Tetgen

John Doe ufnoise at gmail.com
Fri Oct 3 19:32:41 CEST 2008


My apologies.  Apparently I had copied in makefile and gnu make
appears to prefer:
makefile
to
Makefile

Sorry for the noise.

Thanks,

Juan

On Fri, Oct 3, 2008 at 12:25 PM, John Doe <ufnoise at gmail.com> wrote:
> When I add the files from Tetgen into contrib/Tetgen for the stable
> source code tree, the program doesn't build.
>
> make[1]: Leaving directory `/home/foo/gmsh/gmsh-2.2.4/contrib/MathEval'
> g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshCommon -lGmshGeo
> -lGmshMesh -lGmshPost -lGmshPlugin -lGmshCommon -lGmshGraphics
> -lGmshParser -lGmshNumeric -lfltk_images -lfltk_gl -lfltk -lGLU -lGL
> -ljpeg -lpng -lGmshANN -lGmshChaco -lGmshMetis -lGmshNetgen
> -lGmshTetgen -lGmshMathEval -lgsl -lgslcblas -lz -lm
> /usr/bin/ld: cannot find -lGmshTetgen
> collect2: ld returned 1 exit status
> make: *** [link] Error 1
>  gmsh-2.2.4>
>
> apparently it is creating a tetgen binary instead of the
> libGmshTetgen.a that the linker is looking for.
>
> Thanks,
>
> Juan
>