Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problem with gmp linking with 64-bit Windows 7 & Visual Studio 2010 and CGAL 4.0.2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problem with gmp linking with 64-bit Windows 7 & Visual Studio 2010 and CGAL 4.0.2


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Problem with gmp linking with 64-bit Windows 7 & Visual Studio 2010 and CGAL 4.0.2
  • Date: Sat, 08 Sep 2012 18:12:32 +0200
  • Organization: GeometryFactory

Le mardi 04 septembre 2012 16:46:52 Karen Daniels a écrit :
> I'm looking for help with CGAL 4.0.2 and GMP using 64-bit Windows 7 and
> Visual Studio 2010 . I downloaded the precompiled GMP files as
> instructed and I built the 64-bit Debug version of CGAL 4.0.2 using
> cmake-gui.
>
> I added the CGAL and GMP lib directories locations to my Visual Studio
> project's (Debug mode) property page under VC++ Directories -> Library
> Directories. I also explicitly added libgmp-10.lib and libmpfr-4.lib as
> additional dependencies under Linker -> Input.
>
> In spite of that, I have unresolved symbols for example program:
>
> 1>Example.obj : error LNK2019: unresolved external symbol
> __imp____gmpq_clear referenced in function "public: __thiscall
> CGAL::Gmpq_rep::~Gmpq_rep(void)" (??1Gmpq_rep@CGAL@@QAE@XZ)

Is that the first error? Do you have linker warnings before? Maybe the
precompiled versions of GMP you have downloaded in not for the same
architecture (32/64 bits).

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




Archive powered by MHonArc 2.6.18.

Top of Page