Le 20/12/2016 à 13:00, Petr Hudeček a écrit :
Thank you! I did as you suggested (adding boost sources to my project), and it worked!

However, when I tried to do the same with boost-chrono, this error showed up:

1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\combaseapi.h(1189): error C3861: 'CoCreateInstanceFromApp': identifier not found (compiling source file ..\..\BoostSelf\libs\chrono\src\chrono.cpp)

I don't know how chrono.cpp incudes the file you are showing combaseapi.h, but this is not a Boost file. Could you show the inclusion stack.
Apparently, it is not necessary for boost-thread to build, but I would certainly like to have access to the chrono classes. The wpbest UWP boost repository (https://github.com/wpbest/Boost) claims that it can be built; are there any other options that I need to set to build boost-chrono?



Best,
Vicente