Open amoikevin opened 5 years ago
error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
处理掉这个错误
1.sudo apt install apt-file 2.sudo apt-file update 3.sudo apt-file find libncurses.so.5 4.sudo apt install libncurses5
系统: Ubuntu 19.04 Desktop NDK: r16b mars: v1.2.3
错误 ndk path:/home/jkl/WorkSpace/Android/ndk-r16b/ [[==BUILD_DESCRIPTION==]]Revision: b8efce07
PublicComponent
-- Check for working C compiler: /home/jkl/WorkSpace/Android/ndk-r16b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- Check for working C compiler: /home/jkl/WorkSpace/Android/ndk-r16b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- broken CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message): The C compiler
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project. Call Stack (most recent call first): comm/CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred! See also "/home/jkl/mars/mars/cmake_build/Android/CMakeFiles/CMakeOutput.log". See also "/home/jkl/mars/mars/cmake_build/Android/CMakeFiles/CMakeError.log". !!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!