<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.yiv4612090169msonormal, li.yiv4612090169msonormal, div.yiv4612090169msonormal
        {mso-style-name:yiv4612090169msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.yiv4612090169msochpdefault, li.yiv4612090169msochpdefault, div.yiv4612090169msochpdefault
        {mso-style-name:yiv4612090169msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.yiv4612090169msohyperlink
        {mso-style-name:yiv4612090169msohyperlink;}
span.yiv4612090169msohyperlinkfollowed
        {mso-style-name:yiv4612090169msohyperlinkfollowed;}
span.yiv4612090169emailstyle17
        {mso-style-name:yiv4612090169emailstyle17;}
p.yiv4612090169msonormal1, li.yiv4612090169msonormal1, div.yiv4612090169msonormal1
        {mso-style-name:yiv4612090169msonormal1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.yiv4612090169msohyperlink1
        {mso-style-name:yiv4612090169msohyperlink1;
        color:#0563C1;
        text-decoration:underline;}
span.yiv4612090169msohyperlinkfollowed1
        {mso-style-name:yiv4612090169msohyperlinkfollowed1;
        color:#954F72;
        text-decoration:underline;}
span.yiv4612090169emailstyle171
        {mso-style-name:yiv4612090169emailstyle171;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.yiv4612090169msochpdefault1, li.yiv4612090169msochpdefault1, div.yiv4612090169msochpdefault1
        {mso-style-name:yiv4612090169msochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle29
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">So it looks like Microsoft’s VM’s only support OpenGL 1.1, and of course our library is built using OpenGL2.<o:p></o:p></p>
<p class="MsoNormal">Somehow I thought there’d be a fallback option in case it wasn’t supported, but this doesn’t seem to be the case.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Segoe UI Emoji",sans-serif">☹</span><o:p></o:p></p>
<p class="MsoNormal">Jesse<o:p></o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal">Jesse Kinross-Smith<o:p></o:p></p>
<p class="MsoNormal">Senior Software Engineer - BSW<o:p></o:p></p>
<p class="MsoNormal">Bentley Systems, Fremantle<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Todd Martin [mailto:nztoddler@yahoo.com] <br>
<b>Sent:</b> Tuesday, 22 May 2018 1:56 PM<br>
<b>To:</b> vtk <vtkusers@vtk.org>; Jesse Kinross-Smith <Jesse.Kinross-Smith@bentley.com><br>
<b>Subject:</b> Re: [vtkusers] Failed to get wglChoosePixelFormatARB on VM<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica",sans-serif"><br>
Did you install GLEW on the virtual machine?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica",sans-serif">Todd Martin, Ph.D.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica",sans-serif">Freelance Engineer/Software Architect.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
<div id="yahoo_quoted_7661031766">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">On Tuesday, May 22, 2018, 5:33:53 PM GMT+12, Jesse Kinross-Smith <<a href="mailto:Jesse.Kinross-Smith@bentley.com">Jesse.Kinross-Smith@bentley.com</a>> wrote:
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p> </o:p></span></p>
</div>
<div>
<div id="yiv4612090169">
<div>
<div>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Getting the following errors when testing our app with VTK rendering on a Hyper-V virtual machine (works great on my laptop though):<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 685<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">vtkWin32OpenGLRenderWindow (000001D110ADE9F0): failed to get wglChoosePixelFormatARB<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx, line 769<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">vtkWin32OpenGLRenderWindow (000001D110ADE9F0): failed to get valid pixel format.<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">ERROR: In C:\hg\sharedlibs\VTK-8.1.0\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 785<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">vtkWin32OpenGLRenderWindow (000001D110ADE9F0): GLEW could not be initialized.<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">We’re using the vtkMFCWindow class and I don’t see any fallback options anywhere.<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Is there any way this can default to software rendering on low end machines like this?<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Jesse<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">--<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Jesse Kinross-Smith<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Senior Software Engineer - BSW<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Bentley Systems, Fremantle<o:p></o:p></span></p>
<p class="yiv4612090169msonormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">_______________________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a 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=" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a 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=" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a 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=" target="_blank">
http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a 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=" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>