It's a CMake + Ubuntu 11.04 issue.  In the latest version of Ubuntu (Debian actually) they included multiarch support.  Many libraries are no longer located in /usr/lib, now they are in /usr/lib/x86_64-linux-gnu.  This causes cmake to fail when it searches for things like X11.<br>
<br>To solve this, I edited UnixPaths.cmake in my cmake 2.8.4 install and appended the path /usr/lib/x86_64-linux-gnu to the variables CMAKE_SYSTEM_LIBRARY_PATH and CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES.<br><br><br>Here is the cmake bug report:  <a href="http://public.kitware.com/Bug/view.php?id=12037">http://public.kitware.com/Bug/view.php?id=12037</a><br>
<br>Pat<br><br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 7:13 PM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com">andrew.amaclean@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>Like you I have searched the web and asked on the VTK developers group to no avail. I have not found a solution at all. </div>NVidia 270.4106 is the one that is currently in use for Ubuntu 11.04. <div><br></div><div>
Oddly enough if you download the paraview binary it works Ok, clearly it hasn't been compiled under Ubuntu 11.04. </div>
<div><br></div><div>So I am now driven to writing a filter that builds a polydata structure saving it as a vtp file and then using ParaView. </div><div><br></div><div><br>Regards</div><div>   Andrew</div><div><br><div class="gmail_quote">

On Wed, Jun 8, 2011 at 1:12 AM, Jennifer Horsman <span dir="ltr"><<a href="mailto:jlhorsman@lbl.gov" target="_blank">jlhorsman@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Andrew,<br><br>Did you ever find a solution to the problem of building VTK in Ubuntu 11.04? I am getting the same errors as you and have tried everyone's solutions, but nothing works. Originally, I had just done an upgrade from 10.10 to 11.04 and VTK worked fine. I was having other issues that prompted me to start over with a clean install and now I am having troubles. Perhaps there are issues with some of the newer packages.<br>


<br>Also, Nvidia did come out recently with new drivers for Ubuntu 11.04 (actually, I think they are just for any Linux) that apparently fix some problems with the X server:<br><br><a href="http://news.softpedia.com/news/New-Nvidia-Linux-Driver-Supports-Ubuntu-11-04-196264.shtml" target="_blank">http://news.softpedia.com/news/New-Nvidia-Linux-Driver-Supports-Ubuntu-11-04-196264.shtml</a><br>


<br>Thanks,<br><font color="#888888">Jennifer<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><div class="im">___________________________________________<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" target="_blank">+61 2 9351 3283</a><br>Fax: <a href="tel:%2B61%202%209351%207474" value="+61293517474" target="_blank">+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>
<br>_______________________________________________<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/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_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>