Haven
Haven

Reputation: 7966

how to install x11_xt_lib when configure VTK?

when I configure VTK with ccmake command on Ubuntu 14.04, the following error message happens after I press c button. how to install that stuff?

 CMake Error at Rendering/OpenGL/CMakeLists.txt:304 (message):
   X11_Xt_LIB could not be found.  Required for VTK X lib.

Upvotes: 32

Views: 17180

Answers (1)

tk_y1275963
tk_y1275963

Reputation: 588

Try to install libxt-dev using:

sudo apt-get install libxt-dev 

This is from http://vtk.1045678.n5.nabble.com/cmake-error-when-building-vtk-6-0-0-on-ubuntu-12-04-td5722859.html.

And at least it works for me, and my OS version is Ubuntu 14.04 LTS.

Upvotes: 27

Related Questions