[Insight-users] Python wrapping

Uday Kurkure ukurkure at uh.edu
Mon Jan 28 17:55:13 EST 2013


Hi Matt and Bradley,

I am using Cmake 2.8.3-3ubuntu7 on Ubuntu 11.04 OS. And I am using
native compilers. I had setup the environment by installing
build-essentials and I was able to build and use some other C/C++
applications. ITK also builds without any errors if I do not enable
wrapping.

- Uday

On Sun, Jan 27, 2013 at 8:52 PM, Bradley Lowekamp
<blowekamp at mail.nih.gov> wrote:
> Hello,
>
> Do you care to share your OS, and compiler you are using? Are you using the system compiler? Do you have your CC or CXX environment variables set?
>
> Brad
>
> On Jan 27, 2013, at 8:12 PM, Uday Kurkure <ukurkure at uh.edu> wrote:
>
>> Hi all,
>>
>> I was able to compile ITK without any issues (without enabling the wrapping).
>>
>> However, I am getting the following error when I enable wrapping for python:
>>
>> [ 21%] Built target swig
>> [ 21%] Built target copy_python_files
>> [ 21%] Built target copy_python_extras_files
>> [ 21%] Built target ITKPyBaseGccXML
>> [ 21%] Built target ITKPyBaseIdx
>> [ 21%] Built target ITKPyBaseSwig
>> make[2]: *** No rule to make target `swig', needed by
>> `Wrapping/Generators/Python/PyBase/pyBasePython.cpp'.  Stop.
>> make[1]: *** [Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> I am a newbie in python (and swig). So, any help is welcome.
>>
>> Thanks,
>>
>> - Uday
>> _____________________________________
>> 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
>


More information about the Insight-users mailing list