Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] About auto-link TAUCS in CGAL3.3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] About auto-link TAUCS in CGAL3.3


Chronological Thread 
  • From: "Fernando Cacciola" <>
  • To: <>
  • Subject: Re: [cgal-discuss] About auto-link TAUCS in CGAL3.3
  • Date: Thu, 7 Jun 2007 08:51:11 -0300
  • Organization: SciSoft

Sylvain Pion wrote:
Fernando Cacciola a écrit :
Hello,

I am migrating my project (VC++ .NET 2003) from CGAL3.2.1 to
CGAL3.3. When I rebuild my project(using taucs libs packaged in CGAL) on the
new CGAL, the linker complained that there are redefinitions of
_cgal_taucs_available_memory_size:

If the project compiles as-is using CGAL3.2.1 I suspect the probem is
that the LAPACK/TAUCS libs are explicitely specified in the linker
options. Do the errors go away if you remove any explicit reference to
taucs.lib lapack.lib (etc)?

As explained in the release notes (INSTALL.win32.txt), auto-linking
implies that the .libs are automatically selected so you must remove
any explicit reference to avoid conflicts.

There are also macros that can be defined to disable the autolink.
Namely CGAL_NO_AUTOLINK, CGAL_NO_AUTOLINK_TAUCS...

Indeed.
I forgot to metion this as an alternative to removing .libs explicitely.
Sorry about that.

Notice that the first macro is global: turns off autolinking in ALL of CGAL, while the second is package-specific, taking the general form CGAL_NO_AUTOLINK_<PACKAGE>.

For the case ot TAUCS there is also CGAL_NO_AUTOLINK_LAPACK.

Best

Fernando Cacciola
GeometryFactory




Archive powered by MHonArc 2.6.16.

Top of Page