Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] linker error with boost in CGAL/basic.h on Win7-64 (using mingw)
Chronological Thread
- From: Alberto Luaces <>
- To:
- Subject: Re: [cgal-discuss] linker error with boost in CGAL/basic.h on Win7-64 (using mingw)
- Date: Mon, 05 Dec 2011 10:07:09 +0100
Sabre_X writes:
> I've been trying to use *CGAL/Qt/VoronoiGraphicsItem.h* in my Qt4 project,
> but every time I try to build I get the following errors:
> C:\CGAL-3.9\lib/libCGAL.a(all_files.cpp.obj):all_files.cpp:(.text+0x51b6):
> *undefined reference to
> `_imp___ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb'*
> C:\CGAL-3.9\lib/libCGAL.a(all_files.cpp.obj):all_files.cpp:(.text+0x5286):
> *undefined reference to
> `_imp___ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb'*
> C:\CGAL-3.9\lib/libCGAL.a(all_files.cpp.obj):all_files.cpp:(.text+0x5356):
> *undefined reference to
> `_imp___ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb'*
> '
> I've managed to trace the error through the headers to *CGAL/basic.h* but I
> haven't gotten any farther than that yet.
>
> I've tried recompiling everything in as many ways as I could think of and
> I'm running out of ideas...
That function is
$ c++filt
_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
boost::detail::set_tss_data(void const*,
boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)
which as far as I know, belongs to the Boost threads library. You might
have to link against it.
--
Alberto
- [cgal-discuss] linker error with boost in CGAL/basic.h on Win7-64 (using mingw), Sabre_X, 12/04/2011
- Re: [cgal-discuss] linker error with boost in CGAL/basic.h on Win7-64 (using mingw), Alberto Luaces, 12/05/2011
- Re: Re: [cgal-discuss] linker error with boost in CGAL/basic.h on Win7-64 (using mingw), Laurent Rineau (GeometryFactory), 12/05/2011
- Re: [cgal-discuss] linker error with boost in CGAL/basic.h on Win7-64 (using mingw), Alberto Luaces, 12/05/2011
Archive powered by MHonArc 2.6.16.