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: Karen Daniels <>
  • 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 12:46:40 -0400

That was the first linker error. I will see if I still have a problem after following the rest of your advice.

Thank you for your time.

- Karen

On 9/8/2012 12:12 PM, Laurent Rineau (CGAL/GeometryFactory) wrote:
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).



--
Karen Daniels, Ph.D.
Associate Professor
Department of Computer Science
University of Massachusetts Lowell

One University Avenue
Olsen Hall, Room 216
Lowell, MA 01854

Phone: 978-934-3631
Fax: 978-934-3551
Email:

URL: http://www.cs.uml.edu/~kdaniels







Archive powered by MHonArc 2.6.18.

Top of Page