Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL4.0.2::Link error:symbol __imp____gmpz

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL4.0.2::Link error:symbol __imp____gmpz


Chronological Thread 
  • From: MHAMAD <>
  • To:
  • Subject: [cgal-discuss] CGAL4.0.2::Link error:symbol __imp____gmpz
  • Date: Wed, 13 Feb 2013 06:22:02 -0800 (PST)

Dear all, Can you please check the following errors am getting to compile the CGAL librarie... I have installed CGAl 4.0.2 in windows7 64bites, using Cmake and build by vs2010. Could anyone help me? Thanks, >all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_init référencé dans la fonction "public: __thiscall CORE::BigIntRep::BigIntRep(void)" (??0BigIntRep@CORE@@QAE@XZ) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_init_set_si référencé dans la fonction "public: __thiscall CORE::BigIntRep::BigIntRep(signed char)" (??0BigIntRep@CORE@@QAE@C@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_init_set_ui référencé dans la fonction "public: __thiscall CORE::BigIntRep::BigIntRep(unsigned char)" (??0BigIntRep@CORE@@QAE@E@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_init_set_d référencé dans la fonction "public: __thiscall CORE::BigIntRep::BigIntRep(float)" (??0BigIntRep@CORE@@QAE@M@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_init_set_str référencé dans la fonction "public: __thiscall CORE::BigIntRep::BigIntRep(char const *,int)" (??0BigIntRep@CORE@@QAE@PBDH@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_init_set référencé dans la fonction "public: __thiscall CORE::BigIntRep::BigIntRep(struct __mpz_struct const *)" (??0BigIntRep@CORE@@QAE@PBU__mpz_struct@@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_add référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator+=(class CORE::BigInt const &)" (??YBigInt@CORE@@QAEAAV01@ABV01@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_sub référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator-=(class CORE::BigInt const &)" (??ZBigInt@CORE@@QAEAAV01@ABV01@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_mul référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator*=(class CORE::BigInt const &)" (??XBigInt@CORE@@QAEAAV01@ABV01@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_tdiv_q référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator/=(class CORE::BigInt const &)" (??_0BigInt@CORE@@QAEAAV01@ABV01@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_tdiv_r référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator%=(class CORE::BigInt const &)" (??_1BigInt@CORE@@QAEAAV01@ABV01@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_and référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator&=(class CORE::BigInt const &)" (??_4BigInt@CORE@@QAEAAV01@ABV01@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_ior référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator|=(class CORE::BigInt const &)" (??_5BigInt@CORE@@QAEAAV01@ABV01@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_xor référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator^=(class CORE::BigInt const &)" (??_6BigInt@CORE@@QAEAAV01@ABV01@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_mul_2exp référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator<<=(unsigned long)" (??_3BigInt@CORE@@QAEAAV01@K@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_tdiv_q_2exp référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator>>=(unsigned long)" (??_2BigInt@CORE@@QAEAAV01@K@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_set référencé dans la fonction ___gmpz_neg 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_add_ui référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator++(void)" (??EBigInt@CORE@@QAEAAV01@XZ) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_sub_ui référencé dans la fonction "public: class CORE::BigInt & __thiscall CORE::BigInt::operator--(void)" (??FBigInt@CORE@@QAEAAV01@XZ) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_set_str référencé dans la fonction "public: int __thiscall CORE::BigInt::set_str(char const *,int)" (?set_str@BigInt@CORE@@QAEHPBDH@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_get_str référencé dans la fonction "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator > __thiscall CORE::BigInt::get_str(int)const " (?get_str@BigInt@CORE@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_sizeinbase référencé dans la fonction "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator > __thiscall CORE::BigInt::get_str(int)const " (?get_str@BigInt@CORE@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_get_si référencé dans la fonction "public: int __thiscall CORE::BigInt::intValue(void)const " (?intValue@BigInt@CORE@@QBEHXZ) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_get_d référencé dans la fonction "public: double __thiscall CORE::BigInt::doubleValue(void)const " (?doubleValue@BigInt@CORE@@QBENXZ) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_canonicalize référencé dans la fonction "public: __thiscall CORE::BigRatRep::BigRatRep(struct __mpz_struct const *,struct __mpz_struct const *)" (??0BigRatRep@CORE@@QAE@PBU__mpz_struct@@0@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_init référencé dans la fonction "public: __thiscall CORE::BigRatRep::BigRatRep(struct __mpz_struct const *,struct __mpz_struct const *)" (??0BigRatRep@CORE@@QAE@PBU__mpz_struct@@0@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_scan1 référencé dans la fonction "unsigned long __cdecl CORE::getBinExpo(class CORE::BigInt const &)" (?getBinExpo@CORE@@YAKABVBigInt@1@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_cmp référencé dans la fonction "int __cdecl CORE::cmp(class CORE::BigInt const &,class CORE::BigInt const &)" (?cmp@CORE@@YAHABVBigInt@1@0@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_tdiv_qr référencé dans la fonction "void __cdecl CORE::div_rem(class CORE::BigInt &,class CORE::BigInt &,class CORE::BigInt const &,class CORE::BigInt const &)" (?div_rem@CORE@@YAXAAVBigInt@1@0ABV21@1@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmp_randinit référencé dans la fonction "struct __gmp_randstate_struct (* __cdecl CORE::getRandstate(void))[1]" (?getRandstate@CORE@@YAPAY00U__gmp_randstate_struct@@XZ) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_clear référencé dans la fonction "void __cdecl CORE::getKaryExpo(class CORE::BigInt const &,class CORE::BigInt &,int &,unsigned long)" (?getKaryExpo@CORE@@YAXABVBigInt@1@AAV21@AAHK@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_remove référencé dans la fonction "void __cdecl CORE::getKaryExpo(class CORE::BigInt const &,class CORE::BigInt &,int &,unsigned long)" (?getKaryExpo@CORE@@YAXABVBigInt@1@AAV21@AAHK@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_set_si référencé dans la fonction "public: __thiscall CORE::BigRatRep::BigRatRep(int)" (??0BigRatRep@CORE@@QAE@H@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_cmp référencé dans la fonction "int __cdecl CORE::cmp(class CORE::BigRat const &,class CORE::BigRat const &)" (?cmp@CORE@@YAHABVBigRat@1@0@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_get_str référencé dans la fonction "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl CORE::io_write(class std::basic_ostream<char,struct std::char_traits<char> > &,struct __mpq_struct const *)" (?io_write@CORE@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV23@PBU__mpq_struct@@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_set_d référencé dans la fonction "public: __thiscall CORE::BigRatRep::BigRatRep(double)" (??0BigRatRep@CORE@@QAE@N@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_set référencé dans la fonction ___gmpq_neg 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_mul référencé dans la fonction "class CORE::BigRat __cdecl CORE::operator*(class CORE::BigRat const &,class CORE::BigRat const &)" (??DCORE@@YA?AVBigRat@0@ABV10@0@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_div référencé dans la fonction "class CORE::BigRat __cdecl CORE::operator/(class CORE::BigRat const &,class CORE::BigRat const &)" (??KCORE@@YA?AVBigRat@0@ABV10@0@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpz_set_ui référencé dans la fonction "class std::basic_istream<char,struct std::char_traits<char> > & __cdecl CORE::io_read(class std::basic_istream<char,struct std::char_traits<char> > &,struct __mpz_struct *)" (?io_read@CORE@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@std@@AAV23@PAU__mpz_struct@@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_set_str référencé dans la fonction "class std::basic_istream<char,struct std::char_traits<char> > & __cdecl CORE::io_read(class std::basic_istream<char,struct std::char_traits<char> > &,struct __mpq_struct *)" (?io_read@CORE@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@std@@AAV23@PAU__mpq_struct@@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_set_z référencé dans la fonction "public: __thiscall CORE::BigRatRep::BigRatRep(struct __mpz_struct const *)" (??0BigRatRep@CORE@@QAE@PBU__mpz_struct@@@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_get_d référencé dans la fonction "public: double __thiscall CORE::BigRat::doubleValue(void)const " (?doubleValue@BigRat@CORE@@QBENXZ) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_clear référencé dans la fonction "public: __thiscall CORE::BigRatRep::~BigRatRep(void)" (??1BigRatRep@CORE@@QAE@XZ) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_add référencé dans la fonction "class CORE::BigRat __cdecl CORE::operator+(class CORE::BigRat const &,class CORE::BigRat const &)" (??HCORE@@YA?AVBigRat@0@ABV10@0@Z) 3>all_files.obj : error LNK2019: symbole externe non résolu __imp____gmpq_sub référencé dans la fonction "class CORE::BigRat __cdecl CORE::operator-(class CORE::BigRat const &,class CORE::BigRat const &)" (??GCORE@@YA?AVBigRat@0@ABV10@0@Z) 3>C:\CGAL\build\bin\Debug\CGAL_Core-vc100-mt-gd-4.0.2.dll : fatal error LNK1120: 46 externes non résolus

View this message in context: CGAL4.0.2::Link error:symbol __imp____gmpz
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page