Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] building CGAL for static runtime

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] building CGAL for static runtime


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] building CGAL for static runtime
  • Date: Fri, 11 Sep 2009 19:20:11 +0200
  • Organization: GeometryFactory

On Friday 11 September 2009 18:59:08 Cody M Rose wrote:
> That would definitely solve the problem, but I'm on Windows, so I'm using
> the precompiled binaries that come with CGAL. The correct binary is
> included, I just can't figure out how to link to it.

The precompiled GMP binaries that come with CGAL are dynamic libraries. If
you
want to link with them, you need to link with gmp-vc90-mt.lib (in release
mode) or gmp-vc90-mt-gd.lib (in debug mode). Use vc80 instead of vc90 if you
are using the old MSVS2005 instead of MSVS2008.

The reason behind those strange names is that CGAL libraries use the same
auto-linking feature as Boost libraries does.

But, really, if you want to get accurate help from the mailing list, you
should give far more information to us.

http://www.cgal.org/bug_report.html

--
Laurent Rineau, PhD
Release Manager of the CGAL Project
http://www.cgal.org/
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.16.

Top of Page