[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:


Code:

  -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.

Cheers,
Brett

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70844#70844








More information about the osg-users mailing list