Boost logo

Boost Users :

Subject: [Boost-users] How to compile boost-thread for Universal Windows?
From: Petr Hudeček (petrhudecek2010_at_[hidden])
Date: 2016-12-18 12:28:16


Hello,
I'm trying to use the boost-thread library in a Windows Runtime (UWP)
project. The tutorial at
https://blogs.msdn.microsoft.com/vcblog/2014/07/18/using-boost-libraries-in-windows-store-and-phone-applications/
doesn't seem to work anymore.

If I compile boost sources, either from the primary distribution, or from
https://github.com/wpbest/Boost, I can compile it as a static library but
when I link to it from the project, I receive linker errors that four
identifiers could not be found. These identifiers are API functions such as
CreateWaitableTimer.

Is there a way to use boost-thread from a UWP project despite this? Perhaps
setting some preprocessor symbols?

Thank you,
Petr Hudecek



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net