Closed winnerahao closed 9 months ago
在android编译时报错
ld: error: ChatGLM6B/work/ChatGLM-MNN/libs/libMNN.so is incompatible with aarch64linux ld: error: ChatGLM6B/work/ChatGLM-MNN/libs/libMNN_Express.so is incompatible with aarch64linux clang++: error: linker command failed with exit code 1 (use -v to see invocation) CMakeFiles/chat.dir/build.make:98: recipe for target 'libchat.so' failed make[2]: [libchat.so] Error 1 CMakeFiles/Makefile2:84: recipe for target 'CMakeFiles/chat.dir/all' failed make[1]: [CMakeFiles/chat.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2
不太熟悉编译过程,请问需要怎么解决?谢谢
已解决,可以参看MNN的官方文档,一目了然
Marking as stale. No activity in 30 days.
在android编译时报错
ld: error: ChatGLM6B/work/ChatGLM-MNN/libs/libMNN.so is incompatible with aarch64linux ld: error: ChatGLM6B/work/ChatGLM-MNN/libs/libMNN_Express.so is incompatible with aarch64linux clang++: error: linker command failed with exit code 1 (use -v to see invocation) CMakeFiles/chat.dir/build.make:98: recipe for target 'libchat.so' failed make[2]: [libchat.so] Error 1 CMakeFiles/Makefile2:84: recipe for target 'CMakeFiles/chat.dir/all' failed make[1]: [CMakeFiles/chat.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2
不太熟悉编译过程,请问需要怎么解决?谢谢