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
I am trying to run the Example Project for an Real Android Device.
Error:
Launching lib/main.dart on RMX3360 in debug mode...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':flutter_llama:configureCMakeDebug[arm64-v8a]'.
> [CXX1405] error when building with cmake using /Users/winkltechnologies/Desktop/ml-tests/flutter_llama/src/CMakeLists.txt: -- Configuring incomplete, errors occurred!
See also "/Users/winkltechnologies/Desktop/ml-tests/flutter_llama/android/.cxx/Debug/5gq12v5o/arm64-v8a/CMakeFiles/CMakeOutput.log".
C++ build system [configure] failed while executing:
/Users/winkltechnologies/Library/Android/sdk/cmake/3.18.1/bin/cmake \
-H/Users/winkltechnologies/Desktop/ml-tests/flutter_llama/src \
-DCMAKE_SYSTEM_NAME=Android \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_SYSTEM_VERSION=16 \
-DANDROID_PLATFORM=android-16 \
-DANDROID_ABI=arm64-v8a \
-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a \
-DANDROID_NDK=/Users/winkltechnologies/Library/Android/sdk/ndk/23.1.7779620 \
-DCMAKE_ANDROID_NDK=/Users/winkltechnologies/Library/Android/sdk/ndk/23.1.7779620 \
-DCMAKE_TOOLCHAIN_FILE=/Users/winkltechnologies/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake \
-DCMAKE_MAKE_PROGRAM=/Users/winkltechnologies/Library/Android/sdk/cmake/3.18.1/bin/ninja \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/winkltechnologies/Desktop/ml-tests/flutter_llama/example/build/flutter_llama/intermediates/cxx/Debug/5gq12v5o/obj/arm64-v8a \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/winkltechnologies/Desktop/ml-tests/flutter_llama/example/build/flutter_llama/intermediates/cxx/Debug/5gq12v5o/obj/arm64-v8a \
-DCMAKE_BUILD_TYPE=Debug \
-B/Users/winkltechnologies/Desktop/ml-tests/flutter_llama/android/.cxx/Debug/5gq12v5o/arm64-v8a \
-GNinja
from /Users/winkltechnologies/Desktop/ml-tests/flutter_llama/android
CMake Warning at /Users/winkltechnologies/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/Users/winkltechnologies/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include)
/Users/winkltechnologies/Desktop/ml-tests/flutter_llama/android/.cxx/Debug/5gq12v5o/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
CMakeLists.txt:3 (project)
CMake Error at CMakeLists.txt:6 (add_subdirectory):
The source directory
/Users/winkltechnologies/Desktop/ml-tests/flutter_llama/src/llama.cpp
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:7 (add_library):
add_library cannot create ALIAS target "flutter_llama" because target
"llama" does not already exist.
CMake Error at CMakeLists.txt:8 (set_target_properties):
set_target_properties Can not find target to add properties to: llama
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 13s
Exception: Gradle task assembleDebug failed with exit code 1
Exited
The text was updated successfully, but these errors were encountered:
I am trying to run the Example Project for an Real Android Device.
Error:
The text was updated successfully, but these errors were encountered: