Skip to content
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

Build error on x86-windows-static-md #37397

Open
julianoBRL opened this issue Mar 12, 2024 · 2 comments
Open

Build error on x86-windows-static-md #37397

julianoBRL opened this issue Mar 12, 2024 · 2 comments
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@julianoBRL
Copy link

julianoBRL commented Mar 12, 2024

I'm following this tutorial: https://github.com/RetroPie/EmulationStation

My computer:
32 RAM
Intel(R) Core(TM) i3-9100F CPU @ 3.60GHz 3.60 GHz
RTX 4060 + GTX 1050 TI

Command i'm trying to use:
.\vcpkg\vcpkg install curl:x86-windows-static-md

Similar errors happends with:

.\vcpkg\vcpkg install freeimage:x86-windows-static-md
.\vcpkg\vcpkg install sdl2:x86-windows-static-md

freetype and rapidjson download fine.

Logs:
config-x86-windows-out.log
config-x86-windows-rel-CMakeCache.txt.log
config-x86-windows-dbg-CMakeCache.txt.log

Error:

Computing installation plan...
The following packages will be built and installed:
    curl[core,non-http,schannel,ssl,sspi]:x86-windows-static-md@8.6.0
Detecting compiler hash for triplet x86-windows-static-md...
Restored 0 package(s) from C:\Users\julia\AppData\Local\vcpkg\archives in 147 us. Use --debug to see more details.
Installing 1/1 curl[core,non-http,schannel,ssl,sspi]:x86-windows-static-md@8.6.0...
Building curl[core,non-http,schannel,ssl,sspi]:x86-windows-static-md@8.6.0...
warning: -- Using community triplet x86-windows-static-md. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\Projetos\C#\RetroStation\vcpkg\triplets\community\x86-windows-static-md.cmake
-- Using cached curl-curl-curl-8_6_0.tar.gz.
-- Cleaning sources at D:/Projetos/C#/RetroStation/vcpkg/buildtrees/curl/src/curl-8_6_0-f17d00bdb6.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Projetos/C#/RetroStation/vcpkg/downloads/curl-curl-curl-8_6_0.tar.gz
-- Applying patch 0002_fix_uwp.patch
-- Applying patch 0005_remove_imp_suffix.patch
-- Applying patch 0012-fix-dependency-idn2.patch
-- Applying patch 0020-fix-pc-file.patch
-- Applying patch 0022-deduplicate-libs.patch
-- Applying patch mbedtls-ws2_32.patch
-- Applying patch export-components.patch
-- Applying patch dependencies.patch
-- Applying patch cmake-config.patch
-- Using source at D:/Projetos/C#/RetroStation/vcpkg/buildtrees/curl/src/curl-8_6_0-f17d00bdb6.clean
-- Found external ninja('1.11.0').
-- Configuring x86-windows-static-md
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: D:/Projetos/C#/RetroStation/vcpkg/buildtrees/curl/x86-windows-static-md-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\Projetos\C#\RetroStation\vcpkg\buildtrees\curl\config-x86-windows-static-md-dbg-CMakeCache.txt.log
      D:\Projetos\C#\RetroStation\vcpkg\buildtrees\curl\config-x86-windows-static-md-rel-CMakeCache.txt.log
      D:\Projetos\C#\RetroStation\vcpkg\buildtrees\curl\config-x86-windows-static-md-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
  ports/curl/portfile.cmake:67 (vcpkg_cmake_configure)
  scripts/ports.cmake:175 (include)


error: building curl:x86-windows-static-md failed with: BUILD_FAILED
Elapsed time to handle curl:x86-windows-static-md: 23 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+curl
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[curl]+Build+error+on+x86-windows-static-md&body=Copy+issue+body+from+D%3A%2FProjetos%2FC%23%2FRetroStation%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
@StarGate-One
Copy link
Contributor

Move/Create vcpkg in a directory/folder without spaces or special characters.

Many of the 3rd party tools used by vcpkg do not handle spaces/special characters in the path name.

@julianoBRL
Copy link
Author

julianoBRL commented Mar 12, 2024

@StarGate-One thanks, it worked for most of them excerpt .\vcpkg\vcpkg install freeimage:x86-windows-static-md
config-x86-windows-static-md-dbg-CMakeCache.txt.log
config-x86-windows-static-md-rel-CMakeCache.txt.log
config-x86-windows-static-md-out.log
the problem is the CMake version?

@LilyWangLL LilyWangLL added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

No branches or pull requests

3 participants