[ITK Community] [Insight-users] set_target_properties called with incorrect number of arguments
Matt McCormick
matt.mccormick at kitware.com
Tue Feb 11 10:40:30 EST 2014
Hi Ujjwal,
What is the content of
/usr/local/VTK-6.1.0/build/VTKTargets.cmake:839
and
/usr/local/VTK-6.1.0/build/VTKTargets.cmake:850
?
(note that per convention, the number following the colon is the line number).
Thanks,
Matt
On Tue, Feb 11, 2014 at 4:08 AM, UJJWAL aryan <meetukme at gmail.com> wrote:
> 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
>
>
> _____________________________________
> 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
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
_____________________________________
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