<html><head><style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head><body><div data-externalstyle="false" dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;"><div>Do you have python installed?</div><div> </div><div>If you install python 2.7 on Windows using one of the installers from python.org, and install it to its default location in C:\Python27, CMake will be able to find the python.exe program and you will not see that error anymore.</div><div> </div><div> </div><div>HTH,</div><div>David</div><div> </div><div data-signatureblock="true"> </div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face="Calibri, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao UI', Ebrima, sans-serif" style='line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 11pt;'><b>From:</b> Thibault Varacca<br><b>Sent:</b> Wednesday, April 17, 2013 6:31 AM<br><b>To:</b> Matt McCormick<br><b>Cc:</b> insight-users@itk.org</font></div></div><div> </div><div dir="ltr"><div>Ok thanks a lot for your help guys.<br><br></div>What about my error ? :<br><br><span style="color: rgb(255, 0, 0);">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):</span>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);">Call Stack (most recent call first):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPythonInterp.cmake:139 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> Wrapping/Generators/SwigInterface/CMakeLists.txt:71 (find_package)</span></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">
<span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">Kind</span><br></span></p><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/16 Matt McCormick <span dir="ltr"><<a title="mailto:matt.mccormick@kitware.com" href="mailto:matt.mccormick@kitware.com" target="_parent">matt.mccormick@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">Downloads can be found here:<br>
<br>
<a title="http://www.simpleitk.org//SimpleITK/resources/software.html" href="http://www.simpleitk.org//SimpleITK/resources/software.html" target="_parent">http://www.simpleitk.org//SimpleITK/resources/software.html</a><br>
<br>
and installation instructions here:<br>
<br>
<a title="http://www.simpleitk.org/Wiki/SimpleITK/GettingStarted/A_visual_guide_to_SimpleITK_in_Java" href="http://www.simpleitk.org/Wiki/SimpleITK/GettingStarted/A_visual_guide_to_SimpleITK_in_Java" target="_parent">http://www.simpleitk.org/Wiki/SimpleITK/GettingStarted/A_visual_guide_to_SimpleITK_in_Java</a><br>
<br>
HTH,<br>
Matt<br>
<br>
On Tue, Apr 16, 2013 at 3:16 PM, Thibault Varacca<br>
<div class="HOEnZb"><div class="h5"><<a title="mailto:thibault.varacca@gmail.com" href="mailto:thibault.varacca@gmail.com" target="_parent">thibault.varacca@gmail.com</a>> wrote:<br>
> Ok thanks ! Does it generate a .jar file to import into eclipse?<br>
><br>
> Thanks,<br>
><br>
><br>
> 2013/4/16 Matt McCormick <<a title="mailto:matt.mccormick@kitware.com" href="mailto:matt.mccormick@kitware.com" target="_parent">matt.mccormick@kitware.com</a>><br>
>><br>
>> Hi Thibault,<br>
>><br>
>> Unfortunately, the only Visual Studio supported for WrapITK at this<br>
>> time is Visual Studio 2008. So, a different compiler will need to be<br>
>> used or use SimpleITK instead:<br>
>><br>
>> <a title="http://www.simpleitk.org/" href="http://www.simpleitk.org/" target="_parent">http://www.simpleitk.org/</a><br>
>><br>
>> Thanks,<br>
>> Matt<br>
>><br>
>> On Tue, Apr 16, 2013 at 1:59 PM, Thibault Varacca<br>
>> <<a title="mailto:thibault.varacca@gmail.com" href="mailto:thibault.varacca@gmail.com" target="_parent">thibault.varacca@gmail.com</a>> wrote:<br>
>> > Thanks for your answer,<br>
>> > I'm using visual 10 and default native compiler on windows xp 64. I<br>
>> > tryed<br>
>> > without swig, i clic on "configure" then i clic on the checkbox<br>
>> > ITK_WRAP_JAVA and one more time "configure" and y still have the same<br>
>> > error<br>
>> > message...<br>
>> > regards,<br>
>> ><br>
>> ><br>
>> > 2013/4/16 Bradley Lowekamp <<a title="mailto:blowekamp@mail.nih.gov" href="mailto:blowekamp@mail.nih.gov" target="_parent">blowekamp@mail.nih.gov</a>><br>
>> >><br>
>> >> Hello,<br>
>> >><br>
>> >> If you turn on ITK_WRAP_JAVA, in ITK cmake configuration is should<br>
>> >> automatically download the required version of SWIG and GCC_XML for you<br>
>> >> platform.<br>
>> >><br>
>> >> You don't mention what compiler you are using or what architecture you<br>
>> >> are<br>
>> >> trying to compiler for. I'd strongly recommend 64-bits for wrap ITK on<br>
>> >> windows.<br>
>> >><br>
>> >> Brad<br>
>> >><br>
>> >> On Apr 16, 2013, at 9:13 AM, Thibault Varacca<br>
>> >> <<a title="mailto:thibault.varacca@gmail.com" href="mailto:thibault.varacca@gmail.com" target="_parent">thibault.varacca@gmail.com</a>><br>
>> >> wrote:<br>
>> >><br>
>> >> Hi everyone,<br>
>> >><br>
>> >> I'm beginning with itk. I used to install ITK for c++ use and it worked<br>
>> >> well.<br>
>> >> But i forgot to build the java_wrap function so i downloaded<br>
>> >> swigwin-2.0.9<br>
>> >> and placed it in "utilities" folder and build it.<br>
>> >> I have the following errors :<br>
>> >><br>
>> >> CMake Error at C:/Program Files (x86)/CMake<br>
>> >> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97<br>
>> >> (message):<br>
>> >> Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)<br>
>> >> Call Stack (most recent call first):<br>
>> >> C:/Program Files (x86)/CMake<br>
>> >> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291<br>
>> >> (_FPHSA_FAILURE_MESSAGE)<br>
>> >> C:/Program Files (x86)/CMake<br>
>> >> 2.8/share/cmake-2.8/Modules/FindPythonInterp.cmake:139<br>
>> >> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)<br>
>> >> Wrapping/Generators/SwigInterface/CMakeLists.txt:71 (find_package)<br>
>> >><br>
>> >> Does anyone know how to fix it? (I'm working on windows x64)<br>
>> >><br>
>> >> I also want to add insight_applications but i don't know in which<br>
>> >> folder i<br>
>> >> should place it.<br>
>> >> I read a lot of tutorials for previous versions of itk but the<br>
>> >> architecture is not the same ...<br>
>> >><br>
>> >> Thanks a lot for your help !<br>
>> >><br>
>> >> --<br>
>> >> Thibault Varacca<br>
>> >> EFREI Promo 2014<br>
>> >> 06 60 53 11 35<br>
>> >> _____________________________________<br>
>> >> Powered by <a title="http://www.kitware.com/" href="http://www.kitware.com" target="_parent">www.kitware.com</a><br>
>> >><br>
>> >> Visit other Kitware open-source projects at<br>
>> >> <a title="http://www.kitware.com/opensource/opensource.html" href="http://www.kitware.com/opensource/opensource.html" target="_parent">http://www.kitware.com/opensource/opensource.html</a><br>
>> >><br>
>> >> Kitware offers ITK Training Courses, for more information visit:<br>
>> >> <a title="http://www.kitware.com/products/protraining.php" href="http://www.kitware.com/products/protraining.php" target="_parent">http://www.kitware.com/products/protraining.php</a><br>
>> >><br>
>> >> Please keep messages on-topic and check the ITK FAQ at:<br>
>> >> <a title="http://www.itk.org/Wiki/ITK_FAQ" href="http://www.itk.org/Wiki/ITK_FAQ" target="_parent">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>> >><br>
>> >> Follow this link to subscribe/unsubscribe:<br>
>> >> <a title="http://www.itk.org/mailman/listinfo/insight-users" href="http://www.itk.org/mailman/listinfo/insight-users" target="_parent">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>> >><br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Thibault Varacca<br>
>> > EFREI Promo 2014<br>
>> > 06 60 53 11 35<br>
>> ><br>
>> > _____________________________________<br>
>> > Powered by <a title="http://www.kitware.com/" href="http://www.kitware.com" target="_parent">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a title="http://www.kitware.com/opensource/opensource.html" href="http://www.kitware.com/opensource/opensource.html" target="_parent">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Kitware offers ITK Training Courses, for more information visit:<br>
>> > <a title="http://www.kitware.com/products/protraining.php" href="http://www.kitware.com/products/protraining.php" target="_parent">http://www.kitware.com/products/protraining.php</a><br>
>> ><br>
>> > Please keep messages on-topic and check the ITK FAQ at:<br>
>> > <a title="http://www.itk.org/Wiki/ITK_FAQ" href="http://www.itk.org/Wiki/ITK_FAQ" target="_parent">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a title="http://www.itk.org/mailman/listinfo/insight-users" href="http://www.itk.org/mailman/listinfo/insight-users" target="_parent">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>> ><br>
><br>
><br>
><br>
><br>
> --<br>
> Thibault Varacca<br>
> EFREI Promo 2014<br>
> 06 60 53 11 35<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thibault Varacca<br>EFREI Promo 2014<br><div>06 60 53 11 35</div>
</div>
</div></body></html>