Discussion:
[Boost-users] How to compile boost-thread for Universal Windows?
Vicente J. Botet Escriba
2016-12-30 10:48:18 UTC
Permalink
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
1>C:\Program Files (x86)\Windows
'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
Petr Hudeček
2016-12-31 12:09:27 UTC
Permalink
Thank you.
I found working compiled libraries elsewhere so I no longer need it to
compile. If I encounter this problem again, I'll try to figure out how to
show the inclusion stack.

Best regards,
Petr

2016-12-30 11:48 GMT+01:00 Vicente J. Botet Escriba <
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
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 mailing list
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Continue reading on narkive:
Loading...