Subject: CGAL users discussion list
List archive
- From: <>
- To:
- Subject: [cgal-discuss] CGAL with Visual Studio 2008
- Date: Mon, 29 Mar 2010 19:56:01 +0200 (CEST)
Hi,
I am trying to compile a code that uses Qt and Cgal on Windows 7 with Visual
Studio 2008. I had many linking errors and I tried to solve most of them.
However, I have the following link errors which I could not solve for a long
time now:
1>wrapped_helpers.obj : error LNK2019: unresolved external symbol "void
__cdecl
CGAL::postcondition_fail(char const *,char const *,int,char const *)"
(?postcondition_fail@CGAL@@YAXPBD0H0@Z)
referenced in function "class
std::back_insert_iterator<class QVector<class CGAL::Point_2<struct
CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double> > > > > __cdecl
CGAL::ch_akl_toussaint<class CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > *,class std::back_insert_iterator<class
QVector<class CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > > >,struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > >(class CGAL::Point_2<struct
CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double> > > *,class
CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > *,class std::back_insert_iterator<class
QVector<class CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > > >,struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > const &)"
(??$ch_akl_toussaint@PAV?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@V?$back_insert_iterator@V?$QVector@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@@@@std@@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@2@@CGAL@@YA?AV?$back_insert_iterator@V?$QVector@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@@@@std@@PAV?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@0@0V12@ABU?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@0@@Z)
1>wrapped_helpers.obj : error LNK2019: unresolved external symbol "void
__cdecl
CGAL::assertion_fail(char const *,char const *,int,char const *)"
(?assertion_fail@CGAL@@YAXPBD0H0@Z)
referenced in function "bool __cdecl
CGAL::get_certain<bool>(class CGAL::Uncertain<bool>)"
(??$get_certain@_N@CGAL@@YA_NV?$Uncertain@_N@0@@Z)
1>wrapped_helpers.obj : error LNK2019: unresolved external symbol "void
__cdecl
CGAL::precondition_fail(char const *,char const *,int,char const *)"
(?precondition_fail@CGAL@@YAXPBD0H0@Z)
referenced in function "class
CGAL::Tee_for_output_iterator<class std::back_insert_iterator<class
QVector<class CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > > >,class CGAL::Point_2<struct
CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double> > > > __cdecl
CGAL::ch__ref_graham_andrew_scan<class std::_Vector_iterator<class
CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > >,class std::allocator<class
CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > > >,class
CGAL::Tee_for_output_iterator<class std::back_insert_iterator<class
QVector<class CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > > >,class CGAL::Point_2<struct
CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double> > > >,struct
CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double> > >(class
std::_Vector_iterator<class CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > >,class std::allocator<class
CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > > >,class std::_Vector_iterator<class
CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > >,class std::allocator<class
CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > > >,class
CGAL::Tee_for_output_iterator<class std::back_insert_iterator<class
QVector<class CGAL::Point_2<struct CGAL::Filtered_kernel<struct
CGAL::Simple_cartesian<double> > > > >,class CGAL::Point_2<struct
CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double> > > > &,struct
CGAL::Filtered_kernel<struct CGAL::Simple_cartesian<double> > const &)"
(??$ch__ref_graham_andrew_scan@V?$_Vector_iterator@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@V?$allocator@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@@std@@@std@@V?$Tee_for_output_iterator@V?$back_insert_iterator@V?$QVector@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@@@@std@@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@@CGAL@@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@4@@CGAL@@YA?AV?$Tee_for_output_iterator@V?$back_insert_iterator@V?$QVector@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@@@@std@@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@@0@V?$_Vector_iterator@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@V?$allocator@V?$Point_2@U?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@CGAL@@@CGAL@@@std@@@std@@0AAV10@ABU?$Filtered_kernel@U?$Simple_cartesian@N@CGAL@@@0@@Z)
1>bin\debug\symage.exe : fatal error LNK1120: 3 unresolved externals
Before I had also some link errors with gmp libraries but then I read that
even
though my operating system is 64 bits, I should install CGAL with 32 bits
option. I reinstalled CGAL with 32 bits and got rid of the link errors about
gmp.
The version of CGAL I am using is 3.5.1. I would be really glad if anyone can
help.
Thanks a lot,
Duygu
- [cgal-discuss] CGAL with Visual Studio 2008, duygu.ceylan, 03/29/2010
- RE: [cgal-discuss] CGAL with Visual Studio 2008, Youssef ALJ, 03/29/2010
- Re: [cgal-discuss] CGAL with Visual Studio 2008, Duygu Ceylan, 03/29/2010
- RE: [cgal-discuss] CGAL with Visual Studio 2008, Youssef ALJ, 03/29/2010
Archive powered by MHonArc 2.6.16.