<div dir="ltr"><div><div><div>Hi,<br><br></div>I installed VTK-6.1.0 in /usr/local/VTK-6.1.0/build<br><br>During installation of ITK-4.5, I set VTK_DIR to that path.<br><br></div>However, now it is giving me a series of errors of the type that appears in the subject.<br>
<br></div>I have kept kept ITKVTKglue as on and BridgeOpencv also as on .<br><br><br>One part of the error is <br><br>ATTENTION: You have enabled the use of fftw, this library is distributed under a GPL license. By enabling this option, the binary of the ITK<br>
libraries that you are going to build will be covered by a GPL license, and so it will be any executable that you link against these libraries.<br><br> CMake Error at /usr/local/VTK-6.1.0/build/VTKTargets.cmake:839 (SET_TARGET_PROPERTIES):<br>
set_target_properties called with incorrect number of arguments.<br> Call Stack (most recent call first):<br> /usr/local/VTK-6.1.0/build/VTKConfig.cmake:44 (include)<br> /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)<br>
Modules/Bridge/VtkGlue/itk-module-init.cmake:4 (find_package)<br> CMake/ITKModuleEnablement.cmake:309 (include)<br> CMakeLists.txt:283 (include)<br><br><br><br> CMake Error at /usr/local/VTK-6.1.0/build/VTKTargets.cmake:850 (SET_TARGET_PROPERTIES):<br>
set_target_properties called with incorrect number of arguments.<br> Call Stack (most recent call first):<br> /usr/local/VTK-6.1.0/build/VTKConfig.cmake:44 (include)<br> /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)<br>
Modules/Bridge/VtkGlue/itk-module-init.cmake:4 (find_package)<br> CMake/ITKModuleEnablement.cmake:309 (include)<br> CMakeLists.txt:283 (include)<br><br><div><br><br clear="all"><div><div><div><br>-- <br>Ujjwal<br><br>
</div></div></div></div></div>