码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu14.0安装ITK的步骤

时间:2017-08-24 22:48:31      阅读:331      评论:0      收藏:0      [点我收藏+]

标签:mkdir   use   rac   下载   type   www.   too   art   dir   

(1) sudo apt-get install cmake 

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

(3)下载安装包InsightToolkit-4.11.1.tar.gz,下载地址

  sudo tar -xvf InsightToolkit-4.11.1.tar.gz

  mkdir build

  cd build/

  ccmake ../InsightToolkit-3.20.1

(4)CMake配置如下:

  BUILD_DOXYGEN                   OFF                                                   

  BUILD_EXAMPLES                  ON          

  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

ubuntu14.0安装ITK的步骤

标签:mkdir   use   rac   下载   type   www.   too   art   dir   

原文地址:http://www.cnblogs.com/hust-yingjie/p/7425342.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!