-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[SDL1:x86-windows] build failure #7535
Comments
there appears to be an issue with an escape character in the download D:/Code/Repos/vcpkg/buildtrees/sdl1/x86-windows-rel/ase-1.2.15-2ca6426de6 I am able to reproduce this issue |
Ah, that's good to know (and relieving), thank you very much. Hopefully it will be possible to fix it "soon". |
Hi @Christsnatcher, thanks for reporting this issue! Thanks. |
Hello @JackBoosY, the failure log is included in the .zipfile attached to my initial post, in particular in "sdl1_buildtrees\sdl1". I just tried to compile the source (ase-1.2.15-2ca6426de6) manually using Visual Studio 2017 / 2019 with the Windows SDSs 8.1 / 10 and the Toolsets v141 / v142 (see attachment), and you're right, all v141 builds are succfessful no matter which SDK is being used, while all v142 builds fail. So it seems that vcpkg resp. cmake retargets the solution to use the v142 toolset which makes it fail eventually (at least that's my conclusion). |
Confirmed. It's a windows SDK bug. I have two workarounds: We have to wait for the windows SDK teams to fix this issue. |
Hello, So my question would be (sorry), how to actually switch the compiler used by vcpkg to Visual Studio 2017 by default without having to uninstall VS 2019? Thanks again! EDIT: Also, as shown in my previous post compiling using SDK 10.0.18362.0. in VS 2019 was successful, as long as the Toolset used was v141, so are you sure it's an SDK issue? |
@Christsnatcher Add And yes, I confirm this is a SDK bug. |
I have a tiny solution:
And, INSTALLED_WIN_SDK_VER must be lower than 10.0.18362.0. |
Thank you very much, your "tiny solution" did work pretty fine - without having to manually edit / set the "INSTALLED_WIN_SDK_VER" value, Anyways, many thanks again! |
Works for me after given a target platform version. |
PR #8327 should address this issue, this appears to be an existing issue with sdl1 that was exposed with the sdk update. |
Since #8327 has been merged, this issue should be fixed. Thanks. |
Host Environment
To Reproduce
vcpkg install sdl1:x86-windows
Failure logs
D:\Code\Repos\vcpkg>vcpkg install sdl1:x86-windows
The following packages will be built and installed:
sdl1[core]:x86-windows
Starting package 1/1: sdl1:x86-windows
Building package sdl1[core]:x86-windows...
-- Downloading https://github.com/SDL-Mirror/SDL/archive/release-1.2.15.tar.gz...
-- Extracting source D:/Code/Repos/vcpkg/downloads/SDL-Mirror-SDL-release-1.2.15.tar.gz
-- Applying patch export-symbols-only-in-shared-build.patch
-- Using source at D:/Code/Repos/vcpkg/buildtrees/sdl1/src/ase-1.2.15-2ca6426de6
-- Installing: D:/Code/Repos/vcpkg/buildtrees/sdl1/src/ase-1.2.15-2ca6426de6/VisualC/SDL/SDL.vcxproj
-- Installing: D:/Code/Repos/vcpkg/buildtrees/sdl1/src/ase-1.2.15-2ca6426de6/VisualC/SDLmain/SDLmain.vcxproj
-- Building VisualC/SDL1_2017.sln for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:58 (message):
Command failed: msbuild D:/Code/Repos/vcpkg/buildtrees/sdl1/x86-windows-rel/ase-1.2.15-2ca6426de6/VisualC/SDL1_2017.sln /p:Configuration=Release /t:Rebuild /p:Platform=Win32 /p:PlatformToolset=v142 /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /p:WindowsTargetPlatformVersion=10.0.18362.0 /m
Working Directory: D:/Code/Repos/vcpkg/buildtrees/sdl1/x86-windows-rel/ase-1.2.15-2ca6426de6
Error code: 1
See logs for more information:
D:\Code\Repos\vcpkg\buildtrees\sdl1\build-x86-windows-rel-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_install_msbuild.cmake:157 (vcpkg_execute_required_process)
ports/sdl1/portfile.cmake:27 (vcpkg_install_msbuild)
scripts/ports.cmake:74 (include)
Error: Building package sdl1:x86-windows 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: sdl1:x86-windows
Vcpkg version: 2019.07.18-nohash
Additional context
Building sdl1 x64 did work flawlessly, but since the latest update I'm unable to build x86 as you can see. I already tried to change my environmental variables on my x64 system to point to the resp. 32-bit files / folders, but no success. Many thanks in advance for your help!
SDL1_x86.zip
The text was updated successfully, but these errors were encountered: