[Insight-users] Insight Applications compilation problems
Luis Ibanez
luis.ibanez at kitware.com
Tue, 06 Jan 2004 09:24:40 -0500
Hi Marc,
The problem is that you probably updated your checkout
of InsightApplications and didn't updated your checkout
of Insight.
Recent changes in the vnl portion of Insight include
modifications of the vnl_vector API, in particular
the "size()" method.
The solution is to simply update you checkout of Insight,
rebuild it and then build InsightApplications.
BTW: this portion of the message means that you may
be buying a new hard drive this year :-/
"cc1plus: No space left on device: ..."
Regards,
Luis
-------------------------
Marc HUERTAS wrote:
> Hi
>
> I'm trying to compile the Insight Applications but the following error is
> posted while trying to compile the GaussianClassifierValidationApp.o module:
>
> Building object file GaussianClassifierValidationApp.o...
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.txx:
> In member function `void
> itk::ClassifierValidationInputParser<TVectorInputImage, TMaskImage>::Execute()
> [with TVectorInputImage = main(int, char**)::VectorInputImageType, TMaskImage
> = main(int, char**)::BrainMaskImageType]':
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:53:
> instantiated from `void itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::Execute() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:166:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.txx:358:
> no matching function for call to `vnl_matrix<double>::set_size(long unsigned
> int&, long unsigned int&)'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:53:
> instantiated from `void itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::Execute() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:166:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.txx:367:
> no matching function for call to `vnl_matrix<double>::set_size(long unsigned
> int&, long unsigned int&)'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:53:
> instantiated from `void itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::Execute() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:166:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.txx:375:
> no matching function for call to `vnl_matrix<unsigned int>::set_size(long
> unsigned int&, long unsigned int&)'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.txx:
> In constructor `itk::ClassifierValidationInputParser<TVectorInputImage,
> TMaskImage>::ClassifierValidationInputParser() [with TVectorInputImage =
> main(int, char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]':
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.h:78:
> instantiated from `static
> itk::SmartPointer<itk::ClassifierValidationInputParser<TVectorInputImage,
> TMaskImage> > itk::ClassifierValidationInputParser<TVectorInputImage,
> TMaskImage>::New() [with TVectorInputImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:31:
> instantiated from `itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::ClassifierApplicationBase() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.txx:28:
> instantiated from `itk::GaussianClassifierValidationApp<TImage,
> TMaskImage>::GaussianClassifierValidationApp() [with TImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.h:88:
> instantiated from `static
> itk::SmartPointer<itk::GaussianClassifierValidationApp<TImage, TMaskImage> >
> itk::GaussianClassifierValidationApp<TImage, TMaskImage>::New() [with TImage =
> main(int, char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:49:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.txx:57:
> no matching function for call to `vnl_matrix<double>::set_size(long unsigned
> int&, long unsigned int&)'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.h:78:
> instantiated from `static
> itk::SmartPointer<itk::ClassifierValidationInputParser<TVectorInputImage,
> TMaskImage> > itk::ClassifierValidationInputParser<TVectorInputImage,
> TMaskImage>::New() [with TVectorInputImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:31:
> instantiated from `itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::ClassifierApplicationBase() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.txx:28:
> instantiated from `itk::GaussianClassifierValidationApp<TImage,
> TMaskImage>::GaussianClassifierValidationApp() [with TImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.h:88:
> instantiated from `static
> itk::SmartPointer<itk::GaussianClassifierValidationApp<TImage, TMaskImage> >
> itk::GaussianClassifierValidationApp<TImage, TMaskImage>::New() [with TImage =
> main(int, char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:49:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.txx:64:
> no matching function for call to `vnl_matrix<double>::set_size(long unsigned
> int&, long unsigned int&)'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.h:78:
> instantiated from `static
> itk::SmartPointer<itk::ClassifierValidationInputParser<TVectorInputImage,
> TMaskImage> > itk::ClassifierValidationInputParser<TVectorInputImage,
> TMaskImage>::New() [with TVectorInputImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:31:
> instantiated from `itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::ClassifierApplicationBase() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.txx:28:
> instantiated from `itk::GaussianClassifierValidationApp<TImage,
> TMaskImage>::GaussianClassifierValidationApp() [with TImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.h:88:
> instantiated from `static
> itk::SmartPointer<itk::GaussianClassifierValidationApp<TImage, TMaskImage> >
> itk::GaussianClassifierValidationApp<TImage, TMaskImage>::New() [with TImage =
> main(int, char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:49:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierValidationInputParser.txx:68:
> no matching function for call to `vnl_matrix<unsigned int>::set_size(long
> unsigned int&, long unsigned int&)'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianImageClassifierApp.txx:
> In constructor `itk::GaussianImageClassifierApp<TVectorInputImage,
> TMaskImage>::GaussianImageClassifierApp() [with TVectorInputImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]':
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianImageClassifierApp.h:80:
> instantiated from `static
> itk::SmartPointer<itk::GaussianImageClassifierApp<TVectorInputImage,
> TMaskImage> > itk::GaussianImageClassifierApp<TVectorInputImage,
> TMaskImage>::New() [with TVectorInputImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:32:
> instantiated from `itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::ClassifierApplicationBase() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.txx:28:
> instantiated from `itk::GaussianClassifierValidationApp<TImage,
> TMaskImage>::GaussianClassifierValidationApp() [with TImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.h:88:
> instantiated from `static
> itk::SmartPointer<itk::GaussianClassifierValidationApp<TImage, TMaskImage> >
> itk::GaussianClassifierValidationApp<TImage, TMaskImage>::New() [with TImage =
> main(int, char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:49:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianImageClassifierApp.txx:39:
> no matching function for call to `vnl_matrix<double>::set_size(long unsigned
> int&, long unsigned int&)'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianImageClassifierApp.h:80:
> instantiated from `static
> itk::SmartPointer<itk::GaussianImageClassifierApp<TVectorInputImage,
> TMaskImage> > itk::GaussianImageClassifierApp<TVectorInputImage,
> TMaskImage>::New() [with TVectorInputImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:32:
> instantiated from `itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::ClassifierApplicationBase() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.txx:28:
> instantiated from `itk::GaussianClassifierValidationApp<TImage,
> TMaskImage>::GaussianClassifierValidationApp() [with TImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.h:88:
> instantiated from `static
> itk::SmartPointer<itk::GaussianClassifierValidationApp<TImage, TMaskImage> >
> itk::GaussianClassifierValidationApp<TImage, TMaskImage>::New() [with TImage =
> main(int, char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:49:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianImageClassifierApp.txx:46:
> no matching function for call to `vnl_matrix<double>::set_size(long unsigned
> int&, long unsigned int&)'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianImageClassifierApp.h:80:
> instantiated from `static
> itk::SmartPointer<itk::GaussianImageClassifierApp<TVectorInputImage,
> TMaskImage> > itk::GaussianImageClassifierApp<TVectorInputImage,
> TMaskImage>::New() [with TVectorInputImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/ClassifierApplicationBase.txx:32:
> instantiated from `itk::ClassifierApplicationBase<TParser, TClassifier,
> TOutputGenerator>::ClassifierApplicationBase() [with TParser =
> itk::ClassifierValidationInputParser<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TClassifier =
> itk::GaussianImageClassifierApp<main(int, char**)::VectorInputImageType,
> main(int, char**)::BrainMaskImageType>, TOutputGenerator =
> itk::ClassifierValidationOutput<main(int, char**)::BrainMaskImageType>]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.txx:28:
> instantiated from `itk::GaussianClassifierValidationApp<TImage,
> TMaskImage>::GaussianClassifierValidationApp() [with TImage = main(int,
> char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.h:88:
> instantiated from `static
> itk::SmartPointer<itk::GaussianClassifierValidationApp<TImage, TMaskImage> >
> itk::GaussianClassifierValidationApp<TImage, TMaskImage>::New() [with TImage =
> main(int, char**)::VectorInputImageType, TMaskImage = main(int,
> char**)::BrainMaskImageType]'
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:49:
> instantiated from here
> /home/marc/InsightApplications/IBSRValidation/IBSRClassification/Code/GaussianImageClassifierApp.txx:50:
> no matching function for call to `vnl_matrix<unsigned int>::set_size(long
> unsigned int&, long unsigned int&)'
> cc1plus: No space left on device: error writing to /tmp/cc2rluqr.s
> make[5]: *** [GaussianClassifierValidationApp.o] Error 1
> make[4]: *** [default_target] Error 2
> make[3]: *** [default_target_IBSRClassification] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_IBSRValidation] Error 2
> make: *** [default_target] Error 2
>
> does anyone know what does it mean?
>
> I'm using Linux Mandrake 9.2
>
> Thank you,
>
> Marc
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>