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

Andrew Maclean andrew.amaclean at gmail.com
Tue May 31 20:46:48 EDT 2011


Hi,

libosmesa6 is already installed so I reinstalled it but to no avail. I still
get the same message. Do you have an Nvidia card in your machine?

If so try running glxgears. On my machines the gears don't turn! So I am
beginning to suspect the Ubuntu NVidia driver is broken.

Regards
   Andrew


On Tue, May 31, 2011 at 10:27 PM, Jean-Christophe Fillion-Robin <
jchris.fillionr at kitware.com> wrote:

> Hi Folks,
>
> We faced a similar issue building Slicer (www.slicer.org) on Ubuntu 11.04.
> Installing the package libosmesa6-dev solved the issue.
>
> Hth
> Jc
>
>
> On Tue, May 31, 2011 at 2:26 AM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:
>
>> I've recently also seen strange errors about GL. What helped, quite
>> unexpectedly, was installing libosmesa package.
>>
>> Dominik
>>
>> On Tue, May 31, 2011 at 3:12 AM, Andrew Maclean
>> <andrew.amaclean at gmail.com> wrote:
>> > Hi David,
>> > 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.
>> > Do you have any clues as to what I should look for?
>> > Regards
>> >    Andrew
>> > On Tue, May 31, 2011 at 10:53 AM, David Gobbi <david.gobbi at gmail.com>
>> wrote:
>> >>
>> >> Hi Andrew,
>> >>
>> >> The OPENGL_xmesa_INCLUDE_DIR is a red herring, it isn't needed.  There
>> >> must be something else that is causing VTK to misdetect either GL or
>> X11.
>> >>
>> >>  - David
>> >>
>> >>
>> >> On Mon, May 30, 2011 at 6:42 PM, Andrew Maclean
>> >> <andrew.amaclean at gmail.com> wrote:
>> >> >
>> >> > 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/
>> >> > ___________________________________________
>> >
>> >
>> >
>> > --
>> > ___________________________________________
>> > 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/
>> > ___________________________________________
>> >
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtk-developers
>> >
>> >
>> >
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
>
> --
> +1 919 869 8849
>
>


-- 
___________________________________________
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/20110601/4c806dd3/attachment.html>


More information about the vtk-developers mailing list