<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Francois,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The patch works.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you!
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Kenji<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Francois Budin [mailto:francois.budin@kitware.com]
<br>
<b>Sent:</b> Monday, October 10, 2016 4:56 PM<br>
<b>To:</b> Kenji Tsumura<br>
<b>Cc:</b> Matt McCormick; community@itk.org<br>
<b>Subject:</b> Re: [ITK] Module_ITKLevelSetsv4Visualization warning<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello Kenji,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks for your report. I found the bug that was causing you problems. I have submitted a correction that is under review now:
<a href="http://review.source.kitware.com/#/c/21611/">http://review.source.kitware.com/#/c/21611/</a><o:p></o:p></p>
</div>
<p class="MsoNormal">Feel free to look at it, and test it on your machine.<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
Best,<o:p></o:p></p>
</div>
<p class="MsoNormal">Francois<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Oct 10, 2016 at 2:39 PM, Francois Budin <<a href="mailto:francois.budin@kitware.com" target="_blank">francois.budin@kitware.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello Kenji,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Can you try to add this line before Line 98?<br>
string(REGEX REPLACE "\""<br>
         "\\\\\"" ITKLevelSetsv4Visualization_VTK_DEFINITIONS<br>
         "${ITKLevelSetsv4Visualization_VTK_DEFINITIONS}")<o:p></o:p></p>
</div>
<p class="MsoNormal">The idea is to escape the quote characters that are added in the variable ITKLevelSetsv4Visualization_VTK_DEFINITIONS.<o:p></o:p></p>
</div>
<p class="MsoNormal">The result should be:<br>
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS " vtkRenderingCore_INCLUDE=<b>\"</b>D:/workspace_itk_org/InsightToolkit-4.10.1-bin/CMakeFiles/vtkRenderingCore_AUTOINIT_vtkInteractionStyle_vtkRenderingFreeType_vtkRenderingOpenGL2.h<b>\"</b>
 ")</span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Oct 10, 2016 at 2:06 PM, Kenji Tsumura <<a href="mailto:kenji.tsumura@neosoftmedical.com" target="_blank">kenji.tsumura@neosoftmedical.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Francois,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The problem still persists.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I changed the CMakeList.txt like this: spaces before and after ${ITKLevelSetsv4Visualization_VTK_DEFINITIONS}.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Line 98:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">  set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS \" ${ITKLevelSetsv4Visualization_VTK_DEFINITIONS}
 \")</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Line 130:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">  set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS \" ${ITKLevelSetsv4Visualization_VTK_DEFINITIONS}
 \")</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In the generated file, there are spaces after the first double quotation and before the last double
 quotation.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I think spaces are required for the double quotations of the path.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">  set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS " vtkRenderingCore_INCLUDE="D:/workspace_itk_org/InsightToolkit-4.10.1-bin/CMakeFiles/vtkRenderingCore_AUTOINIT_vtkInteractionStyle_vtkRenderingFreeType_vtkRenderingOpenGL2.h"
 ")</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Kenji</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Francois Budin [mailto:<a href="mailto:francois.budin@kitware.com" target="_blank">francois.budin@kitware.com</a>]
<br>
<b>Sent:</b> Monday, October 10, 2016 12:46 PM<br>
<b>To:</b> Kenji Tsumura<br>
<b>Cc:</b> Matt McCormick; <a href="mailto:community@itk.org" target="_blank">community@itk.org</a></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>Subject:</b> Re: [ITK] Module_ITKLevelSetsv4Visualization warning<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Hello Kenji,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">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?<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Francois<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Mon, Oct 10, 2016 at 1:35 PM, Kenji Tsumura <<a href="mailto:kenji.tsumura@neosoftmedical.com" target="_blank">kenji.tsumura@neosoftmedical.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi Matt,<br>
<br>
                                                                                                                                                                        |<br>
                                                                                                                                                                        V<br>
    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"")<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.cmake is auto-generated...<br>
<br>
Thank you,<br>
<br>
Kenji<br>
<br>
-----Original Message-----<br>
From: Matt McCormick [mailto:<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>]<br>
Sent: Monday, October 10, 2016 11:53 AM<br>
To: Kenji Tsumura<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Cc: Francois Budin;
<a href="mailto:community@itk.org" target="_blank">community@itk.org</a><br>
Subject: Re: [ITK] Module_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/InsightToolkit-4.10.1-java-bin/lib/cmake/ITK-4.10/Modules/ITKLevelSetsv4Visualization.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" target="_blank">kenji.tsumura@neosoftmedical.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_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" target="_blank">francois.budin@kitware.com</a>]<br>
> Sent: Monday, October 10, 2016 10:38 AM<br>
> To: Kenji Tsumura<br>
> Cc: <a href="mailto:community@itk.org" target="_blank">community@itk.org</a><br>
> Subject: Re: [ITK] Module_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_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" target="_blank">kenji.tsumura@neosoftmedical.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_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" target="_blank">https://itk.org/ITKExamples/src/Segmentation/LevelSetsv4Visualization</a><br>
> /VisualizeEvolvingDense2DLevelSetZeroSet/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/InsightToolkit-4.10.1-java-bin/lib/cmake/ITK-4.10/Mod<br>
> ules/ITKLevelSetsv4Visualization.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/InsightToolkit-4.10.1-java-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>
> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">
http://public.kitware.com/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>
> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">
http://public.kitware.com/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.<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">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.
<o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
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.
</body>
</html>