You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[main] Configuring project: Millennium
[proc] Executing command: /usr/bin/cmake -DVCPKG_TARGET_TRIPLET=x86-linux -DCMAKE_SYSTEM_PROCESSOR=x86 -DCMAKE_TOOLCHAIN_FILE=./vendor/vcpkg/scripts/buildsystems/vcpkg.cmake -S/home/shadow/Documents/Millennium -B/home/shadow/Documents/Millennium/build -G Ninja
[cmake] -- Running vcpkg install
[cmake] Detecting compiler hash for triplet x64-linux...
[cmake] Compiler found: /usr/bin/c++
[cmake] Detecting compiler hash for triplet x86-linux...
[cmake] Compiler found: /usr/bin/c++
[cmake] All requested packages are currently installed.
[cmake] Total install time: 341 ns
[cmake] cpr provides CMake targets:
[cmake]
[cmake] # this is heuristically generated, and may not be correct
[cmake] find_package(cpr CONFIG REQUIRED)
[cmake] target_link_libraries(main PRIVATE cpr::cpr)
[cmake]
[cmake] libgit2 provides CMake targets:
[cmake]
[cmake] # this is heuristically generated, and may not be correct
[cmake] find_package(unofficial-git2 CONFIG REQUIRED)
[cmake] target_link_libraries(main PRIVATE unofficial::git2::git2)
[cmake]
[cmake] libgit2 provides pkg-config modules:
[cmake]
[cmake] # The git library, take 2
[cmake] libgit2
[cmake]
[cmake] -- Running vcpkg install - done
[cmake] CMake Error at vendor/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
[cmake] Could not find a configuration file for package "cpr" that is compatible
[cmake] with requested version "".
[cmake]
[cmake] The following configuration files were considered but not accepted:
[cmake]
[cmake] /home/shadow/Documents/Millennium/build/vcpkg_installed/x86-linux/share/cpr/cprConfig.cmake, version: 1.9.0 (32bit)
[cmake]
[cmake] Call Stack (most recent call first):
[cmake] CMakeLists.txt:53 (find_package)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[proc] The command: /usr/bin/cmake -DVCPKG_TARGET_TRIPLET=x86-linux -DCMAKE_SYSTEM_PROCESSOR=x86 -DCMAKE_TOOLCHAIN_FILE=./vendor/vcpkg/scripts/buildsystems/vcpkg.cmake -S/home/shadow/Documents/Millennium -B/home/shadow/Documents/Millennium/build -G Ninja exited with code: 1
Everything seems to run smoothly on x64, with no issues. It might be a problem with vcpkg not supporting x86-linux officially, however I see no reason why that would break anything.
Example/How to Reproduce
setup vcpkg with x86, and VCPKG_TARGET_TRIPLET as x86-linux
configure cmake, in my case with CMakeUserPresets.json as cmake --preset=linux
Possible Fix
No response
Where did you get it from?
vcpkg
Additional Context/Your Environment
OS: Linux, Arch
Version: 6.9.7-arch1-1
The text was updated successfully, but these errors were encountered:
Description
Cmake cache generation fails while generating on x86-linux with vcpkg
heres my condensed
CMakeUserPresets.json
vcpkg.json
CmakeLists.txt
Configuration Output:
Everything seems to run smoothly on x64, with no issues. It might be a problem with vcpkg not supporting x86-linux officially, however I see no reason why that would break anything.
Example/How to Reproduce
x86
, andVCPKG_TARGET_TRIPLET
asx86-linux
CMakeUserPresets.json
ascmake --preset=linux
Possible Fix
No response
Where did you get it from?
vcpkg
Additional Context/Your Environment
The text was updated successfully, but these errors were encountered: