Menu

#3 unable to compile properly the last source code under Linux Centos

v1.0 (example)
closed
nobody
None
5
2014-04-28
2014-04-16
No

Unable to compile texgen under Linux Centos 6.5 or Linux Centos 5.5 :

[ 93%] Building C object Core/CMakeFiles/TexGenCore.dir/__/units/units.o
Linking CXX shared library ../libTexGenCore.so
/usr/bin/ld: cannot find -ltet
collect2: ld a retourné 1 code d'état d'exécution
gmake[2]: *** [libTexGenCore.so] Erreur 1
gmake[1]: *** [Core/CMakeFiles/TexGenCore.dir/all] Erreur 2
gmake: *** [all] Erreur 2

A workaround is to compile manually libtetgenlib.a in libtetgenlib and replace -ltet by ../libtetgenlib.a in every link.txt file.

Discussion

  • Louise Brown

    Louise Brown - 2014-04-16

    Hi,
    I have changed the core CMakeLists to use tetgenlib. This builds ok in Ubuntu so hopefully it will solve your problem.
    Best regards,
    Louise

     
  • Olivier Delhomme

    I checked out the last subversion version and it seems Ok until the SWIG generation. Thanks !

    I think you can close this bug.

     
  • Louise Brown

    Louise Brown - 2014-04-28
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB