build RTK on ubuntu 16.04
RTK-1.4.0
InsightToolkit-4.12.2
./cmake/nvcc-check.cmake line:86 commentout as
#message(FATAL_ERROR "nvcc-check: Please install adequate gcc for cuda.\nNote that gcc-4.x can be installed side-by-side with your current version of gcc.\n")
list(APPEND CUDA_NVCC_FLAGS "-g -G")
@RTK-1.4.0/code/CMakeLists.txt : 127 line
cmake -D ITK_DIR=/home/peng/projects/CT/InsightToolkit-4.12.2/build ..
cmake -D ITK_DIR=/home/peng/projects/CT/InsightToolkit-4.12.2/debug -D CMAKE_BUILD_TYPE=Debug -D RTK_USE_CUDA=ON ./RTK-1.4.0/
note :
it is needed to for test code
#define USE_CUDA