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


Read this topic online here:

More information about the osg-users mailing list