I am curious why your system complains about this, but other OSX users get by just fine.
Robert.
The ClampColor problem is obviously a compiler problem rather than a real one … the thing is that the header defines mode to be:
enum Mode {
FIXED_ONLY = GL_FIXED_ONLY_ARB,
FALSE = GL_FALSE,
TRUE = GL_TRUE
};
And the compiler does not really like the names TRUE and FALSE at this point … if these names are replaced with any other name we are good to go …
Frank
From: E. Wing [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2006 3:10 PM
To: Frank Bergmann
Cc: Daniel Larimer; [EMAIL PROTECTED]; Pushpak Karnick
Subject: Re: Problem compiling 1.1 on OSX
On 9/11/06, Frank Bergmann <[EMAIL PROTECTED]> wrote:
> Hello Eric,> The example you give fails when compiling on 10.3.9 using the official gcc
> 3.3 . it succeeds however with gcc4.0.2 from fink .Hmmm, I forgot that the floor/ceil stuff is separate from the isnan
stuff, but I'm surprised gcc 3.3 has problems with these. I'm not sure
where to go from here. gcc 3.3 has given us a lot of problems in the
past with OSG, so it's good you're willing to go to gcc 4. But this
kind of problem shouldn't be this hard to fix.
> This was tested with the current CVS and your 1.1 framework . (it should be
> noted that compiling the cvs version on 10.3.9 fails even with gcc4.0.2
> falls over osg/ClampColor)If you know what the problem with ClampColor is, then please submit a patch.
-Eric
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
