Open xuegao-tzx opened 1 week ago
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.
Is make
installed?
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.
Is
make
installed?
Yes:
$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
That was my only idea, unfortunately I can't help more.
@xuegao-tzx
Checkout https://github.com/thewh1teagle/vibe/blob/feat/android-support/BUILDING.md#mobile
I also had similar issues, I resolved them and successfully built the repo that uses whisper.cpp. notice that some things are not relevant and related to Tauri.
@xuegao-tzx
Checkout https://github.com/thewh1teagle/vibe/blob/feat/android-support/BUILDING.md#mobile
I also had similar issues, I resolved them and successfully built the repo that uses whisper.cpp. notice that some things are not relevant and related to Tauri.
export NDK_HOST_TAG="darwin-x86_64"
NDK="/Users/xuegao/Library/Android/sdk/ndk/27.0.11902837"
COMPILER_DIR="$NDK/toolchains/llvm/prebuilt/$NDK_HOST_TAG/bin"
export PATH="$COMPILER_DIR:$PATH"
export CMAKE_ANDROID_NDK=$NDK
export CMAKE_MAKE_PROGRAM=$NDK/prebuilt/darwin-x86_64/bin/make
export CMAKE_SYSTEM_PROCESSOR="armv7-a"
cargo build --target armv7-linux-androideabi --release
but it still prompts:
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.
This is my shell:
the error is: