cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl for universal windows app

From: Gisle Vanem <>
Date: Wed, 24 Feb 2016 14:00:03 +0100

Paul Joyce wrote:

> Has anyone got libcurl compiling suitably for use by a Windows 10 Universal Windows
> Application (UWA)? The platform is also referred to as Universal Windows Platform (UWP).
> If you do a standard Windows build of libcurl, you will get link errors such as
> libcurl_a.lib(connect.obj) : error LNK2001: unresolved external symbol
> __imp__VerSetConditionMask_at_16
> libcurl_a.lib(getenv.obj) : error LNK2019: unresolved external symbol
> __imp__ExpandEnvironmentStringsA_at_12 referenced in function _GetEnv

I've briefly experimented with this approx 1 year ago. It seems to be
a matter of linking to *only* OneCore.lib (not ws2_32.lib etc.). This
is an "Umbrella Library" for the UWP/UAP:

Even if libcurl.dll + curl.exe would link, I'm not sure this would work
though. Try for yourself. Good luck.

BTW, here's the gist of this "Universal App Platform":

  Note the devices in the figure above. So one day, maybe libcurl with the aid of
  this "One SDK" could take part in the world of "IoT" or "XBox"?

List admin:
Received on 2016-02-24