[vtk-developers] Fwd: Building VTK: undefined reference to `vtkXOpenGLRenderWindow::SetDisplayId(_XDisplay*)

Andrew Maclean andrew.amaclean at gmail.com
Mon May 30 20:42:16 EDT 2011


Has anyone found a solution these errors when building VTK on Ubuntu 11.04
with NVidia Cards installed?

../../bin/libvtkRenderingTCL.so.5.9.0: undefined reference to
`vtkXOpenGLRenderWindow::SetDisplayId(_XDisplay*)'
../../bin/libvtkRenderingTCL.so.5.9.0: undefined reference to
`vtkXOpenGLRenderWindow::SetParentId(unsigned long)'
../../bin/libvtkRenderingTCL.so.5.9.0: undefined reference to
`vtkXOpenGLRenderWindow::GetWindowId()'

I have also found that whilst test programs like AmbientSpheres build OK,
they run but no error message or display is produced.

If I download a pre-built binary e.g for ParaView then paraview will work.

The only oddity I can find in the CMakeCache.txt is
that OPENGL_xmesa_INCLUDE_DIR:PATH=OPENGL_xmesa_INCLUDE_DIR-NOTFOUND is set.
A quick search using Synaptic reveals that there is no xmesa package in
Ubuntu.

I have attached the CMakeCache.txt file.

It is not NVidia card specific, I have three machines with different NVidia
cards and all exhibit the same behavior.


Regards
   Andrew

-- 
___________________________________________
Andrew J. P. Maclean
Australian Centre for Field Robotics (ACFR)
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110531/da8bc0f9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeCache.txt.tar.gz
Type: application/x-gzip
Size: 22220 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110531/da8bc0f9/attachment-0001.bin>


More information about the vtk-developers mailing list