<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div>Failing that you could try using Virtualbox.<br><br></div><div><br></div><div class="ydpd72e0b86signature"><div style="font-size:16px;"><div>Todd Martin, Ph.D.<br></div><div>Freelance Engineer/Software Architect.</div><br></div></div></div>
            <div><br></div><div><br></div>
            
            <div id="yahoo_quoted_7801013491" class="yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Tuesday, May 22, 2018, 6:56:58 PM GMT+12, Jesse Kinross-Smith <Jesse.Kinross-Smith@bentley.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="yiv9300875591"><style>#yiv9300875591 #yiv9300875591 --
 
 _filtered #yiv9300875591 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}
 _filtered #yiv9300875591 {panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv9300875591 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv9300875591  
#yiv9300875591 p.yiv9300875591MsoNormal, #yiv9300875591 li.yiv9300875591MsoNormal, #yiv9300875591 div.yiv9300875591MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:sans-serif;}
#yiv9300875591 a:link, #yiv9300875591 span.yiv9300875591MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv9300875591 a:visited, #yiv9300875591 span.yiv9300875591MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv9300875591 p.yiv9300875591msonormal0, #yiv9300875591 li.yiv9300875591msonormal0, #yiv9300875591 div.yiv9300875591msonormal0
        {margin-right:0cm;margin-left:0cm;font-size:11.0pt;font-family:sans-serif;}
#yiv9300875591 p.yiv9300875591msonormal, #yiv9300875591 li.yiv9300875591msonormal, #yiv9300875591 div.yiv9300875591msonormal
        {margin-right:0cm;margin-left:0cm;font-size:11.0pt;font-family:sans-serif;}
#yiv9300875591 p.yiv9300875591msochpdefault, #yiv9300875591 li.yiv9300875591msochpdefault, #yiv9300875591 div.yiv9300875591msochpdefault
        {margin-right:0cm;margin-left:0cm;font-size:11.0pt;font-family:sans-serif;}
#yiv9300875591 span.yiv9300875591msohyperlink
        {}
#yiv9300875591 span.yiv9300875591msohyperlinkfollowed
        {}
#yiv9300875591 span.yiv9300875591emailstyle17
        {}
