[osg-users] OpenSceneGraph-3.3.7 developer release tagged

Robert Osfield robert.osfield at gmail.com
Thu Apr 16 03:17:33 PDT 2015


Hi Mohammed,

On 16 April 2015 at 10:10, Mohammed Djeralfia <osgforum at tevs.eu> wrote:

> thanks for this release,
> When I tried to compile OSG on VC2010, I found some errors:
>
> 1) on json_stream: the isfinite and isinf are not defined on VC2010 and
> should be replaced with _finite and !_finite.
>

There is code block 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

I'm guessing that VC2010 has a _MSC_VER>1600.  Could you check where
version your compiler has and try this by modifying the 1600 value.



> 2) on cmake, it can not found QT5Widgets_DIR automatically, so I need to
> do it manually on QT 5.4.0 (not realy a porblem).
>

I'm guessing this is a CMake issue.  There is a limit to what can be found
automatically when it's possible to install stuff in non standard places so
I'm not sure if what you are seeing is expected or not.  I'm neither a Qt
or Windows expert here so have to defer to others.

As a point of reference, have previous versions of the OSG worked out of
the box w.r.t finding Qt5?

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150416/38905f0d/attachment-0003.htm>


More information about the osg-users mailing list