ITK install with IIKVtkGlue Module in Cmake Configure

ITKVtkGlue is a module in ITK, which by default is not built. You need to enable this module with cmake when you build ITK. Also, before you do this, you need to download, build and install VTK (which is very similar to building ITK) first. Assuming you are on a unix-like system, have VTK installed, you would do:

$ mkdir build
$ cd build
$ cmake -DModule_ITKVtkGlue=ON ..

The last option turns the ITKVtkGlue module on by default. And then:

$ make
$ sudo make install

Many of the examples on the ITK Wiki use VtkGlue. You can see how to format your CMakeLists.txt file by looking at any of those.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章