ubuntu14.0安裝ITK的步驟

(1) sudo apt-get install cmake html

(2) sudo apt-get install cmake-curses-guiui

(3)下載安裝包InsightToolkit-4.11.1.tar.gz,下載地址this

  sudo tar -xvf InsightToolkit-4.11.1.tar.gz.net

  mkdir buildhtm

  cd build/blog

  ccmake ../InsightToolkit-3.20.1get

(4)CMake配置以下:博客

  BUILD_DOXYGEN                   OFF                                                   it

  BUILD_EXAMPLES                  ON          gui

  BUILD_SHARED_LIBS               OFF        

  BUILD_TESTING                   ON         

  CMAKE_BACKWARDS_COMPATIBILITY   2.4                                       

  CMAKE_BUILD_TYPE                release                                                                                                                                                                 

  CMAKE_INSTALL_PREFIX            /usr/local/InsightToolkit-3.20.1      

  ITK_USE_KWSTYLE                 OFF

  c完成,g完成。無錯誤無警告。

(5)sudo make

(6)sudo make install

也可參考如下兩個博客:

http://blog.csdn.net/daliangd/article/details/12835393

http://blog.csdn.net/arackethis/article/details/42274825

相關文章
相關標籤/搜索