Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. 
like image 806
Haven Avatar asked May 07 '14 20:05

Haven


1 Answers

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.

like image 103
tk_y1275963 Avatar answered Sep 19 '22 06:09

tk_y1275963