[osg-users] OpenSceneGrah-3.4.0 release candidate 4 tagged
DizL
karcios at poczta.onet.pl
Mon Jul 20 00:08:08 PDT 2015
Hi,
I was trying to build this version with MSVC++ 11.0 (_MSC_VER 1700, Visual
Studio 2012) and there is a known problem with osgjs and isfinite.
Need to edit at the top of OpenSceneGraph/src/osgPlugins/osgjs/json_stream:
#if defined(WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) ||
_MSC_VER<1600)
inline int isfinite( double x ) { return _finite( x ); }
inline int isinf( double x ) { return !_finite( x ) && !_isnan( x ); }
#endif
1700 instead of 1600
regards,
DizL
More information about the osg-users
mailing list