On 20 December 2016 at 14:00, Petr Hudeček <petrhudecek2010@gmail.com> wrote:
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)

Apparently, it is not necessary for boost-thread to build, but I would certainly like to have access to the chrono classes.


Just use std::chrono...

degski