Re: [osg-users] [build] OSX X11 Build System Failures

2016-08-01 Thread Ravi Mathur
Fix submitted in Submissions Post (http://forum.openscenegraph.org/viewtopic.php?t=16036). -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68244#68244 ___ osg-users mailing list

Re: [osg-users] [build] OSX X11 Build System Failures

2016-07-29 Thread Ravi Mathur
Hi all, I realized that the OpenGL link dependencies for OSG are not quite correct for OSX/X11. Specifically, if OSG_WINDOWING_SYSTEM is X11 then osgViewer is built with X11/OpenGL, but osg (base) is still built with Cocoa/OpenGL. This mismatch of OpenGL implementations can cause very

Re: [osg-users] [build] OSX X11 Build System Failures

2016-07-20 Thread Ravi Mathur
Fix submitted in Submissions Post (http://forum.openscenegraph.org/viewtopic.php?p=68188). -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68190#68190 ___ osg-users mailing list

Re: [osg-users] [build] OSX X11 Build System Failures

2016-06-24 Thread Ravi Mathur
OK, looks like the fix could be Code: IF(APPLE AND NOT (OSG_WINDOWING_SYSTEM STREQUAL "Cocoa")) RETURN() ENDIF() This applies to avfoundation (which only compiles on OSX anyway), as well as osgmultitouch and osgoscdevice examples, which will continue to compile on non-apple platforms

Re: [osg-users] [build] OSX X11 Build System Failures

2016-06-23 Thread Ravi Mathur
Oops the fix I posted is wrong. osgmultitouch and osgoscdevice should continue to work on non-Apple platforms. Any ideas on a good fix? Ravi -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67769#67769

[osg-users] [build] OSX X11 Build System Failures

2016-06-23 Thread Ravi Mathur
Hi all, A few of the newer OSG components explicitly reference osgViewer::GraphicsWindowCocoa in their code. This causes link errors when compiling OSG on MacOS with OSG_WINDOWING_SYSTEM set to X11. The affected components are: avfoundation (osgdb), osgmultitouch (examples), osgoscdevice