[ITK Community] [Insight-users] set_target_properties called with incorrect number of arguments

UJJWAL aryan meetukme at gmail.com
Tue Feb 11 04:08:09 EST 2014


Hi,

I installed VTK-6.1.0 in /usr/local/VTK-6.1.0/build

During installation of ITK-4.5, I set VTK_DIR to that path.

However, now it is giving me a series of errors of the type that appears in
the subject.

I have kept kept ITKVTKglue as on and BridgeOpencv also as on .


One part of the error is

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
 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.

 CMake Error at /usr/local/VTK-6.1.0/build/VTKTargets.cmake:839
(SET_TARGET_PROPERTIES):
   set_target_properties called with incorrect number of arguments.
 Call Stack (most recent call first):
   /usr/local/VTK-6.1.0/build/VTKConfig.cmake:44 (include)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   Modules/Bridge/VtkGlue/itk-module-init.cmake:4 (find_package)
   CMake/ITKModuleEnablement.cmake:309 (include)
   CMakeLists.txt:283 (include)



 CMake Error at /usr/local/VTK-6.1.0/build/VTKTargets.cmake:850
(SET_TARGET_PROPERTIES):
   set_target_properties called with incorrect number of arguments.
 Call Stack (most recent call first):
   /usr/local/VTK-6.1.0/build/VTKConfig.cmake:44 (include)
   /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
   Modules/Bridge/VtkGlue/itk-module-init.cmake:4 (find_package)
   CMake/ITKModuleEnablement.cmake:309 (include)
   CMakeLists.txt:283 (include)




-- 
Ujjwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140211/46c93694/attachment-0002.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list