[osg-users] [forum] Android can't build osgdb_png

Colin Cochran colin at terminaleleven.com
Tue Mar 26 14:56:29 PDT 2019


I recently encountered a similar (maybe the same) issue building for Android ES1 (exceptions disabled). 

I took a look at the CMake files and found that the PNG plug-in would not build unless cpp exceptions were enabled, so I took a look at the source code to see if it really required exceptions.  Turned out it did not (someone added pre proc guards to handle that case) so I removed the exception requirement from CMake and the plugin finally built for me. I submitted a PR: 

https://github.com/openscenegraph/OpenSceneGraph/pull/736

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







More information about the osg-users mailing list