[vtkusers] vtk5 in ubuntu linux

Obada Mahdi omahdi at gmx.de
Wed Dec 6 02:07:15 EST 2006


Hi Pedro,

On 12/5/06, Pedro Amaral <lockemind at gmail.com> wrote:
> I tried to install VTK5 on linux (ubuntu edgy), i installed all necessary
> packages and configured cmake.
> When i tried the compilation, almost at the end of it i got that error, i
> have no ideia how can i fix this.
[...]
> Linking CXX executable ../../../bin/GraphicsCxxTests
> /home/locke/VTK/bin/libvtkRendering.a(vtkGraphicsFactory.o): In function
> `vtkGraphicsFactory::CreateInstance(char const*)':
>  vtkGraphicsFactory.cxx:(.text+0x4af): undefined reference to
> `vtkXRenderWindowInteractor::New()'

this looks like the "VTK_USE_X" option was set to "OFF" when
configuring VTK through CMake.  Could you check that setting?  Or was
it disabled by intention?

Anyway, I would think that the error you posted should not happen, but
in case you actually want to compile with X11 support, enabling that
option might just solve your problem.


Regards

Obada



More information about the vtkusers mailing list