Hi Robert,
The new osgjs plugin fails to build due to usage of std::isfinite and
std::isinf. See:
http://cdash.openscenegraph.org/index.php?project=OpenSceneGraph&date=2015-03-12

The code is correct; the problem is that stlport (embedded in
android-ndk) doesn't put these functions in the std namespace but in
global one. See this thread:
https://code.google.com/p/android/issues/detail?id=34793
I'm using android-ndk-r7c and I haven't tested other ndk

This submission adds some ugle ifdefs to make the android build
succeed. An alternative would be to import std::isfinite and
std::isinf into the global namespace for non-android builds. Do as you
prefer, the submission at least identify the problem.
I also took the liberty to copy the license text from other header to
json_stream

cheers
Mattias

Attachment: json_stream
Description: Binary data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to