Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Error while compiling Mesh.sln

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Error while compiling Mesh.sln


Chronological Thread 
  • From: Subhasree M <>
  • To:
  • Subject: Re: [cgal-discuss] Error while compiling Mesh.sln
  • Date: Thu, 3 Nov 2011 15:10:15 +0530

Hi,

While I recompiled with Release as CMAKE_BUILD_TYPE, the error mentioned in my previous mail (error LNK2001: unresolved external symbol __imp____gmpz_clear)  was gone . But in the subsequent compilation attempts there were errors regarding  non-availability of CGAL_Core-vc90-mt-s.lib, CGAL-vc90-mt-s.lib,libboost_thread-vc90-mt-s-1_47.lib,mpfr-vc90-mt-s.lib, gmp-vc90-mt-s.lib. After placing those libraries, i got the following errors:


1>GaussMap.obj : error LNK2019: unresolved external symbol __imp____gmpz_clear referenced in function "public: __thiscall CORE::BigIntRep::~BigIntRep(void)" (??1BigIntRep@CORE@@QAE@XZ)
1>Mesh.obj : error LNK2001: unresolved external symbol __imp____gmpz_clear
1>MeshDoc.obj : error LNK2001: unresolved external symbol __imp____gmpz_clear
1>MeshView.obj : error LNK2001: unresolved external symbol __imp____gmpz_clear
1>MeshDoc.obj : error LNK2019: unresolved external symbol "public: void __thiscall CGAL::File_scanner_OFF::skip_to_next_facet(unsigned int)" (?skip_to_next_facet@File_scanner_OFF@CGAL@@QAEXI@Z) referenced in function "public: virtual void __thiscall CGAL::Polyhedron_scan_OFF<class CGAL::HalfedgeDS_default<struct CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double>,1>,class CGAL::I_Polyhedron_derived_items_3<struct Enriched_items>,class std::allocator<int> > >::operator()(class CGAL::HalfedgeDS_default<struct CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double>,1>,class CGAL::I_Polyhedron_derived_items_3<struct Enriched_items>,class std::allocator<int> > &)" (??R?$Polyhedron_scan_OFF@V?$HalfedgeDS_default@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@$00@CGAL@@V?$I_Polyhedron_derived_items_3@UEnriched_items@@@2@V?$allocator@H@std@@@CGAL@@@CGAL@@UAEXAAV?$HalfedgeDS_default@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@$00@CGAL@@V?$I_Polyhedron_derived_items_3@UEnriched_items@@@2@V?$allocator@H@std@@@1@@Z)
1>MeshDoc.obj : error LNK2019: unresolved external symbol "public: void __thiscall CGAL::File_scanner_OFF::skip_to_next_vertex(unsigned int)" (?skip_to_next_vertex@File_scanner_OFF@CGAL@@QAEXI@Z) referenced in function "public: virtual void __thiscall CGAL::Polyhedron_scan_OFF<class CGAL::HalfedgeDS_default<struct CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double>,1>,class CGAL::I_Polyhedron_derived_items_3<struct Enriched_items>,class std::allocator<int> > >::operator()(class CGAL::HalfedgeDS_default<struct CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double>,1>,class CGAL::I_Polyhedron_derived_items_3<struct Enriched_items>,class std::allocator<int> > &)" (??R?$Polyhedron_scan_OFF@V?$HalfedgeDS_default@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@$00@CGAL@@V?$I_Polyhedron_derived_items_3@UEnriched_items@@@2@V?$allocator@H@std@@@CGAL@@@CGAL@@UAEXAAV?$HalfedgeDS_default@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@$00@CGAL@@V?$I_Polyhedron_derived_items_3@UEnriched_items@@@2@V?$allocator@H@std@@@1@@Z)
1>MeshView.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>MeshView.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>MeshView.obj : error LNK2019: unresolved external symbol __imp____gmpq_equal referenced in function "public: bool __thiscall CGAL::Gmpq::operator==(class CGAL::Gmpq const &)const " (??8Gmpq@CGAL@@QBE_NABV01@@Z)
1>MeshView.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>MeshView.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>MeshView.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>Release\Mesh.exe : fatal error LNK1120: 9 unresolved externals


I have libgmp-10.dll, libmpfr-4.dll, gmp-vc90-mt-s.lib, libgmp-10.lib, libmpfr-4.lib, and mpfr-vc90-mt-s.lib files, in the auxiliary\gmp\lib folder.

Please provide me your valuable suggestions.

thanks in advance

Subhasree.
 

On Fri, Oct 14, 2011 at 6:17 PM, Andreas Fabri <> wrote:


GMP is missing

andreas


On 14/10/2011 14:15, Subhasree M wrote:
Hello,

While compiling Mesh. sln, i got an error:

error LNK2001: unresolved external symbol __imp____gmpz_clear

I am using Windows 7 and the following :
1) Visual Studio(9) 2008
2)Boost 1.47.0
3) CMake 2.8.5
4) CGAL 3.9( with precompiled LAPACK/BLAS/TAUCS libraries.)
5) QT 4.7.4

Any idea on the above error?

thanks
Subhasree.





--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




  • Re: [cgal-discuss] Error while compiling Mesh.sln, Subhasree M, 11/03/2011

Archive powered by MHonArc 2.6.16.

Top of Page