[osg-users] [build] Building OSG for Android -- Windowing system issue

Brett Haines bhaines418 at gmail.com
Wed Apr 26 14:43:47 PDT 2017

Thank you for the links Kornerr -- I'll definitely be keeping an eye on that.

I did figure out that my issue was not using the toolchain file in the OpenSceneGraph repo.  Adding the following option to CMake got it going:


  -D CMAKE_TOOLCHAIN_FILE=$BASEDIR/openscenegraph/PlatformSpecifics/Android/android.toolchain.cmake

I also had to remove the lines that specified my C and C++ compilers.  For whatever reason, setting those manually caused CMake to not find them.


Read this topic online here:

More information about the osg-users mailing list