[osg-users] [build] osgslice build failure on OSX

Voerman, L. l.voerman at rug.nl
Wed Sep 11 01:32:41 PDT 2019


Hi Robert,
The reference comes from include/osgViewer/GraphicsWindow near the end of
the file:
USE_GRAPICSWINDOW_IMPLEMENTATION(Carbon)

I've created a pull request with a possible fix here
<https://github.com/openscenegraph/OpenSceneGraph/pull/837>; however
- I dont have an apple so I can't test anything
- I got unsure if it's possible to build with mutiple windowing systems,
and whether we should prefer cocoa if available.

On the other hand my PR will fix the build on modern apple systems without
making the build impossible on carbon systems. I don't know if the carbon
system is used anyway; the current master tree will probably not link the
osgSlice example when building with the carbon windowing system.
Laurens.

On Wed, Sep 11, 2019 at 9:54 AM Robert Osfield <robert.osfield at gmail.com>
wrote:

> Hi Ravi,
>
> On Tue, 10 Sep 2019 at 16:34, Ravi Mathur <ravidavi at utexas.edu> wrote:
>
>> I've tried on OSG 3.6.3 and 3.6.4. You can see from the error I posted
>> that it's because of the Carbon graphics window type, which hasn't existed
>> on osx for some time. Might be that other Mac OSG users are on older osx
>> versions.
>>
>
> I have a quick look through osgslice and couldn't see any reference to
> platform specific windowing.  Where is the reference to Carbon coming from?
>
> Robert.
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190911/3341c334/attachment.html>


More information about the osg-users mailing list