curl-library
Re: libcurl for universal windows app
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:
https://msdn.microsoft.com/en-us/library/windows/desktop/mt657574(v=vs.85).aspx
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":
https://blogs.windows.com/buildingapps/2015/03/02/a-first-look-at-the-windows-10-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"?
-- --gv ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-02-24