[ITK] Module_ITKLevelSetsv4Visualization warning

Francois Budin francois.budin at kitware.com
Mon Oct 10 13:45:54 EDT 2016


Hello Kenji,

Could you add these extra space in
ITK/Modules/Segmentation/LevelSetsv4Visualization/CMakeLists.txt line 98
and line 130 and see if that solves your issue?

Thanks,
Francois

On Mon, Oct 10, 2016 at 1:35 PM, Kenji Tsumura <
kenji.tsumura at neosoftmedical.com> wrote:

> Hi Matt,
>
>
>
>                   |
>
>
>                   V
>     set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS
> "vtkRenderingCore_INCLUDE="D:/workspace_itk/InsightToolkit-
> 4.10.1-bin-2/CMakeFiles/vtkRenderingCore_AUTOINIT_vtkInteractionStyle_
> vtkRenderingFreeType_vtkRenderingOpenGL2.h"")
>
> I think adding spaces after starting double quotation and before ending
> double quotation solves the warning.
> But the problem is that this file ITKLvelSetsv4Visualization.cmake is
> auto-generated...
>
> Thank you,
>
> Kenji
>
> -----Original Message-----
> From: Matt McCormick [mailto:matt.mccormick at kitware.com]
> Sent: Monday, October 10, 2016 11:53 AM
> To: Kenji Tsumura
> Cc: Francois Budin; community at itk.org
> Subject: Re: [ITK] Module_ITKLevelSetsv4Visualization warning
>
> 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/Mod
> > ules/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
> >
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20161010/e364464f/attachment-0001.html>


More information about the Community mailing list