-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cpprestsdk]:x86-uwp/x64-uwp build failure in VS2019 #7540
Comments
use |
I'm getting this:
|
PR upstream to address C2338 microsoft/cpprestsdk#1248 |
Is there a fix for x86-uwp |
@mediabuff, you can temporarily work around by removing 'add_compile_options(/permissive-)' in line#193 on Release\CMakeLists.txt in cpprestsdk before this issue solved. |
Hey @mediabuff, you should be able to update vcpkg and use cpprestsdk now thanks to @BillyONeal and @JackBoosY 😄 |
Host Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg install cpprestsdk:x86-uwp
or
vcpkg install cpprestsdk:x64-uwp
Failure logs
c:\vcpkg>vcpkg.exe install cpprestsdk:x86-uwp
The following packages will be built and installed:
cpprestsdk[core,default-features,websockets]:x86-uwp
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: zlib:x86-uwp
Building package zlib[core]:x86-uwp...
-- Using cached C:/vcpkg/downloads/zlib1211.tar.gz
-- Using source at C:/vcpkg/buildtrees/zlib/src/1.2.11-f690224aeb
-- Configuring x86-uwp
-- Building x86-uwp-dbg
-- Building x86-uwp-rel
-- Installing: C:/vcpkg/packages/zlib_x86-uwp/share/zlib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package zlib[core]:x86-uwp... done
Installing package zlib[core]:x86-uwp...
Installing package zlib[core]:x86-uwp... done
Elapsed time for package zlib:x86-uwp: 43.71 s
Starting package 2/2: cpprestsdk:x86-uwp
Building package cpprestsdk[core,default-features,websockets]:x86-uwp...
-- Using cached C:/vcpkg/downloads/Microsoft-cpprestsdk-v2.10.14.tar.gz
-- Using source at C:/vcpkg/buildtrees/cpprestsdk/src/v2.10.14-101423beaf
-- Configuring x86-uwp
-- Building x86-uwp-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: C:/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-w
in32-x86/bin/cmake.exe --build . --config Debug --target install -- /p:VCPkgLoca
lAppDataDisabled=true /p:UseIntelMKL=No /m
Working Directory: C:/vcpkg/buildtrees/cpprestsdk/x86-uwp-dbg
See logs for more information:
C:\vcpkg\buildtrees\cpprestsdk\install-x86-uwp-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:96 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/cpprestsdk/portfile.cmake:43 (vcpkg_install_cmake)
scripts/ports.cmake:74 (include)
Error: Building package cpprestsdk:x86-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: cpprestsdk:x86-uwp
Vcpkg version: 2019.07.18-nohash
Log File: install-x86-uwp-dbg-out.log
c:\vcpkg>vcpkg.exe install cpprestsdk:x64-uwp
The following packages will be built and installed:
cpprestsdk[core,default-features,websockets]:x64-uwp
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: zlib:x64-uwp
Building package zlib[core]:x64-uwp...
-- Using cached C:/vcpkg/downloads/zlib1211.tar.gz
-- Using source at C:/vcpkg/buildtrees/zlib/src/1.2.11-f690224aeb
-- Configuring x64-uwp
-- Building x64-uwp-dbg
-- Building x64-uwp-rel
-- Installing: C:/vcpkg/packages/zlib_x64-uwp/share/zlib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package zlib[core]:x64-uwp... done
Installing package zlib[core]:x64-uwp...
Installing package zlib[core]:x64-uwp... done
Elapsed time for package zlib:x64-uwp: 53.26 s
Starting package 2/2: cpprestsdk:x64-uwp
Building package cpprestsdk[core,default-features,websockets]:x64-uwp...
-- Using cached C:/vcpkg/downloads/Microsoft-cpprestsdk-v2.10.14.tar.gz
-- Using source at C:/vcpkg/buildtrees/cpprestsdk/src/v2.10.14-101423beaf
-- Configuring x64-uwp
-- Building x64-uwp-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: C:/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-w
in32-x86/bin/cmake.exe --build . --config Debug --target install -- /p:VCPkgLoca
lAppDataDisabled=true /p:UseIntelMKL=No /m
Working Directory: C:/vcpkg/buildtrees/cpprestsdk/x64-uwp-dbg
See logs for more information:
C:\vcpkg\buildtrees\cpprestsdk\install-x64-uwp-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:96 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/cpprestsdk/portfile.cmake:43 (vcpkg_install_cmake)
scripts/ports.cmake:74 (include)
Error: Building package cpprestsdk:x64-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: cpprestsdk:x64-uwp
Vcpkg version: 2019.07.18-nohash
Log File: install-x64-uwp-dbg-out.log
The text was updated successfully, but these errors were encountered: