<div>Hi David,</div>From what I can see I have all the libgl*-dev packages and the lib-x11-dev packages installed. So it may be something with CMake.<div><br><div>Do you have any clues as to what I should look for?</div><div>
<br>Regards</div><div>   Andrew</div><div><br><div class="gmail_quote">On Tue, May 31, 2011 at 10:53 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Andrew,<br>
<br>
The OPENGL_xmesa_INCLUDE_DIR is a red herring, it isn't needed.  There<br>
must be something else that is causing VTK to misdetect either GL or X11.<br>
<font color="#888888"><br>
 - David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Mon, May 30, 2011 at 6:42 PM, Andrew Maclean<br>
<<a href="mailto:andrew.amaclean@gmail.com">andrew.amaclean@gmail.com</a>> wrote:<br>
><br>
> Has anyone found a solution these errors when building VTK on Ubuntu 11.04<br>
> with NVidia Cards installed?<br>
> ../../bin/libvtkRenderingTCL.so.5.9.0: undefined reference to<br>
> `vtkXOpenGLRenderWindow::SetDisplayId(_XDisplay*)'<br>
> ../../bin/libvtkRenderingTCL.so.5.9.0: undefined reference to<br>
> `vtkXOpenGLRenderWindow::SetParentId(unsigned long)'<br>
> ../../bin/libvtkRenderingTCL.so.5.9.0: undefined reference to<br>
> `vtkXOpenGLRenderWindow::GetWindowId()'<br>
> I have also found that whilst test programs like AmbientSpheres build OK,<br>
> they run but no error message or display is produced.<br>
> If I download a pre-built binary e.g for ParaView then paraview will work.<br>
> The only oddity I can find in the CMakeCache.txt is<br>
> that OPENGL_xmesa_INCLUDE_DIR:PATH=OPENGL_xmesa_INCLUDE_DIR-NOTFOUND is set.<br>
> A quick search using Synaptic reveals that there is no xmesa package in<br>
> Ubuntu.<br>
> I have attached the CMakeCache.txt file.<br>
> It is not NVidia card specific, I have three machines with different NVidia<br>
> cards and all exhibit the same behavior.<br>
><br>
> Regards<br>
>    Andrew<br>
> --<br>
> ___________________________________________<br>
> Andrew J. P. Maclean<br>
> Australian Centre for Field Robotics (ACFR)<br>
> The Rose Street Building J04<br>
> The University of Sydney  2006  NSW<br>
> AUSTRALIA<br>
> Ph: <a href="tel:%2B61%202%209351%203283" value="+61293513283">+61 2 9351 3283</a><br>
> Fax: <a href="tel:%2B61%202%209351%207474" value="+61293517474">+61 2 9351 7474</a><br>
> URL: <a href="http://www.acfr.usyd.edu.au/" target="_blank">http://www.acfr.usyd.edu.au/</a><br>
> ___________________________________________<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>___________________________________________<br>Andrew J. P. Maclean<br>Australian Centre for Field Robotics (ACFR)<br>The Rose Street Building J04<br>The University of Sydney  2006  NSW<br>
AUSTRALIA<br>Ph: +61 2 9351 3283<br>Fax: +61 2 9351 7474<br>URL: <a href="http://www.acfr.usyd.edu.au/" target="_blank">http://www.acfr.usyd.edu.au/</a><br>___________________________________________<br>
</div></div>