Closed levlam closed 5 years ago
It looks like the problem is in the lines C:\src\vcpkg\buildtrees\openssl\src\openssl-OpenSSL_1_0_2l_WinRT>for / %f in ("C:\Program Files (x86)\Windows Kits\10\References\10.0.14393.0\Windows.Foundation.FoundationContract*") do set LibPath=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\store;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References;C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;;%f\
C:\src\vcpkg\buildtrees\openssl\src\openssl-OpenSSL_1_0_2l_WinRT>for / %f in ("C:\Program Files (x86)\Windows Kits\10\References\10.0.14393.0\Windows.Foundation.UniversalApiContract*") do set LibPath=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\store;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References;C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;;%f\
My Windows 10 SDK is installed not in the subfolder 10.0.14393.0 of "C:\Program Files (x86)\Windows Kits\10\References\", but in that directory itself, so the correct path should be "C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.FoundationContract*" instead of "C:\Program Files (x86)\Windows Kits\10\References\10.0.14393.0\Windows.Foundation.FoundationContract*"
Thanks for posting this issue and digging further into it!
I've pushed a branch[1] that should fix it. Could you try it out and let me know?
[1] https://github.com/Microsoft/vcpkg/tree/dev/roschuma/openssl-winsdk-2828
I've just made vcpkg upgrade --no-dry-run
with this branch checked out and successfully rebuilt OpenSSL UWP libraries (I've built them before by manually patching make-openssl.bat with similar changes). So I can confirm that the patch fixes the issue.
Hi levlam, thanks a lot for your feedback about the test result.
@NancyLi1013 Will you merge the patch to the upstream to have the issue fixed for other users of Windows 10 SDK 10.0.14393?
@ras0219-msft , could you please help merge the patch to the master with Windows SDK 10.0.14393? Thanks.
Hi.
I have a problem with building OpenSSL package for UWP. Installation of openssl:x86-uwp package and other OpenSSL UWP packages fails with the error
Here is the full output of
vcpkg install
run:And here is full build logs: make-openssl-x86-uwp-err.log make-openssl-x86-uwp-out.log
Additional info:
C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.FoundationContract
there are two subfolders 1.0.0.0 and 2.0.0.0, both containing Windows.Foundation.FoundationContract.winmd, but it can't be found anyway.