Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?

Subject: CGAL users discussion list

List archive

Re: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?


Chronological Thread 
  • From: <>
  • To:
  • Subject: Re: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?
  • Date: Sun, 27 Sep 2009 05:28:48 +0200 (CEST)

I was searching for a solution to my problem until I hit upon this thread. I
have the same exact problem as Tom here. With the exact same errors of

1>Triangulator_2D.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)
1>ContourNode.obj : error LNK2001: unresolved external symbol
__imp____gmpq_clear
1>Triangulator_2D.obj : error LNK2019: unresolved external symbol
__imp____gmpq_set_d referenced in function "public: __thiscall
CGAL::Gmpq::Gmpq(double)"
(??0Gmpq@CGAL@@QAE@N@Z)
1>ContourNode.obj : error LNK2001: unresolved external symbol
__imp____gmpq_set_d
1>Triangulator_2D.obj : error LNK2019: unresolved external symbol
__imp____gmpq_init referenced in function "public: __thiscall
CGAL::Gmpq_rep::Gmpq_rep(void)"
(??0Gmpq_rep@CGAL@@QAE@XZ)
1>ContourNode.obj : error LNK2001: unresolved external symbol
__imp____gmpq_init
1>Triangulator_2D.obj : error LNK2019: unresolved external symbol
__imp____gmpq_sub referenced in function "public: class CGAL::Gmpq &
__thiscall
CGAL::Gmpq::operator-=(class CGAL::Gmpq const &)"
(??ZGmpq@CGAL@@QAEAAV01@ABV01@@Z)
1>ContourNode.obj : error LNK2001: unresolved external symbol
__imp____gmpq_sub
1>Triangulator_2D.obj : error LNK2019: unresolved external symbol
__imp____gmpq_cmp referenced in function "bool __cdecl CGAL::operator<(class
CGAL::Gmpq const &,class CGAL::Gmpq const &)"
(??MCGAL@@YA_NABVGmpq@0@0@Z)
1>ContourNode.obj : error LNK2001: unresolved external symbol
__imp____gmpq_cmp
1>Triangulator_2D.obj : error LNK2019: unresolved external symbol
__imp____gmpq_mul referenced in function "public: class CGAL::Gmpq &
__thiscall
CGAL::Gmpq::operator*=(class CGAL::Gmpq const &)"
(??XGmpq@CGAL@@QAEAAV01@ABV01@@Z)
1>ContourNode.obj : error LNK2001: unresolved external symbol
__imp____gmpq_mul
1>Triangulator_2D.obj : error LNK2019: unresolved external symbol
__imp____gmpq_add referenced in function "public: class CGAL::Gmpq &
__thiscall
CGAL::Gmpq::operator+=(class CGAL::Gmpq const &)"
(??YGmpq@CGAL@@QAEAAV01@ABV01@@Z)
1>ContourNode.obj : error LNK2001: unresolved external symbol
__imp____gmpq_add
1>ContourNode.obj : error LNK2019: unresolved external symbol
__imp____gmpq_set_si referenced in function "public: __thiscall
CGAL::Gmpq::Gmpq(int)"
(??0Gmpq@CGAL@@QAE@H@Z)

Similarly with Tom, I am using a 64bit windows 7 at the moment.
I have a project which I have been using on my laptop (32bit windows),
recently
i installed a new 64bit machine on my desktop. I compiled cgal with cmake,
following all the installation procedures...
But this linker error is tough for me to resolve because it does not appear on
my laptop...

Is there any setting I can do to try and debug this linker error?
Or if Tom has already found a solution, I'll be very grateful to know of it.

Thanks everyone.
Calvin


  • Re: Re: [cgal-discuss] Linker errors in CGAL 3.4 examples?, calvin_cw, 09/27/2009

Archive powered by MHonArc 2.6.16.

Top of Page