0

From the CGAL documentation i can read: For Visual C++ versions prior to 2015 Boost.Thread is required, so make sure to either install the precompiled libraries for your compiler or build libboost-thread and libboost-system.

It turns out that Boost.Thread produces some problems when combined with Microsoft's CLR, therefore I would like to avoid using it for the moment.

Using boost threads when compiling with /clr

I am currently building CGAL in header only mode and using Visual Studio 2015, how can I disable the linking to boost.thread?

Community
  • 1
  • 1
  • What happens if you don't link to boost? It says that boost.thread is required for versions prior to 2015, which implicitly means that you don't have to link with it for 2015. – The Quantum Physicist Feb 28 '17 at 09:27
  • I am not sure as for the moment I have not been able to compile without Boost.Thread, however it is likely that C++ implemenation from VS2015 already includes standard C++ std::thread object, so the boost implementation can be replaced. http://stackoverflow.com/questions/7241993/is-it-smart-to-replace-boostthread-and-boostmutex-with-c11-equivalents – José Prieto Acevedo Mar 01 '17 at 05:59

0 Answers0