After updating to the latest svn, I noticed that 64-bit compilation is enabled by default on OSX (See line 532 of the main CMakeLists.txt). This is still broken. The default should be for 32-bit compilations so the build is not broken out of the box. We just need to remove ppc64 and x86_64 from that build. Users that know what they are doing can easily add it back in through cmake and use the other workarounds I already posted. -Eric
On Tue, Aug 5, 2008 at 10:45 AM, Eric Sokolowsky <[EMAIL PROTECTED]> wrote: > > > On Tue, Aug 5, 2008 at 10:44 AM, Eric Sokolowsky <[EMAIL PROTECTED]>wrote: > >> This change only fixes libosgviewer for X11 (32- and 64-bit). It does not >> fix the two remaining issues: the osgviewerWX example and the osgdb_qt >> Quicktime plugin. Neither compile with 64-bit. So, out of the box, the >> 64-bit build on OSX is still broken. However, another bug (which I have >> deliberately not fixed yet) keeps the default to 32-bit compilation, so >> things are not broken out-of-the-box. >> So here are the steps to take to compile 64-bit on OSX: >> Add ppc64 and/or x86_64 to CMAKE_OSX_ARCHITECTURES >> Generate the Xcode project >> Remove osgdb_qt and osgviewerWX from the list of targets within Xcode >> Build >> >> Doing this will compile, but images such as tiff, jpeg, gif, and png will >> not be supported. >> > > Note that this is only for 64-bit apps. 32-bit apps seem to work just fine > when compiled against X11 or Carbon. > > -Eric >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

