<div dir="ltr"><div>Thanks for the input Laurens. You're right, it is because of the USE_GRAPHICSWINDOW() macro called from osgslice and defined in osgViewer/GraphicsWindow. If I change the macro to use Cocoa, osgslice compiles and runs fine. Laurens' PR does the same thing, but more gracefully and with backwards compatibility, so I support his approach.<br></div><div><br></div><div>Ravi<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 11, 2019 at 4:32 AM Voerman, L. <<a href="mailto:l.voerman@rug.nl">l.voerman@rug.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Robert,<div>The reference comes from include/osgViewer/GraphicsWindow near the end of the file:</div><div>USE_GRAPICSWINDOW_IMPLEMENTATION(Carbon)<br></div><div><br></div><div>I've created a pull request with a possible fix <a href="https://github.com/openscenegraph/OpenSceneGraph/pull/837" target="_blank">here</a>; however</div><div>- I dont have an apple so I can't test anything</div><div>- I got unsure if it's possible to build with mutiple windowing systems, and whether we should prefer cocoa if available.</div><div><br></div><div>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.</div><div>Laurens.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 11, 2019 at 9:54 AM Robert Osfield <<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Ravi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 10 Sep 2019 at 16:34, Ravi Mathur <<a href="mailto:ravidavi@utexas.edu" target="_blank">ravidavi@utexas.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>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.<br></div></div></blockquote><div><br></div><div>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?<br></div><div><br></div><div>Robert.<br></div><div> </div></div></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>