![]() ![]() Assuming, that the android ndk's version of clang was built on such a system, it was worth a try to use ncurses 5. They still use ncurses 5 instead of ncurses 6 (libtinfo seems to belong to ncurses). Quite many of the other distributions often have outdated packages. ![]() Tryied instlalling libtinfo as suggested in this thread but didn't worked. opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directoryįor the creation of the project, I just checked the option " Include c++ support" and started with a blank activity, changed no code then. Building C object CMakeFiles/cmTC_be251.dir/testCCompiler.c.oįAILED: /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv5te-none-linux-androideabi -gcc-toolchain /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -sysroot=/opt/android-ndk/platforms/android-15/arch-arm -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-integrated-as -mthumb -Wa,-noexecstack -Wformat -Werror=format-security -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-integrated-as -mthumb -Wa,-noexecstack -Wformat -Werror=format-security -o CMakeFiles/cmTC_be251.dir/testCCompiler.c.o -c /home/fabio/AndroidStudioProjects/HelloWorld/app/.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/CMakeTmp/testCCompiler.c Run Build Command:"/opt/android-sdk/cmake/560/bin/ninja" "cmTC_be251" ![]() executing external native build for cmake /home/fabio/AndroidStudioProjects/HelloWorld/app/CMakeLists.txt"ĭetermining if the C compiler works failed with the following output:Ĭhange Dir: /home/fabio/AndroidStudioProjects/HelloWorld/app/.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/CMakeTmp The error message on build returned by android studio is "A problem occurred configuring project ':app'. ![]() I've created a simple "hello world program" just to start but it is not compiling. I installed android sdk, platform and build tools and NDK in my ArchLinux to develop with android-studio and c++. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |