Closed julianoBRL closed 8 months ago
The build failure seems to be related to vcpkg
, not EmulationStation. If you already opened an issue at https://github.com/microsoft/vcpkg/issues/37397, why open another issue here ? Also, there's a warning at the beginning of the build:
warning: -- Using community triplet x86-windows-static-md. This triplet configuration is not guaranteed to succeed.
Did you try with building with the non-static variant ?
Can you attach the vcpkg
logs mentioned in the error message (here or in the upstream issue) ?
@cmitu i wasnt sure if it is related to ES(deprecated command or version) or VCPKG and since i'm following RetroPie/EmulationStation tutorial I thought it was a good ideia to post here too. yes i tryed with .\vcpkg\vcpkg install curl:x86-windows
and .\vcpkg\vcpkg install curl:x64-windows
and .\vcpkg\vcpkg install curl
same erros. i posted the pastebin to the logs
okay StarGate-One responded, vcpkg dont like special characters in the folders names, it resolved almost all 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 this time?
The error seems to come from the vcpkg
recipe, not related to cmake
version
...
CMake Error at D:/Projetos/RetroPie/vcpkg/installed/x86-windows-static-md/share/openexr/OpenEXRTargets.cmake:101 (set_target_properties): The link interface of target "OpenEXR::OpenEXRCore" contains:
libdeflate::libdeflate_static
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Related vcpkg
issue - https://github.com/microsoft/vcpkg/issues/37394.
Related
vcpkg
issue - microsoft/vcpkg#37394.
@julianoBRL since the issue above is now fixed in vcpkg
, does it fix the error encountered during the freeimage
installation ?
@cmitu yeah i added find_dependency(libdeflate REQUIRED)
in the file OpenEXRConfig.cmake
manually and it resolved, thank you for everything.
I'm following the windows tutorial
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:
freetype
andrapidjson
download fine.Logs: config-x86-windows-out.log config-x86-windows-rel-CMakeCache.txt.log config-x86-windows-dbg-CMakeCache.txt.log
Error: