-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I solved this problem through ai.
/data/data/com.termux/files/home/llamaqnn/ggml/src/ggml-qnn/utils.cpp:253:17: error: reference to unresolved using declaration
253 | return std::aligned_alloc(alignment, size);
| ^
/data/data/com.termux/files/usr/include/c++/v1/cstdlib:150:1: note: using declaration annotated with 'using_if_exists' here
150 | using ::aligned_alloc _LIBCPP_USING_IF_EXISTS;
| ^
/data/data/com.termux/files/home/llamaqnn/ggml/src/ggml-qnn/utils.cpp:253:12: error: excess elements in scalar initializer
253 | return std::aligned_alloc(alignment, size);
| ^ ~~~~~~
2 errors generated.
make[2]: *** [ggml/src/ggml-qnn/CMakeFiles/ggml-qnn.dir/build.make:177: ggml/src/ggml-qnn/CMakeFiles/ggml-qnn.dir/utils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:2370: ggml/src/ggml-qnn/CMakeFiles/ggml-qnn.dir/all] Error 2
Then how to let backend find correct lib. I am using Xiaomi 14 Pro
Metadata
Metadata
Assignees
Labels
Projects
Status