<div dir="ltr">I'm pretty sure OSX comes with OpenGL and OSX always provides at least OpenGL 3.2 as of any version of OSX in the past few years. I'm not an OSX wizard, but generally default vtk builds straight out of the box last I checked. Maybe try a clean VTK build using all the defaults and see if that works.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 29, 2018 at 3:08 PM, Langer, Stephen A. (Fed) <span dir="ltr"><<a href="mailto:stephen.langer@nist.gov" target="_blank">stephen.langer@nist.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi --<br>
<br>
I'm revisiting earler efforts to get vtk working with X11 on macOS. I'd been building vtk with Cocoa because with X11 vtk was complaining that it couldn't find OpenGL version 3.2 or later. I'm using macports to install OpenGL (mesa), and supposedly it's providing version 4.5 of OpenGL.<br>
<br>
I've tried building vtk both with and without VTK_USE_SYSTEM_GLEW, since vtk gets the version number from glew. I tried tracing though the process of getting the version number, starting with vtkOpenGLRenderWindow::<wbr>OpenGLInitContext(), but found the glew code to be amazingly opaque. All I know for sure is that in vtk's OpenGLInitContext, GLEW_VERSION_3_2 and GLEW_VERSION_3_1 are empty, but the glew source code *does* set them, in glewContextInit() in glew.c. I don't know what it sets them *to*, though.<br>
<br>
I'm using the latest vtk from git master, but the problem occurred with released versions too.<br>
<br>
I don't know if this is a vtk problem or a macports problem or a mesa problem, but I didn't get a helpful answer from the macports list. Any advice would be much appreciated.<br>
<br>
Thanks.<br>
<br>
-- Steve<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div></div></div>
</div>