[Insight-users] (no subject)

David Cole dlrdave at aol.com
Wed Apr 17 06:56:28 EDT 2013


Do you have python installed?


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.



HTH,

David




From: Thibault Varacca
Sent: ‎Wednesday‎, ‎April‎ ‎17‎, ‎2013 ‎6‎:‎31‎ ‎AM
To: Matt McCormick
Cc: insight-users at itk.org



Ok thanks a lot for your help guys.


What about my error ? :

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message): 
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)

Call Stack (most recent call first):

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)

C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPythonInterp.cmake:139 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)

Wrapping/Generators/SwigInterface/CMakeLists.txt:71 (find_package)




Kind






2013/4/16 Matt McCormick <matt.mccormick at kitware.com>

Downloads can be found here:

  http://www.simpleitk.org//SimpleITK/resources/software.html

and installation instructions here:

  http://www.simpleitk.org/Wiki/SimpleITK/GettingStarted/A_visual_guide_to_SimpleITK_in_Java

HTH,
Matt

On Tue, Apr 16, 2013 at 3:16 PM, Thibault Varacca


<thibault.varacca at gmail.com> wrote:
> Ok thanks ! Does it generate a .jar file to import into eclipse?
>
> Thanks,
>
>
> 2013/4/16 Matt McCormick <matt.mccormick at kitware.com>
>>
>> Hi Thibault,
>>
>> Unfortunately, the only Visual Studio supported for WrapITK at this
>> time is Visual Studio 2008.  So, a different compiler will need to be
>> used or use SimpleITK instead:
>>
>>   http://www.simpleitk.org/
>>
>> Thanks,
>> Matt
>>
>> On Tue, Apr 16, 2013 at 1:59 PM, Thibault Varacca
>> <thibault.varacca at gmail.com> wrote:
>> > Thanks for your answer,
>> > I'm using visual 10 and default native compiler on windows xp 64. I
>> > tryed
>> > without swig, i clic on "configure" then i clic on the checkbox
>> > ITK_WRAP_JAVA and one more time "configure" and y still have the same
>> > error
>> > message...
>> > regards,
>> >
>> >
>> > 2013/4/16 Bradley Lowekamp <blowekamp at mail.nih.gov>
>> >>
>> >> Hello,
>> >>
>> >> If you turn on ITK_WRAP_JAVA, in ITK cmake configuration is should
>> >> automatically download the required version of SWIG and GCC_XML for you
>> >> platform.
>> >>
>> >> You don't mention what compiler you are using or what architecture you
>> >> are
>> >> trying to compiler for. I'd strongly recommend 64-bits for wrap ITK on
>> >> windows.
>> >>
>> >> Brad
>> >>
>> >> On Apr 16, 2013, at 9:13 AM, Thibault Varacca
>> >> <thibault.varacca at gmail.com>
>> >> wrote:
>> >>
>> >> Hi everyone,
>> >>
>> >> I'm beginning with itk. I used to install ITK for c++ use and it worked
>> >> well.
>> >> But i forgot to build the java_wrap function so i downloaded
>> >> swigwin-2.0.9
>> >> and placed it in "utilities" folder and build it.
>> >> I have the following errors :
>> >>
>> >> CMake Error at C:/Program Files (x86)/CMake
>> >> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
>> >> (message):
>> >> Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
>> >> Call Stack (most recent call first):
>> >> C:/Program Files (x86)/CMake
>> >> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291
>> >> (_FPHSA_FAILURE_MESSAGE)
>> >> C:/Program Files (x86)/CMake
>> >> 2.8/share/cmake-2.8/Modules/FindPythonInterp.cmake:139
>> >> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>> >> Wrapping/Generators/SwigInterface/CMakeLists.txt:71 (find_package)
>> >>
>> >> Does anyone know how to fix it? (I'm working on windows x64)
>> >>
>> >> I also want to add insight_applications but i don't know in which
>> >> folder i
>> >> should place it.
>> >> I read a lot of tutorials for previous versions of itk but the
>> >> architecture is not the same ...
>> >>
>> >> Thanks a lot for your help !
>> >>
>> >> --
>> >> Thibault Varacca
>> >> EFREI Promo 2014
>> >> 06 60 53 11 35
>> >> _____________________________________
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Kitware offers ITK Training Courses, for more information visit:
>> >> http://www.kitware.com/products/protraining.php
>> >>
>> >> Please keep messages on-topic and check the ITK FAQ at:
>> >> http://www.itk.org/Wiki/ITK_FAQ
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://www.itk.org/mailman/listinfo/insight-users
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Thibault Varacca
>> > EFREI Promo 2014
>> > 06 60 53 11 35
>> >
>> > _____________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Kitware offers ITK Training Courses, for more information visit:
>> > http://www.kitware.com/products/protraining.php
>> >
>> > Please keep messages on-topic and check the ITK FAQ at:
>> > http://www.itk.org/Wiki/ITK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.itk.org/mailman/listinfo/insight-users
>> >
>
>
>
>
> --
> Thibault Varacca
> EFREI Promo 2014
> 06 60 53 11 35




-- 
Thibault Varacca
EFREI Promo 2014

06 60 53 11 35
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130417/f7902445/attachment-0001.htm>


More information about the Insight-users mailing list