Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-23 Thread Hansong Zhang
Hi, I have just sync'd with svn and tried to build it on OSX 10.6.1. In ccmake setup, the target is for i386 only, and i replaced quicktime with imageio. The build went along successfully for a while until it reached this error: In file included from

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-10 Thread Robert Osfield
On Sun, Oct 4, 2009 at 10:44 AM, Erik den Dekker e...@dendekker.com wrote: This issue was already fixed and submitted to the osg-submissions list by Bob Kohne:  http://www.mail-archive.com/osg-submissi...@lists.openscenegraph.org/msg04134.html but Robert has not yet merged the changes to

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-04 Thread Erik den Dekker
This issue was already fixed and submitted to the osg-submissions list by Bob Kohne: http://www.mail-archive.com/osg-submissi...@lists.openscenegraph.org/msg04134.html but Robert has not yet merged the changes to SVN. Cheers, Erik den Dekker On 03-10-2009, at 19:43, stefan

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-03 Thread stefan nortd
Hi Eric, I just wanted to try building with Cocoa and ImageIO. I think you forgot to attach the file. Do you mind loading it up again. Thank you! Cheers, stefan stefan hechenberger http://linear.nortd.com -- Read this topic online here:

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-03 Thread Erik den Dekker
Hi Eric, I just wanted to try building with Cocoa and ImageIO. I think you forgot to attach the file. Do you mind loading it up again. Hi Stefan, Not sure if you were referring to me (Erik den Dekker) or Eric Wing, but I attached a file (Atomic) which came through just fine, maybe it

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-03 Thread stefan nortd
Thanks Erik, Seems like the attachment did not come through on the forum. I got it now and it's very helpful. Updating the Atomic file got rid of some problems. I am still banging my head at compiling on Snow Leopard. I must have tried 12 different configurations so far, 64 and 32 bit both

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-03 Thread Stephan Huber
Hi stefan, stefan nortd schrieb: [...]osgPlugins/imageio/ReaderWriterImageIO.cpp:979: error: extra qualification 'ReaderWriterImageIO::' on member 'ReaderWriterImageIO' Are there any quick fixes for this? check the osg-submission list, there was a submission regarding this bug, but it's

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-03 Thread stefan nortd
yes! success! You rock! I can finally compile osg on snow leopard! What's better I can compile it in any configuration I need to. To recap, I needed to apply two fixes to the sources. First erik's Atomic patch: Code: /* -*-c++-*- OpenThreads library, Copyright (C) 2008 The Open Thread

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-10-03 Thread stefan nortd
For completeness here is another patch I needed for building a cocoa-based osg 2.9-svn with sdk 10.6. in DarwinUtils.mm there are a couple of 'ID' that should be 'id' like in -(void) show: (ID) data; -(void) hide: (ID) data; should be -(void) show: (id) data; -(void) hide: (id) data; Thank

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-09-16 Thread Stephan Huber
E. Wing schrieb: I am not currently on the OSG track so I'm afraid I can't be much help at the moment. But be aware that in Snow Leopard, the default architecture is 64-bit (assuming you are on a 64-bit machine which almost all Intel Macs are now). All the Carbon stuff in osgViewerCarbon

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-09-16 Thread Stephan Huber
hi, stefan nortd schrieb: Hi, I just updated to osx 10.6.1 snow leopard and ran into a couple of problems. (1) My old osg binaries (osg 2.8.2 compiled for the 10.5 sdk) work but I get a ton of warning (I also needed to update to xcode 3.2). They are all of the different visibility

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-09-16 Thread stefan nortd
Hi Eric, Thanks for the hints. I was able to build osg for the most part now (i386, 10.5 sdk). I did not figure out why the int32_t typedef was missing though. I simple changed it in line 70 of the Atomic header file to singed long int. This did the trick for building osg with xcode. Code:

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-09-16 Thread Stephan Maximilian Huber
Hi Stefan, there are still some patches for osg snow-leopard in the submission-queue, try to switch to the gcc 4.0-compiler in the project settings. This should give you the same results as for Leopard. HTH, Stephan stefan nortd schrieb: Hi Eric, Thanks for the hints. I was able to build

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-09-16 Thread Erik den Dekker
On 16-09-2009, at 10:15, stefan nortd wrote: Hi Eric, Thanks for the hints. I was able to build osg for the most part now (i386, 10.5 sdk). I did not figure out why the int32_t typedef was missing though. I simple changed it in line 70 of the Atomic header file to singed long int.

Re: [osg-users] [build] OSX 10.6.1 Snow Leopard woes

2009-09-15 Thread E. Wing
I am not currently on the OSG track so I'm afraid I can't be much help at the moment. But be aware that in Snow Leopard, the default architecture is 64-bit (assuming you are on a 64-bit machine which almost all Intel Macs are now). All the Carbon stuff in osgViewerCarbon will likely not compile in