[osg-users] compiling on Mac OS X Leopard 64 bit

2007-08-06 Thread Andy Skinner
We have someone trying to build OSG on 64 bit Leopard.  He has run into
a couple of things:

GraphicsWindowCarbon.cpp won't compile.  Is anyone doing a Cocoa
version?  We aren't looking for one, but would like to not have a build
issue, and may be able to help out.

The quicktime plugin is conflicting with what is on the machine, if I
understand it correctly.  Anybody working on an update to this?

Here's a summary from the guy working on it:
===
On Leopard 32-bit, all of the APIs are there, but they generate
deprecated function compiler warnings.  On 64-bit, they generate
compiler errors because they're just plain not available.
===

Is there a way to not compile the quicktime plugin?  If we could specify
to CMake or somewhere either a list of plugins to not compile, or a list
to compile, we could just avoid the quicktime plugin for now.

thanks
andy


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] compiling on Mac OS X Leopard 64 bit

2007-08-06 Thread E. Wing
Can't say much about Leopard due to the NDA. But there has been public
traffic about Carbon and 64-bit. The summary is that there will be no
64-bit path for Carbon. That means GraphicsWindowCarbon will not work
and a Cocoa version of GraphicsWindow is the way to go for 64-bit.
(I've warned people that this day would come.) There is currently no
Cocoa version. You are free to write it. I did write an example called
osgviewerCocoa. Basically, the example needs to be turned inside-out
for GraphicsWindowCocoa.

This might imply certain things to you about QuickTime (and the
plugin). What's not under NDA is that QuickTimeKit (QTKit) in Tiger is
a ground up reimplementation of the QuickTime SDK which looks a heck
of a lot more 64-bit (and also endian) clean than the old QuickTime
SDK.

So for now, you want to skip building the QuickTime plugin. You can
edit your CMakeLists.txt in the src/osgPlugins directory and remove
the entry that handles that plugin.

I have been privately discussing with somebody to create two new
plugins (one for QTKit, the other for ImageIO). But my employment
situation has drastically changed recently so I can't make any
promises right now.


-Eric


On 8/6/07, Andy Skinner [EMAIL PROTECTED] wrote:
 We have someone trying to build OSG on 64 bit Leopard.  He has run into
 a couple of things:

 GraphicsWindowCarbon.cpp won't compile.  Is anyone doing a Cocoa
 version?  We aren't looking for one, but would like to not have a build
 issue, and may be able to help out.

 The quicktime plugin is conflicting with what is on the machine, if I
 understand it correctly.  Anybody working on an update to this?

 Here's a summary from the guy working on it:
 ===
 On Leopard 32-bit, all of the APIs are there, but they generate
 deprecated function compiler warnings.  On 64-bit, they generate
 compiler errors because they're just plain not available.
 ===

 Is there a way to not compile the quicktime plugin?  If we could specify
 to CMake or somewhere either a list of plugins to not compile, or a list
 to compile, we could just avoid the quicktime plugin for now.

 thanks
 andy


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org