Tried to compile from master, current commit and I got this:
At first glance it may seem a warning, but it aborts compilationF:\bin\msys64\home\games\osg\src\osgPlugins\osgjs\WriteVisitor.cpp: In function 'JSONObject* createImage(osg::Image*, bool, int, const string&)':
F:\bin\msys64\home\games\osg\src\osgPlugins\osgjs\WriteVisitor.cpp:228:29: error: cast from 'osg::Image*' to 'long int' loses precision [-fpermissive]
ss << (long int)image << ".inline_conv_generated.png"; // write the pointer location
^~~~~
mingw32-make[2]: *** [src\osgPlugins\osgjs\CMakeFiles\osgdb_osgjs.dir\build.make:163: src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/WriteVisitor.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:5566: src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/all] Error 2
mingw32-make: *** [Makefile:129: all] Error 2
btw, I feel I am hijacking this thread :/