[Insight-users] Compiling error on UBUNTU 11.04

Uday Kurkure ukurkure at uh.edu
Wed Jan 16 09:50:41 EST 2013


Thanks Matt. It compiled for v4.3.1 without any errors.
Now I can try to compile it for python wrapping too.
Are the classes in 'Review' folder available through python interface?

Thanks and regards,
- Uday



On Mon, Jan 14, 2013 at 11:21 PM, Matt McCormick
<matt.mccormick at kitware.com> wrote:
> Hi Uday,
>
> This error sounds familiar.  Did you start with a clean build tree?
> Why not use v4.3.1?
>
> Thanks,
> Matt
>
> On Mon, Jan 14, 2013 at 5:06 PM, Uday Kurkure <ukurkure at uh.edu> wrote:
>> Hi there,
>>
>> This is the first time I am trying to compile ITK 4 (v4.2.1) on Linux
>> machine (I have build and used ITK 3 on Win earlier).
>>
>> The error I get is:
>>
>> Building CXX object
>> Modules/IO/NRRD/src/CMakeFiles/ITKIONRRD.dir/itkNrrdImageIO.cxx.o
>> ~/toolkits/ITK/Modules/IO/NRRD/src/itkNrrdImageIO.cxx: In member
>> function ‘itk::ImageIOBase::IOComponentType
>> itk::NrrdImageIO::NrrdToITKComponentType(int) const’:
>> ~/toolkits/ITK/Modules/IO/NRRD/src/itkNrrdImageIO.cxx:85:14: error:
>> ‘itk_airMy32Bit’ was not declared in this scope
>> ~/toolkits/ITK/Modules/IO/NRRD/src/itkNrrdImageIO.cxx: In member
>> function ‘int itk::NrrdImageIO::ITKToNrrdComponentType(itk::ImageIOBase::IOComponentType)
>> const’:
>> ~/toolkits/ITK/Modules/IO/NRRD/src/itkNrrdImageIO.cxx:134:14: error:
>> ‘itk_airMy32Bit’ was not declared in this scope
>> make[2]: *** [Modules/IO/NRRD/src/CMakeFiles/ITKIONRRD.dir/itkNrrdImageIO.cxx.o]
>> Error 1
>> make[1]: *** [Modules/IO/NRRD/src/CMakeFiles/ITKIONRRD.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> What am I missing here?
>> Any help is appreciated.
>>
>> 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