<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 14pt; color: #000000"><div>Hello, first of all, many thanks for the great work you've done on kde and particularily on porting some maps on android<br></div><div>I don't know if this mail is the right place to ask a question.<br></div><div><br></div><div>I manage to buil successfully kde marble for android (arm version) and it works great.<br></div><div><br></div><div>However one of my peripheral is using android on a x86 processor. I try to compile<br></div><div>for this targer but i get some errors. I'm pretty sure i'm missing something<br></div><div>here's the command line I use:</div><div>cmake ../sources -DCMAKE_INSTALL_PREFIX=/home/jean/Android/marble/x86 -DECM_ADDITIONAL_FIND_ROOT_PATH=${Qt5_android} -DANDROID_ARCHITECTURE=x86 -DANDROID_TOOLCHAIN=x86 -DANDROID_ABI=x86 -DCMAKE_TOOLCHAIN_FILE="/home/jean/marble/sources/extra-cmake-modules/toolchain/Android.cmake" <br></div><div><br></div><div>But i get an error :<br></div><div>-- Check for working C compiler: /home/jean/Android/Sdk/ndk-bundle//toolchains/x86-4.9/prebuilt/linux-x86_64/bin/x86-gcc -- broken<br>CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):<br> The C compiler<br> "/home/jean/Android/Sdk/ndk-bundle//toolchains/x86-4.9/prebuilt/linux-x86_64/bin/x86-gcc"<br> is not able to compile a simple test program.<br><br> It fails with the following output:<br><br> Change Dir: /home/jean/marble/build_x86/CMakeFiles/CMakeTmp<br><br> <br><br> Run Build Command:"/usr/bin/make" "cmTC_e379f/fast"<br><br> /usr/bin/make -f CMakeFiles/cmTC_e379f.dir/build.make<br> CMakeFiles/cmTC_e379f.dir/build<br><br> make[1] : on entre dans le répertoire<br> « /home/jean/marble/build_x86/CMakeFiles/CMakeTmp »<br><br> Building C object CMakeFiles/cmTC_e379f.dir/testCCompiler.c.o<br><br> <br> /home/jean/Android/Sdk/ndk-bundle//toolchains/x86-4.9/prebuilt/linux-x86_64/bin/x86-gcc<br> --sysroot=/home/jean/Android/Sdk/ndk-bundle//platforms/android-14/arch-arm<br> -DANDROID -isystem<br> /home/jean/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include<br> -isystem<br> /home/jean/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include<br> -o CMakeFiles/cmTC_e379f.dir/testCCompiler.c.o -c<br> /home/jean/marble/build_x86/CMakeFiles/CMakeTmp/testCCompiler.c<br><br> Linking C executable cmTC_e379f<br><br> /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e379f.dir/link.txt<br> --verbose=1<br><br>It seems that linking is always done with arm libs, which is wrong.<br></div><div>maybe can you help if you get enough time for that.<br></div><div>Thanks a lot <br></div><div>Sincerely yours Jean Guardia<br></div><div><br></div></div></body></html>