[vtkusers] Problem compiling VTK

Alejandro Galindo Mateo agalmat at hotmail.com
Thu Mar 3 09:59:50 EST 2005


Hello VTK users,

I´m trying to compile VTK in Linux Mandrake and I get the next error:

/home/vtk/VTK/Wrapping/Tcl: building default_target
Building executable /home/vtk/VTK/bin/vtk...
/home/vtk/VTK/bin/libvtkRenderingTCL.a(vtkXRenderWindowTclInteractor.o)(.text+0xee9): 
In function `vtkXRenderWindowTclInteractorCallback(_WidgetRec*, void*, 
_XEvent*, char*)':
: undefined reference to `XtSetKeyboardFocus'
/home/vtk/VTK/bin/libvtkRendering.a(vtkGraphicsFactory.o)(.text+0x40b): In 
function `vtkGraphicsFactory::CreateInstance(char const*)':
: undefined reference to `vtkXRenderWindowInteractor::New()'
collect2: ld returned 1 exit status
make[3]: *** [/home/vtk/VTK/bin/vtk] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping_Tcl] Error 2
make: *** [default_target] Error 2

I need help, I don´t know if I have to download other libraries.

Thanks for all,





More information about the vtkusers mailing list