Subject: CGAL users discussion list
List archive
- From: Marc Downie <>
- To:
- Subject: Re: [cgal-discuss] installing taucs on snow leopard
- Date: Sat, 28 Nov 2009 19:14:33 -0600
Here is what I have done so far:
in the taucs_full dir I type:
$ sudo ./configurator/configurator
error: the environment variable OSTYPE is not set
$ echo $OSTYPE
darwin10.0
$ export OSTYPE=darwin_intel
$ echo $OSTYPE
darwin_intel
$ sudo ./configurator/configurator
error: the environment variable OSTYPE is not set
1) Are you sure you are using the taucs download from the CGAL website? I downloaded that and compiled it on snow leopard exactly 24 hours ago. I didn't have to change my OSTYPE.
and this gives
$ sudo ./make
.......
ld: warning: in external/lib/darwin_intel/libmetis.a, file is not of required architecture
ld: warning: in external/lib/darwin_intel/libf2c.a, file is not of required architecture
........
ld: symbol(s) not found
collect2: ld returned 1 exit status
2) The libf2c.a and the libmetis.a that comes with taucs/CGAL are the 32-bit versions rather than the 64-bit versions you probably want on snow leopard (which defaults to compiling 64 bits on most machines now). You'll need to track down 64 bit versions of these and then drop them in the correct spot. I remember compiling metis from google+source, and I get my mac f2c from here: http://hpc.sourceforge.net/
You'll also then need to convince CGAL that you have Taucs after you installed it by setting some CMake vars. I only mess with CMake in anger and tend to suppress the memory of it, but I seem to have ended up with TAUCS_DEFINITIONS=-lmetis. TAUCS_INCLUDE_DIR=/usr/local/include TAUS_LIBRARIES=/usr/local/lib/libtaucs.a;/usr/local/lib/libmetis.a TAUCS_LIBRARIES_DIR=/usr/local/lib and TAUCS_LIBRARY=/usr/local/lib/libtaucs.a;/usr/local/lib/libmetis.a .
With that, CGAL's reconstruction code is working (as well as Poisson reconstruction ever does) on my snow leopard machines.
best,
Marc.
- [cgal-discuss] installing taucs on snow leopard, Yuri, 11/28/2009
- Re: [cgal-discuss] installing taucs on snow leopard, Marc Downie, 11/29/2009
- Re: [cgal-discuss] installing taucs on snow leopard, Yuri, 11/29/2009
- Re: [cgal-discuss] installing taucs on snow leopard, Marc Downie, 11/29/2009
- Re: [cgal-discuss] installing taucs on snow leopard, Yuri, 11/29/2009
- Re: [cgal-discuss] installing taucs on snow leopard, Marc Downie, 11/29/2009
- Re: [cgal-discuss] installing taucs on snow leopard, Yuri, 11/29/2009
- Re: [cgal-discuss] installing taucs on snow leopard, Marc Downie, 11/29/2009
Archive powered by MHonArc 2.6.16.