Skip to Content.
Sympa Menu

cgal-discuss - About auto-link TAUCS in CGAL3.3

Subject: CGAL users discussion list

List archive

About auto-link TAUCS in CGAL3.3


Chronological Thread 
  • From:
  • To:
  • Subject: About auto-link TAUCS in CGAL3.3
  • Date: Thu, 7 Jun 2007 04:52:44 +0200

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:

Mesh.obj : error LNK2005: _cgal_taucs_available_memory_size already defined
in ChildFrm.obj
MeshDoc.obj : error LNK2005: _cgal_taucs_available_memory_size already
defined in ChildFrm.obj
MeshView.obj : error LNK2005: _cgal_taucs_available_memory_size already
defined in ChildFrm.obj
FormView.obj : error LNK2005: _cgal_taucs_available_memory_size already
defined in ChildFrm.obj

Even though I just include the "Taucs_solver_traits.h" in the
enrich_polygon.h, (included by MeshDoc.h, while MeshDoc.h is included by
other .cpp) and do nothing, the link errors still appear! But the same
project can be compiled and linked without error when built with CGAL3.2.1!

The new CGAL provides the auto-link mechanism for libraries, including taucs.
Does the problem have something to do with the auto-link? How do I get rid of
the link errors?

Thank you!



Archive powered by MHonArc 2.6.16.

Top of Page