<div dir="ltr">Elhassan,<br><div>The fact that most tests passed means that your VTK works correctly, however I am not sure you compiled it with EGL.</div><div><br></div><div>Can you make sure you have </div><div>VTK_USE_X = OFF</div><div>VTK_OPENGL_HAS_EGL = ON<br></div><div><br></div><div>in cmake-gui.</div><div><br></div><div>The header files I had to download myself from the Kronos page:</div><div><a href="https://www.khronos.org/registry/EGL/">https://www.khronos.org/registry/EGL/</a><br></div><div>just download the 4 header files (maintaining the same directory hierarchy).</div><div><br></div><div>The two libraries you need should be where your graphics driver is installed. This what I have on my machine:</div><div><br></div><div><div>//Path to a file.</div><div>EGL_INCLUDE_DIR:PATH=/home/danlipsa/include</div><div><br></div><div>//Path to a library.</div><div>EGL_LIBRARY:FILEPATH=/usr/lib/nvidia-384/libEGL.so</div><div><br></div><div>//Path to a library.</div><div>EGL_opengl_LIBRARY:FILEPATH=/usr/lib/nvidia-384/libOpenGL.so</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 19, 2017 at 5:45 PM, Elhassan Abdou <span dir="ltr"><<a href="mailto:elhassan.abdou@gmail.com" target="_blank">elhassan.abdou@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="#954F72"><div class="m_6702472908975722798WordSection1"><p class="MsoNormal">Hi,</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I ran the tests of VTK, they passed except 4 tests</p><p class="MsoNormal">The following tests FAILED:</p><p class="MsoNormal">1>         1045 - vtkRenderingCoreCxx-<wbr>TestResetCameraVerticalAspectR<wbr>atio (Failed)</p><p class="MsoNormal">1>         1046 - vtkRenderingCoreCxx-<wbr>TestResetCameraVerticalAspectR<wbr>atioParallel (Failed)</p><p class="MsoNormal">1>         1062 - vtkRenderingCoreCxx-<wbr>TestWindowToImageFilter (Failed)</p><p class="m_6702472908975722798MsoListParagraph" style="margin-left:.75in"><u></u><span>1><span style="font:7.0pt "Times New Roman"">              </span></span><u></u>1068 - vtkRenderingExternalCxx-<wbr>TestGLUTRenderWindow (Failed)</p><p class="MsoNormal">They are not related to EGL. They failed because of command line error “I guess”: </p><p class="MsoNormal">>Errors while running CTest</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: The command "setlocal</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: "C:\Program Files\CMake\bin\ctest.exe" --force-new-ctest-process -C Release</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: :cmEnd</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: :cmErrorLevel</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: exit /b %1</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: :cmDone</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd</p><p class="MsoNormal">1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code 8.</p><p class="MsoNormal">1>Done building project "RUN_TESTS.vcxproj" -- FAILED.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I tried to run the small EGL program, but it is not compiled. The unistd.h does not exist on Windows 10 visual studio 2017. I can not figure out where is the problem. The EGL files and lib I used, I got from ANGLE project. I think that is problem. Can you help me where I can find EGL files to my platform?.</p><p class="MsoNormal">I am using windows 10</p><p class="MsoNormal">Nvidia GTX 1060 Driver version 388.59</p><p class="MsoNormal">Visual studio 2017 community</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am looking forward to hearing from you</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Elhassan</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p><p class="MsoNormal"><u></u> <u></u></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:dan.lipsa@kitware.com" target="_blank">Dan Lipsa</a><br><b>Sent: </b>Monday, December 18, 2017 7:46 PM<br><b>To: </b><a href="mailto:elhassan.abdou@gmail.com" target="_blank">Elhassan Abdou</a><br><b>Cc: </b><a href="mailto:vtkusers@vtk.org" target="_blank">VTK Users</a><br><b>Subject: </b>Re: [vtkusers] vtkEGLRenderWindow error message</p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Not sure about glew. It runs fine on our test machines.</p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><a href="https://open.cdash.org/index.php?project=VTK" target="_blank">https://open.cdash.org/index.<wbr>php?project=VTK</a></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">taanab is an EGL build.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">What OS, graphics card, graphics card driver version do you have? Are you your EGL installation works correctly. Can you compile/run a small EGL program?</p></div><div><p class="MsoNormal">For instance</p></div><div><p class="MsoNormal"><a href="https://www.khronos.org/registry/EGL/sdk/docs/man/html/eglIntro.xhtml" target="_blank">https://www.khronos.org/<wbr>registry/EGL/sdk/docs/man/<wbr>html/eglIntro.xhtml</a></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Dec 18, 2017 at 1:23 PM, Elhassan Abdou <<a href="mailto:elhassan.abdou@gmail.com" target="_blank">elhassan.abdou@gmail.com</a>> wrote:</p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><p class="MsoNormal">Hi ,</p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thank you for your reply. I have not ran the test yet. I Will do this. But do you think that glew needs to be updated with eglew files that are supported from glew2.0.0?</p></div><div><p class="MsoNormal">I am not sure which version VTK has.</p></div><div><p class="MsoNormal">In the error message I noticed that glew failed to initialize</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards</p></div><div><p class="MsoNormal"><span style="color:#888888">Elhassan<u></u><u></u></span></p></div></div><div><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On 18 Dec 2017 7:18 PM, "Dan Lipsa" <<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>> wrote:</p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">Elhassan,</p></div><p class="MsoNormal">Do the VTK tests run fine? Try to compile with BUILD_TESTING and then run ctest in the build directory.</p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Sun, Dec 17, 2017 at 2:52 AM, Elhassan Abdou <<a href="mailto:elhassan.abdou@gmail.com" target="_blank">elhassan.abdou@gmail.com</a>> wrote:</p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-size:9.5pt">Hi all,</span></p><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">I am trying to use vtkEGLrenderWindow but I receive this runtime error:<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> Setting an EGL display to device index: 0 require EGL_EXT_device_base EGL_EXT_platform_device EGL_EXT_platform_base extensions<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><div><p class="MsoNormal"><span style="font-size:9.5pt">ERROR: In D:\toolkits\vtkrcgit\<wbr>Rendering\OpenGL2\<wbr>vtkEGLRenderWindow.cxx, line 356<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">vtkEGLRenderWindow (00000196387DE220): No matching EGL configuration found.<u></u><u></u></span></p></div></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Any idea why I am receiving this. Can you give me tip even how to fix this?<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Regards<u></u><u></u></span></p></div><p class="MsoNormal"><span class="m_6702472908975722798m-2642628066831237601m6920313820033720576m3712039487001075848gmail-hoenzb"><span style="font-size:9.5pt;color:#888888">Elhassan</span></span></p></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" 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" 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" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></blockquote></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" 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" 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" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a></p></blockquote></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></blockquote></div><br></div>