#yiv9300875591 p.yiv9300875591msonormal1, #yiv9300875591 li.yiv9300875591msonormal1, #yiv9300875591 div.yiv9300875591msonormal1
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:sans-serif;}
#yiv9300875591 span.yiv9300875591msohyperlink1
        {color:#0563C1;text-decoration:underline;}
#yiv9300875591 span.yiv9300875591msohyperlinkfollowed1
        {color:#954F72;text-decoration:underline;}
#yiv9300875591 span.yiv9300875591emailstyle171
        {font-family:sans-serif;color:windowtext;}
#yiv9300875591 p.yiv9300875591msochpdefault1, #yiv9300875591 li.yiv9300875591msochpdefault1, #yiv9300875591 div.yiv9300875591msochpdefault1
        {margin-right:0cm;margin-left:0cm;font-size:11.0pt;font-family:sans-serif;}
#yiv9300875591 span.yiv9300875591EmailStyle29
        {font-family:sans-serif;color:windowtext;}
#yiv9300875591 .yiv9300875591MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv9300875591 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
#yiv9300875591 div.yiv9300875591WordSection1
        {}
#yiv9300875591 </style><div>
<div class="yiv9300875591WordSection1">
<p class="yiv9300875591MsoNormal">So it looks like Microsoft’s VM’s only support OpenGL 1.1, and of course our library is built using OpenGL2.</p> 
<p class="yiv9300875591MsoNormal">Somehow I thought there’d be a fallback option in case it wasn’t supported, but this doesn’t seem to be the case.</p> 
<p class="yiv9300875591MsoNormal">  </p> 
<p class="yiv9300875591MsoNormal"><span style="">☹</span></p> 
<p class="yiv9300875591MsoNormal">Jesse</p> 
<p class="yiv9300875591MsoNormal">--</p> 
<p class="yiv9300875591MsoNormal">Jesse Kinross-Smith</p> 
<p class="yiv9300875591MsoNormal">Senior Software Engineer - BSW</p> 
<p class="yiv9300875591MsoNormal">Bentley Systems, Fremantle</p> 
<p class="yiv9300875591MsoNormal">  </p> 
<div class="yiv9300875591yqt7775985771" id="yiv9300875591yqt64469"><div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<p class="yiv9300875591MsoNormal"><b>From:</b> Todd Martin [mailto:nztoddler@yahoo.com] <br clear="none">
<b>Sent:</b> Tuesday, 22 May 2018 1:56 PM<br clear="none">
<b>To:</b> vtk <vtkusers@vtk.org>; Jesse Kinross-Smith <Jesse.Kinross-Smith@bentley.com><br clear="none">
<b>Subject:</b> Re: [vtkusers] Failed to get wglChoosePixelFormatARB on VM</p> 
</div>
</div>
<p class="yiv9300875591MsoNormal">  </p> 
<div>
<div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:12.0pt;"><br clear="none">
Did you install GLEW on the virtual machine?</span></p> 
</div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:12.0pt;">  </span></p> 
</div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:12.0pt;">  </span></p> 
</div>
<div>
<div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:12.0pt;">Todd Martin, Ph.D.</span></p> 
</div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:12.0pt;">Freelance Engineer/Software Architect.</span></p> 
</div>
<p class="yiv9300875591MsoNormal"><span style="font-size:12.0pt;">  </span></p> 
</div>
</div>
</div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:12.0pt;">  </span></p> 
</div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:12.0pt;">  </span></p> 
</div>
<div id="yiv9300875591yahoo_quoted_7661031766">
<div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:10.0pt;">On Tuesday, May 22, 2018, 5:33:53 PM GMT+12, Jesse Kinross-Smith <<a rel="nofollow" shape="rect" ymailto="mailto:Jesse.Kinross-Smith@bentley.com" target="_blank" href="mailto:Jesse.Kinross-Smith@bentley.com">Jesse.Kinross-Smith@bentley.com</a>> wrote:
</span></p> 
</div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv9300875591MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<div id="yiv9300875591">
<div>
<div>
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">Getting the following errors when testing our app with VTK rendering on a Hyper-V virtual machine (works great on my laptop though):</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 685</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">vtkWin32OpenGLRenderWindow (000001D110ADE9F0): failed to get wglChoosePixelFormatARB</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 769</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">vtkWin32OpenGLRenderWindow (000001D110ADE9F0): failed to get valid pixel format.</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 785</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">vtkWin32OpenGLRenderWindow (000001D110ADE9F0): GLEW could not be initialized.</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">We’re using the vtkMFCWindow class and I don’t see any fallback options anywhere.</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">Is there any way this can default to software rendering on low end machines like this?</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">Jesse</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">--</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">Jesse Kinross-Smith</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">Senior Software Engineer - BSW</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;">Bentley Systems, Fremantle</span></p> 
<p class="yiv9300875591msonormal"><span style="font-size:10.0pt;"> </span></p> 
</div>
</div>
</div>
<p class="yiv9300875591MsoNormal"><span style="font-size:10.0pt;">_______________________________________________<br clear="none">
Powered by <a rel="nofollow" shape="rect" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br clear="none">
<br clear="none">
Visit other Kitware open-source projects at <a rel="nofollow" shape="rect" target="_blank" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=FK6sM6Bp3hbBX5EMYm2faK9qcACWQxeJcUnKBuPmoWI&s=bqbTWJI4m5_7_qEnO2JKkvbluKt8OCZB4gYwDl9xUpI&e=">
http://www.kitware.com/opensource/opensource.html</a><br clear="none">
<br clear="none">
Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" shape="rect" target="_blank" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.vtk.org_Wiki_VTK-5FFAQ&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=FK6sM6Bp3hbBX5EMYm2faK9qcACWQxeJcUnKBuPmoWI&s=UzFAHgl7PyQg5ESRLyUxCocKInz_vIzTQ_d1cJRd0VU&e=">
http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none">
<br clear="none">
Search the list archives at: <a rel="nofollow" shape="rect" target="_blank" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3Dvtkusers&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=FK6sM6Bp3hbBX5EMYm2faK9qcACWQxeJcUnKBuPmoWI&s=FBdGMsou1CQoJAQ6LND1TyA0NVI1KbJVx4vcVuvrWF0&e=">
http://markmail.org/search/?q=vtkusers</a><br clear="none">
<br clear="none">
Follow this link to subscribe/unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__vtk.org_mailman_listinfo_vtkusers&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=FK6sM6Bp3hbBX5EMYm2faK9qcACWQxeJcUnKBuPmoWI&s=0tDVpJThCwRRKDpjOerLgkBKOzJbzHtlrNCi_KBFapY&e=">https://vtk.org/mailman/listinfo/vtkusers</a></span></p> 
</div>
</div>
</div>
</div></div>
</div>
</div></div></div>
                </div>
            </div></div></body></html>