Install ITK, VTK, Boost, CMake i

2018-05-07  本文已影响0人  璟的简书
1. install Anaconda

go to the official website and download the latest version.

2. install cmake
  ./bootstrap
  make -j4
  make install
3. install sublime
wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.2\ x64.tar.bz2
tar vxjf Sublime\ Text\ 2.0.2\ x64.tar.bz2

Finally, the file of Sublime is in the home directory.

4. install ITK
$ mkdir bin

$ cd bin
$ ccmake ..

$ make -j4 

$ sudo make install

5. install VTK
mkdir bin
cd bin
ccmake /path/to/VTK

make -j4
6. install Boost
$ cd path/to/boost_1_61_0
$ ./bootstrap.sh --prefix=path/to/installation/prefix
$ ./b2 

The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

    /home/your_name/ProSoftware/Boost/boost_1_62_0

The following directory should be added to linker library paths:

    /home/your_name/ProSoftware/Boost/boost_1_62_0/stage/lib

上一篇下一篇

猜你喜欢

热点阅读