Hello Robert,
It's your worst nightmare again. I tried compiling the svn version
again from trunk since you were asking folks to check various
platforms.
I downloaded fresh from svn and did the ccmake and then ran make and I
get this error:
[ 78%] Building CXX object
src/osgPlugins/ive/CMakeFiles/osgdb_ive.dir/Visibilit
yGroup.o
Linking CXX shared module
./../../lib/osgPlugins-2.2.0/cygwin_osgdb_ive.dll
[ 78%] Built target osgdb_ive
Scanning dependencies of target osgdb_cfg
[ 78%] Building CXX object
src/osgPlugins/cfg/CMakeFiles/osgdb_cfg.dir/CameraCon
fig.o
In file included from /usr/src/OpenSceneGraph/include/osg/Vec2f:17,
from /usr/src/OpenSceneGraph/include/osg/Vec2d:17,
from /usr/src/OpenSceneGraph/include/osg/Vec3d:17,
from /usr/src/OpenSceneGraph/include/osg/Matrixd:18,
from /usr/src/OpenSceneGraph/include/osg/Matrix:17,
from
/usr/src/OpenSceneGraph/src/osgPlugins/cfg/Camera.h:19,
from
/usr/src/OpenSceneGraph/src/osgPlugins/cfg/CameraConfig.h:
19,
from
/usr/src/OpenSceneGraph/src/osgPlugins/cfg/CameraConfig.cp
p:34:
/usr/src/OpenSceneGraph/include/osg/Math: In function `bool
osg::isNaN(float)':
/usr/src/OpenSceneGraph/include/osg/Math:206: error: `isnan' undeclared
(first u
se this function)
/usr/src/OpenSceneGraph/include/osg/Math:206: error: (Each undeclared
identifier
is reported only once for each function it appears in.)
/usr/src/OpenSceneGraph/include/osg/Math: In function `bool
osg::isNaN(double)':
/usr/src/OpenSceneGraph/include/osg/Math:207: error: `isnan' undeclared
(first u
se this function)
make[2]: ***
[src/osgPlugins/cfg/CMakeFiles/osgdb_cfg.dir/CameraConfig.o] Error
1
make[1]: *** [src/osgPlugins/cfg/CMakeFiles/osgdb_cfg.dir/all] Error 2
make: *** [all] Error 2
[EMAIL PROTECTED] /usr/develop/obj/osg
So then in include/osg/Math I change line 206 from this:
inline bool isNaN(float v) { return isnan(v); }
to
inline bool isNaN(float v) { return isnanf(v); }
and I change line 207 to return various forms of isnand, _isnan,
_isnand just to see what will happen and
then the build blows up much earlier on Animationpath in OpenThreads as
follows:
[EMAIL PROTECTED] /usr/develop/obj/osg
$ make
[ 0%] Built target OpenThreads
[ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/AnimationPath.o
In file included from /usr/src/OpenSceneGraph/include/osg/Vec2f:17,
from /usr/src/OpenSceneGraph/include/osg/Vec2d:17,
from /usr/src/OpenSceneGraph/include/osg/Vec3d:17,
from /usr/src/OpenSceneGraph/include/osg/Matrixf:18,
from
/usr/src/OpenSceneGraph/include/osg/AnimationPath:21,
from
/usr/src/OpenSceneGraph/src/osg/AnimationPath.cpp:13:
/usr/src/OpenSceneGraph/include/osg/Math: In function `bool
osg::isNaN(double)':
/usr/src/OpenSceneGraph/include/osg/Math:207: error: `_isnand'
undeclared (first
use this function)
/usr/src/OpenSceneGraph/include/osg/Math:207: error: (Each undeclared
identifier
is reported only once for each function it appears in.)
make[2]: *** [src/osg/CMakeFiles/osg.dir/AnimationPath.o] Error 1
make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2
make: *** [all] Error 2
[EMAIL PROTECTED] /usr/develop/obj/osg
$
This error which would lead me to believe that during the early stages
of the compile - isnan is defined and then it disappears by the time I
get to osgdb_config.
Further on this is that I found if I change line 206 to
inline bool isNaN(float v) { return isnanf(v); }
and line 207 to
inline bool isNaN(double v) { return __isnand(v); }
then everything compile - any thought on this
bk
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org