[vtkusers] undefined reference to `vtkOSOpenGLRenderWindow::New()
Dominik Szczerba
dominik at itis.ethz.ch
Fri May 20 07:41:10 EDT 2011
I further looked into the problem and I see that cmake is stubborn on
this variable: VTK_OPENGL_HAS_OSMESA. It always switches it back on,
even if I set it to off. I do have my nvidia driver under
/usr/lib32/nvidia-current/libGL.so which I pass as OPENGL_gl_LIBRARY.
But it still seems unable to find it. Any ideas?
Thanks
Dominik
On Fri, May 20, 2011 at 1:24 PM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
> When compiling vtk-5.6.1 on Ubuntu 11.04 64 bit I get this compilation error:
>
> ../../bin/libvtkRendering.so.5.6.1: undefined reference to
> `vtkOSOpenGLRenderWindow::New()'
>
> I have my proprietary nvidia drivers installed, I did not enable any
> off screen rendering or so. My configuration:
>
> cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_TESTING=OFF
> -DBUILD_SHARED_LIBS=ON -DVTK_USE_TK=OFF -DVTK_WRAP_PYTHON=ON
> -DVTK_USE_GUISUPPORT=ON -DVTK_USE_QT=ON -DVTK_USE_QVTK=ON
> $HOME/pack/vtk-5.6.1
>
> and then select include/lib paths for python 2.7 in the GUI.
>
> Any hints how to proceed with the compilation are welcome.
>
> Dominik
>
More information about the vtkusers
mailing list