<div dir="ltr"><div><div>Hi, I followed this page to build OpenSceneGraph 3.4 for Android.<br><a href="http://www.openscenegraph.org/index.php/documentation/platform-specifics/android/178-building-openscenegraph-for-android-3-4" target="_blank">http://www.openscenegraph.org/<wbr>index.php/documentation/<wbr>platform-specifics/android/<wbr>178-building-openscenegraph-<wbr>for-android-3-4</a><br><br></div>It builds successfully with NDK r10e.<br><br><br></div><div>However, with the current NDK release, r13. I got these error in the cmake stage, on an Fedora 23 GNU/Linux x86-64 system:<br><br>cmake `pwd`/../osg.git/ -DCMAKE_TOOLCHAIN_FILE=`pwd`/../osg.git/PlatformSpecifics/Android/android.toolchain.cmake -DOPENGL_PROFILE="GLES2" -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NATIVE_API_LEVEL=15 -DCMAKE_INSTALL_PREFIX=/share/software/open_scene_graph/installed-android-armeabi-v7a -DBUILD_OSG_EXAMPLES=true <br>CMake Error at PlatformSpecifics/Android/android.toolchain.cmake:663 (message):<br> Could not find any working toolchain in the NDK. Probably your Android NDK<br> is broken.<br>Call Stack (most recent call first):<br> /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:98 (include)<br> CMakeLists.txt:114 (PROJECT)<br><br><br>CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage<br>CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage<br>-- Configuring incomplete, errors occurred!<br><br><br></div><div>NDK r13 uses clang as the default compiler, instead of gcc. Would that be related to the error? Thanks for any help on this.<br></div><div><br></div><div><div><div><br>-- <br><div class="gmail-m_2185232345780489965gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Andy Tai, <a href="mailto:atai@atai.org" target="_blank">atai@atai.org</a>, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010<br>Year 2016 民國105年<br>自動的精神力是信仰與覺悟<br>自動的行為力是勞動與技能</div></div></div></div></div></div></div></div>
</div></div></div></div>