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. -Eric On Tue, Aug 5, 2008 at 10:29 AM, Robert Osfield <[EMAIL PROTECTED]>wrote: > Thanks Eric, > > I'm just trying a build with your changed CMakeLists.txt file, so far so > good. > > Does this change mean that OSX Cmake build is able to correctly > compile, link and run against X11? > > Robert. > > On Tue, Aug 5, 2008 at 3:16 PM, Eric Sokolowsky <[EMAIL PROTECTED]> > wrote: > > Attached is src/osgViewer/CMakeLists.txt. Log message, if you choose to > > include the changes: > > From Eric Sokolowsky: Fixed the build of the osgViewer library to get > > GL/glx.h from the right place, when building on OSX with X11. > > > > -Eric > > > > On Tue, Aug 5, 2008 at 9:10 AM, Robert Osfield <[EMAIL PROTECTED] > > > > wrote: > >> > >> Hi Eric, > >> > >> On Tue, Aug 5, 2008 at 1:40 PM, Eric Sokolowsky <[EMAIL PROTECTED]> > >> wrote: > >> > The proper place to get GL/glx.h depends on which target platform > you're > >> > compiling against. If you are compiling against the 10.4u SDK, then > the > >> > first location (in the list that you found below) is proper. If 10.5, > >> > the > >> > second. I have implemented a change (not checked in yet, I'm planning > on > >> > checking it in later today) that will, using CMake, automatically > detect > >> > where glx.h is located and use that one. > >> > >> Could you send the changes to me to review so I can make a judgement > >> call on whether it's safe to integrate this change before 2.6.0 gets > >> tagged. > >> > >> Thanks, > >> Robert. > >> _______________________________________________ > >> osg-users mailing list > >> osg-users@lists.openscenegraph.org > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org