<div dir="ltr"><div><div><div>Hello Kenji,<br><br></div>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?<br><br></div>Thanks,<br></div>Francois<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 1:35 PM, Kenji Tsumura <span dir="ltr"><<a href="mailto:kenji.tsumura@neosoftmedical.com" target="_blank">kenji.tsumura@neosoftmedical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matt,<br>
<br>
|<br>
V<br>
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS "vtkRenderingCore_INCLUDE="D:/<wbr>workspace_itk/InsightToolkit-<wbr>4.10.1-bin-2/CMakeFiles/<wbr>vtkRenderingCore_AUTOINIT_<wbr>vtkInteractionStyle_<wbr>vtkRenderingFreeType_<wbr>vtkRenderingOpenGL2.h"")<br>
<br>
I think adding spaces after starting double quotation and before ending double quotation solves the warning.<br>
But the problem is that this file ITKLvelSetsv4Visualization.<wbr>cmake is auto-generated...<br>
<br>
Thank you,<br>
<br>
Kenji<br>
<span class="im HOEnZb"><br>
-----Original Message-----<br>
From: Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@<wbr>kitware.com</a>]<br>
Sent: Monday, October 10, 2016 11:53 AM<br>
To: Kenji Tsumura<br>
</span><div class="HOEnZb"><div class="h5">Cc: Francois Budin; <a href="mailto:community@itk.org">community@itk.org</a><br>
Subject: Re: [ITK] Module_<wbr>ITKLevelSetsv4Visualization warning<br>
<br>
Hi Kenji,<br>
<br>
Could you please share the content of<br>
<br>
Syntax Warning in cmake code at<br>
<br>
D:/workspace_itk/<wbr>InsightToolkit-4.10.1-java-<wbr>bin/lib/cmake/ITK-4.10/<wbr>Modules/<wbr>ITKLevelSetsv4Visualization.<wbr>cmake:41:91<br>
<br>
?<br>
<br>
Thanks,<br>
Matt<br>
<br>
On Mon, Oct 10, 2016 at 11:55 AM, Kenji Tsumura <<a href="mailto:kenji.tsumura@neosoftmedical.com">kenji.tsumura@neosoftmedical.<wbr>com</a>> wrote:<br>
> Hi Francois,<br>
><br>
><br>
><br>
> I tried again and saw the same problem.<br>
><br>
> I turned on only BUILD_EXAMPLES and Module_<wbr>ITKLevelSetsv4Visualization.<br>
><br>
><br>
><br>
> I forgot to mention that I use Visual Studio 2013.<br>
><br>
><br>
><br>
> Thank you,<br>
><br>
><br>
><br>
> Kenji<br>
><br>
><br>
><br>
> From: Francois Budin [mailto:<a href="mailto:francois.budin@kitware.com">francois.budin@<wbr>kitware.com</a>]<br>
> Sent: Monday, October 10, 2016 10:38 AM<br>
> To: Kenji Tsumura<br>
> Cc: <a href="mailto:community@itk.org">community@itk.org</a><br>
> Subject: Re: [ITK] Module_<wbr>ITKLevelSetsv4Visualization warning<br>
><br>
><br>
><br>
> Hello Kenji,<br>
><br>
> I do not seem to be able to reproduce your error on Ubuntu 16.04:<br>
><br>
> cmake 3.1.1<br>
><br>
> ITK 4.10.1<br>
><br>
> VTK 7.0.0<br>
><br>
> Did you change any of the default values in CMake beside<br>
> BUILD_EXAMPLES and Module_<wbr>ITKLevelSetsv4Visualization?<br>
><br>
> Francois<br>
><br>
><br>
><br>
> On Mon, Oct 10, 2016 at 10:20 AM, Kenji Tsumura<br>
> <<a href="mailto:kenji.tsumura@neosoftmedical.com">kenji.tsumura@neosoftmedical.<wbr>com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
><br>
><br>
> When I tried to configure ITK, I had the following warning.<br>
><br>
> I turned on Module_<wbr>ITKLevelSetsv4Visualization and BUILD_EXAMPLES in CMake.<br>
><br>
> Apparently, due to this warning, I can't use classes in the<br>
> LevelSetV4Visualization module,<br>
><br>
> when I tried to build an example downloaded from the ITK website.<br>
><br>
> (<a href="https://itk.org/ITKExamples/src/Segmentation/LevelSetsv4Visualization" rel="noreferrer" target="_blank">https://itk.org/ITKExamples/<wbr>src/Segmentation/<wbr>LevelSetsv4Visualization</a><br>
> /<wbr>VisualizeEvolvingDense2DLevelS<wbr>etZeroSet/Documentation.html)<br>
><br>
><br>
><br>
> I can modify the cmake file directly, but "Generate" action erases the<br>
> changes I made.<br>
><br>
> So I am not sure what to do.<br>
><br>
><br>
><br>
><br>
><br>
> CMake Warning (dev) at CMake/ITKModuleAPI.cmake:54 (include):<br>
><br>
> Syntax Warning in cmake code at<br>
><br>
><br>
><br>
><br>
> D:/workspace_itk/<wbr>InsightToolkit-4.10.1-java-<wbr>bin/lib/cmake/ITK-4.10/Mod<br>
> ules/<wbr>ITKLevelSetsv4Visualization.<wbr>cmake:41:91<br>
><br>
><br>
><br>
> Argument not separated from preceding token by whitespace.<br>
><br>
> Call Stack (most recent call first):<br>
><br>
> CMake/ITKModuleAPI.cmake:26 (itk_module_load)<br>
><br>
> CMake/ITKModuleAPI.cmake:84 (_itk_module_config_recurse)<br>
><br>
> D:/workspace_itk/<wbr>InsightToolkit-4.10.1-java-<wbr>bin/ITKConfig.cmake:68<br>
> (itk_module_config)<br>
><br>
> Examples/CMakeLists.txt:5 (find_package)<br>
><br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
><br>
><br>
><br>
><br>
> My environment is ...<br>
><br>
> OS: Windows 7<br>
><br>
> CMake 3.1.1<br>
><br>
> ITK 4.10.1<br>
><br>
> VTK 7.0.0<br>
><br>
><br>
><br>
> I would appreciate any advice.<br>
><br>
> Thank you in advance!<br>
><br>
><br>
><br>
> Kenji<br>
><br>
> Disclaimer: The information contained in this communication may be<br>
> confidential, is intended only for the use of the recipient(s) named<br>
> above, and may be legally privileged. If the reader of this message is<br>
> not the intended recipient, you are hereby notified that any<br>
> dissemination, distribution, or copying of this communication, or any<br>
> of its contents, is strictly prohibited. If you have received this<br>
> communication in error, please return it to the sender immediately and<br>
> delete the original message and any copy of it from your computer<br>
> system. If you have any questions concerning this message, please contact the sender.<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
><br>
><br>
><br>
> Disclaimer: The information contained in this communication may be<br>
> confidential, is intended only for the use of the recipient(s) named<br>
> above, and may be legally privileged. If the reader of this message is<br>
> not the intended recipient, you are hereby notified that any<br>
> dissemination, distribution, or copying of this communication, or any<br>
> of its contents, is strictly prohibited. If you have received this<br>
> communication in error, please return it to the sender immediately and<br>
> delete the original message and any copy of it from your computer<br>
> system. If you have any questions concerning this message, please contact the sender.<br>
><br>
> ______________________________<wbr>_________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
><br>
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.<br>
</div></div></blockquote></div><br></div>