<div dir="ltr">It seems you are missing KHR/khrplatform.h<div>You can download it from the EGL website:</div><div><a href="https://www.khronos.org/registry/EGL/">https://www.khronos.org/registry/EGL/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 18, 2017 at 3:51 AM, 张驭洲 <span dir="ltr"><<a href="mailto:yzhzhang@ipe.ac.cn" target="_blank">yzhzhang@ipe.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>Hello,<br><br>I'm building ParaView 5.2.0 on a machine that uses NVIDIA Tesla K80 GPUs. The K80 GPUs have no interface for monitor, so I have to use off screen rendering. It's said that EGL is a pretty good choice for this situation, but as I switch VTK_USE_OFFSCREEN and VTK_USE_OFFSCREEN_EGL to "ON" and then make,  I get these errors:<br><br>Built target vtkIOImage<br>[ 16%] Building C object VTK/ThirdParty/glew/vtkglew/<wbr>CMakeFiles/vtkglew.dir/src/<wbr>glew.c.o<br>In file included from /pan20/yzzhang/EGL/egl.h:39,<br>                 from /pan20/yzzhang/ParaView-v5.2.<wbr>0/VTK/ThirdParty/glew/vtkglew/<wbr>src/glew.c:38:<br>/pan20/yzzhang/EGL/<wbr>eglplatform.h:37:29: error: KHR/khrplatform.h: No such file or directory<br>In file included from /pan20/yzzhang/EGL/egl.h:39,<br>                 from /pan20/yzzhang/ParaView-v5.2.<wbr>0/VTK/ThirdParty/glew/vtkglew/<wbr>src/glew.c:38:<br>/pan20/yzzhang/EGL/<wbr>eglplatform.h:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EGLint’<br>In file included from /pan20/yzzhang/ParaView-v5.2.<wbr>0/VTK/ThirdParty/glew/vtkglew/<wbr>src/glew.c:38:<br>/pan20/yzzhang/EGL/egl.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EGLBoolean’<br>In file included from /pan20/yzzhang/ParaView-v5.2.<wbr>0/VTK/ThirdParty/glew/vtkglew/<wbr>src/glew.c:38:<br>/pan20/yzzhang/EGL/egl.h:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EGLBoolean’<br>/pan20/yzzhang/EGL/egl.h:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EGLContext’<br>/pan20/yzzhang/EGL/egl.h:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EGLSurface’<br>/pan20/yzzhang/EGL/egl.h:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EGLSurface’<br>......<br><br>Maybe it is clear that there is something wrong with the EGL header file, but I don't know how to fix it. The operation system is CentOS 6.6. There is an integrated graphics and 6 K80 GPUs. I connect to the machine using ssh and have set headless X server using one of the K80 GPUs. I can run the glxgears test in the off screen mode, but I don'n know how to make sure that EGL is correctly setted. I want to know how to use EGL for off screen rendering.<br><br>Any help would be highly appreciated!<br><br>-Zhang<br><span></span><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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>