[ITK] Module_ITKLevelSetsv4Visualization warning
Matt McCormick
matt.mccormick at kitware.com
Mon Oct 10 12:53:05 EDT 2016
Hi Kenji,
Could you please share the content of
Syntax Warning in cmake code at
D:/workspace_itk/InsightToolkit-4.10.1-java-bin/lib/cmake/ITK-4.10/Modules/ITKLevelSetsv4Visualization.cmake:41:91
?
Thanks,
Matt
On Mon, Oct 10, 2016 at 11:55 AM, Kenji Tsumura
<kenji.tsumura at neosoftmedical.com> wrote:
> Hi Francois,
>
>
>
> I tried again and saw the same problem.
>
> I turned on only BUILD_EXAMPLES and Module_ITKLevelSetsv4Visualization.
>
>
>
> I forgot to mention that I use Visual Studio 2013.
>
>
>
> Thank you,
>
>
>
> Kenji
>
>
>
> From: Francois Budin [mailto:francois.budin at kitware.com]
> Sent: Monday, October 10, 2016 10:38 AM
> To: Kenji Tsumura
> Cc: community at itk.org
> Subject: Re: [ITK] Module_ITKLevelSetsv4Visualization warning
>
>
>
> Hello Kenji,
>
> I do not seem to be able to reproduce your error on Ubuntu 16.04:
>
> cmake 3.1.1
>
> ITK 4.10.1
>
> VTK 7.0.0
>
> Did you change any of the default values in CMake beside BUILD_EXAMPLES and
> Module_ITKLevelSetsv4Visualization?
>
> Francois
>
>
>
> On Mon, Oct 10, 2016 at 10:20 AM, Kenji Tsumura
> <kenji.tsumura at neosoftmedical.com> wrote:
>
> Hi,
>
>
>
> When I tried to configure ITK, I had the following warning.
>
> I turned on Module_ITKLevelSetsv4Visualization and BUILD_EXAMPLES in CMake.
>
> Apparently, due to this warning, I can't use classes in the
> LevelSetV4Visualization module,
>
> when I tried to build an example downloaded from the ITK website.
>
> (https://itk.org/ITKExamples/src/Segmentation/LevelSetsv4Visualization/VisualizeEvolvingDense2DLevelSetZeroSet/Documentation.html)
>
>
>
> I can modify the cmake file directly, but "Generate" action erases the
> changes I made.
>
> So I am not sure what to do.
>
>
>
>
>
> CMake Warning (dev) at CMake/ITKModuleAPI.cmake:54 (include):
>
> Syntax Warning in cmake code at
>
>
>
>
> D:/workspace_itk/InsightToolkit-4.10.1-java-bin/lib/cmake/ITK-4.10/Modules/ITKLevelSetsv4Visualization.cmake:41:91
>
>
>
> Argument not separated from preceding token by whitespace.
>
> Call Stack (most recent call first):
>
> CMake/ITKModuleAPI.cmake:26 (itk_module_load)
>
> CMake/ITKModuleAPI.cmake:84 (_itk_module_config_recurse)
>
> D:/workspace_itk/InsightToolkit-4.10.1-java-bin/ITKConfig.cmake:68
> (itk_module_config)
>
> Examples/CMakeLists.txt:5 (find_package)
>
> This warning is for project developers. Use -Wno-dev to suppress it.
>
>
>
>
>
> My environment is ...
>
> OS: Windows 7
>
> CMake 3.1.1
>
> ITK 4.10.1
>
> VTK 7.0.0
>
>
>
> I would appreciate any advice.
>
> Thank you in advance!
>
>
>
> Kenji
>
> Disclaimer: The information contained in this communication may be
> confidential, is intended only for the use of the recipient(s) named above,
> and may be legally privileged. If the reader of this message is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this communication, or any of its contents, is
> strictly prohibited. If you have received this communication in error,
> please return it to the sender immediately and delete the original message
> and any copy of it from your computer system. If you have any questions
> concerning this message, please contact the sender.
>
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
>
> Disclaimer: The information contained in this communication may be
> confidential, is intended only for the use of the recipient(s) named above,
> and may be legally privileged. If the reader of this message is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this communication, or any of its contents, is
> strictly prohibited. If you have received this communication in error,
> please return it to the sender immediately and delete the original message
> and any copy of it from your computer system. If you have any questions
> concerning this message, please contact the sender.
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
More information about the Community
mailing list