<div dir="ltr">Hello,<div><br></div><div>  I'm trying to install Paraview-v5.0.0 with OS Mesa for off screen rendering using cmake. I was following instructions from the wiki. I installed the mesa libraries first. </div><div><br></div><div><div>#From Paraview wiki</div><div>./configure --disable-xvmc --disable-glx --disable-dri --with-dri-drivers="" --with-gallium-drivers="swrast" --enable-texture-float --disable-shared-glapi -\</div><div>-disable-egl --with-egl-platforms="" --enable-gallium-osmesa --enable-gallium-llvm=yes --with-llvm-shared-libs</div></div><div><br></div><div>I had issues with "-disable-shared-glapi". Then on <a href="http://comments.gmane.org/gmane.comp.science.paraview.user/26440">http://comments.gmane.org/gmane.comp.science.paraview.user/26440</a>, I saw that this option was removed. Now it compiles ok.</div><div>                                             </div><div><div>./configure --disable-xvmc --disable-glx --disable-dri --with-dri-drivers= --with-gallium-drivers=swrast --enable-texture-float --disable-egl --with-egl-plat\</div><div>forms= --enable-gallium-osmesa --enable-gallium-llvm=yes --prefix=/storage/home/guv106/Installers/Paraview/mesa-11.1.2 &> log.configure</div></div><div><br></div><div>Moving on after installing a new cmake with SSL compatibility that finds the right python etc. , I get this error now when compiling paraview</div><div><div><br></div><div>/usr/lib64/libGL.so.1: undefined reference to `_glapi_tls_Dispatch'</div></div><div><br></div><div>I see that the wiki asks me to use the system libGLU as <span style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;background-color:rgb(249,249,249)">-DOPENGL_glu_LIBRARY=</span><span class="br0" style="font-family:monospace,monospace;font-size:1em;line-height:1.2em;color:rgb(122,8,116);font-weight:bold">{</span><span style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;background-color:rgb(249,249,249)">MESA_INSTALL_PREFIX</span><span class="br0" style="font-family:monospace,monospace;font-size:1em;line-height:1.2em;color:rgb(122,8,116);font-weight:bold">}</span><span class="sy0" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;font-weight:bold">/</span><span style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;background-color:rgb(249,249,249)">lib</span><span class="sy0" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;font-weight:bold">/</span><span style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;background-color:rgb(249,249,249)">libGLU.</span><span class="br0" style="font-family:monospace,monospace;font-size:1em;line-height:1.2em;color:rgb(122,8,116);font-weight:bold">[</span><span style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;background-color:rgb(249,249,249)">so</span><span class="sy0" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;font-weight:bold">|</span><span style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;background-color:rgb(249,249,249)">a</span><span class="br0" style="font-family:monospace,monospace;font-size:1em;line-height:1.2em;color:rgb(122,8,116);font-weight:bold">]</span><span style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;line-height:1.2em;background-color:rgb(249,249,249)"> \, </span>however, that library on my system refers to the system libGL instead of the libOSMesa.so I just installed. How do I get around this? I'm unable to install libGLU from freedesktop myself because it seem to need GL. Any ideas? Am I missing some obvious step here? Should I attach my CMakeCache.txt?</div><div><br></div><div>ganesh</div></div>