[osg-users] Arggh! Frustrating compiler error! OS X XCode3.0.
Stephen Northcott
stephennorthcott at yahoo.co.uk
Sun Jan 27 18:44:54 PST 2008
Hi Stephan, (Robert there is a comment about the svn repository in
here that may be of interest to you)
OK. Can I ask what is perhaps a more stupid question now..
Can you confirm the correct svn source..
I used the one detailed on the OSG site, but it refers to the .com
URL. That gave me repeated errors.
So out of curiosity I changed it to the .org URL and it pulled
everything down flawlessly.
This is where I have been downloading from over the weekend as we
corresponded.
I can confirm that I have nuked my machine, deleted all traces of any
sign of OSG, and tried building this as both a 10.5 distrib and also a
10.4u distrib.. and also as XCode2.4 and XCode3.0 compatible.
I am still getting the OpenGL error references I mentioned earlier. Is
it possible I am going to the wrong repository? Do you have more than
one! Seems unlikely as you told me you had fixed various other linking
probs and I grabbed it again and they had indeed gone..
Thanks,
Stephen.
On Jan 27, 2008, at 6:11 PM, Stephan Huber wrote:
> Hi Stephen,
>
> I am a bit perplexed...
>
> Stephen Northcott schrieb:
>> Thank you so much for doing that.. OSG Compiles fine now.
>> (I limited it to 10.5SDK for Intel for simplicity right now)
>>
>> Just thought you'd like to know that I get the following errors,
>> which
>> I have dealt with by commenting files I don't need out..
>>
>> osgSim/OpenFlightOptimizer is not found.
>>
>> And I get some OpenGL errors for osg/Uniform.
>> Basically GL_FLOAT_MAT2x3 is not 'declared in this scope', and it's 6
>> brothers and sisters.
>>
>> I noticed that in Uniform these defines are under a TODO: heading, so
>> you may be aware of that.
>>
> I did not get any of your errors, osgSim/OpenFlightOptimizer is not
> part
> of the xcode-project anymore, and the #GL-defines are defined in
> osg/GLExtensions. I get some warnings about unused local variables and
> wrong initialization order, that's all.
>
> I added the offending lines of your example to the osggeometry-
> example,
> and it builds and links fine on my end, both for 10.4u and 10.5-sdk.
>
> It looks like you are not using an uptodate source, or refererencing
> old
> versions of the osg-frameworks, perhaps some old frameworks are
> lurking
> around in /Library/Frameworks or ~/Library/Frameworks.
>
> Both mentioned errors are fixed in current svn. So please check again
> your source-tree if it's current and if there are any modified files.
> Please remove
> OpenSceneGraph/Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj and do a
> svn update to get a clean and fresh xcode-project and try again.
>
>
> good luck :)
>
> stephan
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list