[Gmsh] Cannot compile with tetgen

Mike B. mb78aa at yahoo.com
Mon Jun 15 07:59:54 CEST 2009


Hi All.

Compilation fails for Gmsh nightly build (gmsh-2.3.1-cvs-20090611) with tetgen enabled.

I've installed libtet1.4.2 libtet1.4.2-dev tetgen. At first attempt `configure' did not find `tetgen.h' and disabled the `tetgen' option. I solved this by making a softlink from 
/usr/include/tetgen.h to contrib/Tetgen.

Now configure enables the `tetgen' option but `make' gives the following error (after a while):
/usr/bin/ar: creating ../../lib/libGmshNetgen.a
make[1]: *** No rule to make target `behavior.cxx', needed by `behavior.o'.  Stop.
/usr/bin/ar: creating ../../lib/libGmshMathEval.a
/usr/bin/ld: cannot find -lGmshTetgen
collect2: ld returned 1 exit status
make: *** [link] Error 1

I am able to compile gmsh fine when the `tetgen' option is disabled. Would appreciate help in solving this issue.

Thanks,
Mike.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090614/5808e442/attachment.html>