Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: compiling CGAL with cmake and Visual Studio

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: compiling CGAL with cmake and Visual Studio


Chronological Thread 
  • From: endrelidal <>
  • To:
  • Subject: [cgal-discuss] Re: compiling CGAL with cmake and Visual Studio
  • Date: Mon, 21 Jun 2010 00:02:38 -0700 (PDT)


Hi.
I just wanted to follow up on this problem.
I now try to compile CGAL-3.6 on Windows 7 64-bit, using Visual Studio 2008
(VS2008).

I encountered the same intmax_t problem as this thread describes with boost
1.42 so I downgraded to 1.41 cleaned all and rebuild.

However I'm now facing this linker error:

1>Linking...
1>skin_surface_simple.obj : error LNK2019: unresolved external symbol "void
* __cdecl boost::detail::get_tss_data(void const *)"
(?get_tss_data@detail@boost@@YAPEAXPEBX@Z)
referenced in function "public:
class CGAL::Lazy<class CGAL::Point_3<struct CGAL::Simple_cartesian<class
CGAL::Interval_nt<0> > >,class CGAL::Point_3<struct
CGAL::Simple_cartesian<class CGAL::Gmpq> >,class CGAL::Gmpq,class
CGAL::Cartesian_converter<struct CGAL::Simple_cartesian<class
CGAL::Gmpq>,struct CGAL::Simple_cartesian<class CGAL::Interval_nt<0>
>,struct CGAL::NT_converter<class CGAL::Gmpq,class CGAL::Interval_nt<0> > >
> * __cdecl boost::thread_specific_ptr<class CGAL::Lazy<class
CGAL::Point_3<struct CGAL::Simple_cartesian<class CGAL::Interval_nt<0> >
>,class CGAL::Point_3<struct CGAL::Simple_cartesian<class CGAL::Gmpq>
>,class CGAL::Gmpq,class CGAL::Cartesian_converter<struct
CGAL::Simple_cartesian<class CGAL::Gmpq>,struct CGAL::Simple_cartesian<class
CGAL::Interval_nt<0> >,struct CGAL::NT_converter<class CGAL::Gmpq,class
CGAL::Interval_nt<0> > > > >::get(void)const "
(?get@?$thread_specific_ptr@V?$Lazy@V?$Point_3@U?$Simple_cartesian@V?$Interval_nt@$0A@@CGAL@@@CGAL@@@CGAL@@V?$Point_3@U?$Simple_cartesian@VGmpq@CGAL@@@CGAL@@@2@VGmpq@2@V?$Cartesian_converter@U?$Simple_cartesian@VGmpq@CGAL@@@CGAL@@U?$Simple_cartesian@V?$Interval_nt@$0A@@CGAL@@@2@U?$NT_converter@VGmpq@CGAL@@V?$Interval_nt@$0A@@2@@2@@2@@CGAL@@@boost@@QEBAPEAV?$Lazy@V?$Point_3@U?$Simple_cartesian@V?$Interval_nt@$0A@@CGAL@@@CGAL@@@CGAL@@V?$Point_3@U?$Simple_cartesian@VGmpq@CGAL@@@CGAL@@@2@VGmpq@2@V?$Cartesian_converter@U?$Simple_cartesian@VGmpq@CGAL@@@CGAL@@U?$Simple_cartesian@V?$Interval_nt@$0A@@CGAL@@@2@U?$NT_converter@VGmpq@CGAL@@V?$Interval_nt@$0A@@2@@2@@2@@CGAL@@XZ)
1>skin_surface_simple.obj : error LNK2019: unresolved external symbol "void
__cdecl boost::detail::set_tss_data(void const *,class
boost::shared_ptr<struct boost::detail::tss_cleanup_function>,void *,bool)"
(?set_tss_data@detail@boost@@YAXPEBXV?$shared_ptr@Utss_cleanup_function@detail@boost@@@2@PEAX_N@Z)
referenced in function "public: void __cdecl
boost::thread_specific_ptr<class CGAL::Lazy<class CGAL::Point_3<struct
CGAL::Simple_cartesian<class CGAL::Interval_nt<0> > >,class
CGAL::Point_3<struct CGAL::Simple_cartesian<class CGAL::Gmpq> >,class
CGAL::Gmpq,class CGAL::Cartesian_converter<struct
CGAL::Simple_cartesian<class CGAL::Gmpq>,struct CGAL::Simple_cartesian<class
CGAL::Interval_nt<0> >,struct CGAL::NT_converter<class CGAL::Gmpq,class
CGAL::Interval_nt<0> > > > >::reset(class CGAL::Lazy<class
CGAL::Point_3<struct CGAL::Simple_cartesian<class CGAL::Interval_nt<0> >
>,class CGAL::Point_3<struct CGAL::Simple_cartesian<class CGAL::Gmpq>
>,class CGAL::Gmpq,class CGAL::Cartesian_converter<struct
CGAL::Simple_cartesian<class CGAL::Gmpq>,struct CGAL::Simple_cartesian<class
CGAL::Interval_nt<0> >,struct CGAL::NT_converter<class CGAL::Gmpq,class
CGAL::Interval_nt<0> > > > *)"
(?reset@?$thread_specific_ptr@V?$Lazy@V?$Point_3@U?$Simple_cartesian@V?$Interval_nt@$0A@@CGAL@@@CGAL@@@CGAL@@V?$Point_3@U?$Simple_cartesian@VGmpq@CGAL@@@CGAL@@@2@VGmpq@2@V?$Cartesian_converter@U?$Simple_cartesian@VGmpq@CGAL@@@CGAL@@U?$Simple_cartesian@V?$Interval_nt@$0A@@CGAL@@@2@U?$NT_converter@VGmpq@CGAL@@V?$Interval_nt@$0A@@2@@2@@2@@CGAL@@@boost@@QEAAXPEAV?$Lazy@V?$Point_3@U?$Simple_cartesian@V?$Interval_nt@$0A@@CGAL@@@CGAL@@@CGAL@@V?$Point_3@U?$Simple_cartesian@VGmpq@CGAL@@@CGAL@@@2@VGmpq@2@V?$Cartesian_converter@U?$Simple_cartesian@VGmpq@CGAL@@@CGAL@@U?$Simple_cartesian@V?$Interval_nt@$0A@@CGAL@@@2@U?$NT_converter@VGmpq@CGAL@@V?$Interval_nt@$0A@@2@@2@@2@@CGAL@@@Z)
1>CGAL-vc90-mt-gd.lib(all_files.obj) : error LNK2001: unresolved external
symbol "void __cdecl boost::detail::set_tss_data(void const *,class
boost::shared_ptr<struct boost::detail::tss_cleanup_function>,void *,bool)"
(?set_tss_data@detail@boost@@YAXPEBXV?$shared_ptr@Utss_cleanup_function@detail@boost@@@2@PEAX_N@Z)
1>C:\Program Files
(x86)\CGAL-3.6\examples\Skin_surface_3\Debug\skin_surface_simple.exe : fatal
error LNK1120: 2 unresolved externals

----------

Anyone having a clue of how to solve this?

Sincerely,
Endre M. Lidal

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/compiling-CGAL-with-cmake-and-Visual-Studio-tp1559113p2262204.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] Re: compiling CGAL with cmake and Visual Studio, endrelidal, 06/21/2010

Archive powered by MHonArc 2.6.16.

Top of Page