[Insight-users] Compiling error on UBUNTU 11.04

Uday Kurkure ukurkure at uh.edu
Mon Jan 14 17:06:11 EST 2013


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


More information about the Insight-users mailing list