<div dir="ltr"><div class="gmail_extra">Hi</div><div class="gmail_extra"><br></div><div class="gmail_extra">Recently we had a requirement to build OSG for Android and load a OpenFlight MetaFight file. This is what I did:</div><div class="gmail_extra"><br></div><div class="gmail_extra">- Checkout the 3.4.0 stable release of OSG</div><div class="gmail_extra">- Installed Android NDK, SDK and Eclipse.</div><div class="gmail_extra">- Used the toolchain to compile OSG for GLES1</div><div class="gmail_extra">- Downloaded OSGAndroid from GitHub</div><div class="gmail_extra">- Imported to Eclipse</div><div class="gmail_extra">- Build all the four projects</div><div class="gmail_extra"><br></div><div class="gmail_extra">So far there is no problem at all. Everything went smooth.</div><div class="gmail_extra"><br></div><div class="gmail_extra">However, when I am trying to deploy the osgsimple application using eclipse or trying to debug the application it throws an error saying: </div><div class="gmail_extra"><br></div><div class="gmail_extra">"Couldn't load gnustl_shared from loader dalvik.system.PathClassLoader".</div><div class="gmail_extra"><br></div><div class="gmail_extra">This is what I did:</div><div class="gmail_extra">- Modified Android.mk to have the correct OSG_SDK path</div><div class="gmail_extra">- Modified Android.mk to have the correct plugins (osgPlugins-3.4.0)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Note:</div><div class="gmail_extra"><br></div><div class="gmail_extra">(a) No other changes made to any files downloaded from GitHub for osgAndroid. </div><div class="gmail_extra">(b) The command used to configure cmake is <<< </div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">> set ANDROID_NDK=C:\Android\android-ndk-r10e</div><div class="gmail_extra">> "c:\Program Files (x86)\CMake 2.8\bin\cmake.exe" .. -G"MinGW Makefiles" -DANDROID_NDK=C:/Android/android-ndk-r10e -DCMAKE_TOOLCHAIN_FILE=../PlatformSpecifics/Android/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM="%ANDROID_NDK%\prebuilt\windows-x86_64\bin\make.exe" -DOPENGL_PROFILE="GLES1" -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NATIVE_API_LEVEL=15 -DANDROID_ABI=armeabi -DCMAKE_INSTALL_PREFIX=C:/Android/OSG_ES1-3.4.0</div><div class="gmail_extra"><br></div><div class="gmail_extra">> make  -j 8</div><div class="gmail_extra">> make install</div><div class="gmail_extra"><br></div><div class="gmail_extra">>>>></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">I tried the above in Windows 10.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Any help to get this resolved will be greatly appreciated.</div><div class="gmail_extra"><br></div><div class="gmail_extra">regards</div><div class="gmail_extra">Shamim</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>