Closed scumola closed 1 year ago
Pretty new/fresh ubuntu install. Build-essential package is installed. cmake, make, gcc, etc. all exist in the system. Cuda nvidia drivers are installed and working...
Hi,
have you already searched for the error message?
Maybe sudo apt install build-essential
could be helpful.
(see e.g. https://www.reddit.com/r/cmake/comments/msozkr/cmake_error_cmake_was_unable_to_find_a_build
or https://github.com/emscripten-core/emscripten/issues/9669)
The comment just above yours says "build-essential package is installed".
There is a working Ubunti CI installed in this repo, which proves that the CMake files should work in principle (https://github.com/chrxh/alien/actions). Perhaps you will find in the corresponding yml-file a hint what is missing in your case: https://github.com/chrxh/alien/blob/develop/.github/workflows/ubuntu-ci.yml.
steve@swebb-76:~/alien/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -- Running vcpkg install Detecting compiler hash for triplet x64-linux... The following packages will be built and installed:
-- Performing post-build validation -- Performing post-build validation done Could not copy /home/steve/alien/external/vcpkg/buildtrees/boost-uninstall/x64-linux.vcpkg_abi_info.txt -> /home/steve/alien/external/vcpkg/packages/boost-uninstall_x64-linux/share/boost-uninstall/vcpkg_abi_info.txt: Invalid argument (22) -- Running vcpkg install - failed CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:836 (message): vcpkg install failed. See logs for more information: /home/steve/alien/build/vcpkg-manifest-install.log Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:24 (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_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CUDA_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!