libzmq: Compiling for windows universal app failed: Error C3861 'CoCreateInstanceFromApp': identifier not found

I have compiled the newest zmq 4.2.1 with cmake:

cmake -H. -Bbuild -G"Visual Studio 14 2015 Win64" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0

And then open the ‘ZeroMQ.sln’ in ‘build’ folder, build it with debug/x64/libzmq(Universal Windows), it complains:

Severity Code Description Project File Line Suppression State Error C3861 'CoCreateInstanceFromApp': identifier not found libzmq C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\combaseapi.h 1189

Anyone faced this issue?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (12 by maintainers)

Most upvoted comments

I get a new error, when working with the libzmq master branch: missing type specifier in netioapi.h line 168 and 169. I am using Visual Studio 2017

EDIT: Note this error only occurs with 10.0.15036.0 not with 10.0.14393.0

Martin