Boost logo

Boost Users :

Subject: Re: [Boost-users] How to compile boost-thread for Universal Windows?
From: degski (degski_at_[hidden])
Date: 2016-12-20 09:15:00


On 20 December 2016 at 14:00, Petr Hudeček <petrhudecek2010_at_[hidden]>
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



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