How to compile vcpkg on Fedora on arm64 #28038
Unanswered
sandeep-gh
asked this question in
Q&A
Replies: 2 comments
-
|
Maybe you should use absolute path instead? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am following the steps mentioned here: #3647 (comment)
to build vcpkg on Fedora on Raspberry pi.
I did the following step:
export VCPKG_DEFAULT_TRIPLET=arm64-linuxexport VCPKG_FORCE_SYSTEM_BINARIES=1export VCPKG_USE_SYSTEM_BINARIES=1./bootstrap-vcpkg.sh -useSystemBinaries.Then created vcpkg/triplets/arm64-linux.cmake with requisite entries.
Then ran the Cmake build command as follows:
cmake -B build -S vcpkg/buildtrees/_vcpkg/src/vcpkg-tool-2021-11-24/ -DVCPKG_TARGET_TRIPLET=arm64-linux -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmakeI am not sure if I am giving the right source directory, if not all Cmake build dependencies are installed. But I get error:
`
CMake Error at /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:130 (message):
Could not find toolchain file: vcpkg/scripts/buildsystems/vcpkg.cmake
Call Stack (most recent call first):
CMakeLists.txt:37 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!`
Beta Was this translation helpful? Give feedback.
All reactions