Hi Brian, I can't spot what might be up, there wasn't any changes to the core OSG to support the cfg plugin, so the addition of it should just the building of it and nothing else. Other changes checked in for other reasons might affect the build and this in turn could effect the cfg plugin. Its not entirely clear to me which bits work out of the box with the SVN version of the OSG, so its not clear what needs to be done to fix the build.
Working on the assumption that its just the include order in the cfg plugin that is leading to some functions/macros being redefined/redefined I've moved the OSG includes to the tops of the files - things still compile under Linux so it would seem the changes are benign... but of course can't say how Cygwin will fare with them, perhaps no effect, perhaps a fix, perhaps make it worse... Could you check out the latest version in SVN and let me know exactly what things work/break out of the box without any further changes. Cheers, Robert. On Dec 19, 2007 6:51 PM, Brian Keener <[EMAIL PROTECTED]> wrote: > Robert Osfield wrote: > > Couple of observations, include/osg/Math hasn't changed for a very > > long time, so it suggest that these methods aren't compiled by the > > compile unless one compiles the .cfg plugin > > No actually - if I change line 206 or line 207 to something like > _isnanf and _isnand (1 underscore) then very early in the build it > breaks on Animationpath.h and .cpp and if I change to lines back to the > svn version then Animationpath.h and .cpp build as they should. > > > , Which does perplex me as > > I'm sure these methods are used elsewhere, so what could be up? > > Agreed. See my response above as that is what I noticed - certain > changes to fix the .cfg plugin broke Animationpath.h and .cpp in the > build very early but my changes to line 206 and 207 using isnanf and > __isnand (2 underscores) resulted in everything building as they > should. If I look at /usr/include/math.h in Cygwin it defines isnanf > and isnand. > > > I don't know. Perhaps one could look at the include order to see in > > .cpp/.h files in the .cfg plugin are doing anything unusual. > > That was my thought I starting looking to see what was included or not > included or the order they were included in Animationpath.h and .cpp vs > the .cfg plugin but nothing yet. > > Thanks. > > > bk > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

