Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Linking to "non-standard" boost libraries

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Linking to "non-standard" boost libraries


Chronological Thread 
  • From: Philipp Moeller <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Linking to "non-standard" boost libraries
  • Date: Sun, 16 Sep 2012 17:59:25 +0200
  • Organization: GeometryFactory

smurf
<>
writes:

> Hi,
>
>
> I am using CGAL 4.0.2 with boost 1.51 and I get the following linker
> error.
>
> error LNK2019: unresolved external symbol "public: static class
> boost::chrono::time_point<class boost::chrono::system_clock,class
> boost::chrono::duration<__int64,class boost::ratio<1,10000000> > > __cdecl
> boost::chrono::system_clock::now(void)"
>
> This turned up when I changed a Cartesian double kernel with an Exact
> one. Let me know if you need any extra information. Looking forward to your
> reply.

As of Boost 1.50 Boost.Thread depends on Boost.Chrono and you will need
to link against it. Alternatively you can define
BOOST_THREAD_DONT_USE_CHRONO before Thread is included [1].

In which way is Chrono non-standard?

Footnotes:
[1]
http://www.boost.org/doc/libs/1_50_0/doc/html/thread/build.html#thread.build.configuration



Archive powered by MHonArc 2.6.18.

Top of Page