lainchan / λ

Cmake installing and programming

Morpheus · 2025-06-24 23:21
Hello, I'm trying to make installments with Linux and Android to implement a program, but I keep having errors with Cmake: --- stderr CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy): The OLD behavior for policy CMP0091 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Error at /usr/share/cmake-3.28/Modules/Platform/Android-Determine.cmake:217 (message): Android: Neither the NDK or a standalone toolchain was found. Call Stack (most recent call first): /usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:212 (include) CMakeLists.txt:13 (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. thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5: command did not execute successfully, got: exit status: 1 Can anyone help with this?
push · 2025-06-24 23:35
>>42442 Install NDK and Android SDK.