Boost logo

Boost Users :

Subject: Re: [Boost-users] How to compile boost-thread for Universal Windows?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2016-12-30 05:48:18


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



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