[Insight-users] Problem compiling on IRIX

Jason Bryan jbryan at osc.edu
Wed Feb 20 11:15:36 EST 2002


Oops! Forgot the log.

On Wed, 20 Feb 2002, Jason Bryan wrote:

> Is there any page which lists the minimum system configuration and
> software requirements for compiling Insight using cmake?
> 
> After downloading the source, I first had problems extracting the files
> because some of the filenames were too long, but using a more recent
> version of tar fixed that problem.
> 
> Next I had problems compiling with the MIPSpro compilers (cc and CC). It
> seems it was having trouble resolving template macros of the form vcl_*.
> 
> After moving to the GNU compilers, things seemed to be working better, but
> now the assembler portion of the compilation fails because (I think) some
> of the symbol names are too long. There are an assortment of errors
> similar to:
> 
> as: Error: /var/tmp/cc5gA6Nb.s, line 64802: Truncating token:
> __Q23itkt19ImageRegionIterator1ZQ23itkt17BloxCoreAtomImage2ZQ23itkt22BloxBoundaryPointImage2ZQ23itkt5Image3ZQ23itkt15CovariantVector2ZdUi3Ui3ZQ23itkt18DefaultImageTraits3ZQ23itkt15CovariantVector2ZdUi3Ui3ZQ23itkt22ValarrayImageContainer2ZUlZQ23itkt15CovariantVector2ZdUi3ZQ23itkt18DefaultImageTraits3ZQ23itkt22BloxBoundaryPointPixel1Ui3Ui3ZQ23itkt22ValarrayImageContainer2ZUlZQ23itkt22BloxBoundaryPointPixel1Ui3ZQ23itkt18DefaultImageTraits3ZQ23itkt17BloxCoreAtomPixel1Ui3Ui3ZQ23itkt22ValarrayImageContainer2ZUlZQ23itkt17BloxCoreAtomPixel1Ui3RCQ23itkt19ImageRegionIterator1ZQ23itkt17BloxCoreAtomImage2ZQ23itkt22BloxBoundaryPointImage2ZQ23itkt5Image3ZQ23itkt15CovariantVector2ZdUi3Ui3ZQ23itkt18DefaultImageTraits3ZQ23itkt15CovariantVector2ZdUi3Ui3ZQ23itkt22ValarrayImageContainer2ZUlZQ23itkt15CovariantVector2ZdUi3ZQ23itkt18DefaultImageTraits3ZQ23itkt22BloxBoundaryPointPixel1Ui3Ui3ZQ23itkt22ValarrayImageContainer2ZUlZQ23itkt22BloxBoundaryPointPixel1Ui3ZQ23itkt18DefaultImageTraits3ZQ23itkt!
17!
> BloxCoreAtomPixel1Ui3Ui3ZQ23itkt
> 
> I am compiling on an Octane2, Irix64 6.5.11, MIPSpro Compilers: Version
> 7.2.1 (cc, CC, and as), and gcc/g++ version 2.95.2
> 
> I also tried compiling on Windows 2000 using Visual C++ 6.0, and had
> better luck, but some of the examples wouldn't compile
> (e.g. itkEllipsoidInteriorExteriorSpatialFunctionExample). This is not as
> big a problem since all the Insight libraries appear to have compiled
> correctly, but I thought I would report it anyway. The full compile log is
> attached.
> 
> Thanks for any feedback!
> 
> +--
> |
> |  Jason Bryan
> |  Director of Software Development
> |  Interface Lab - Ohio Supercomputer Center
> |  1224 Kinnear Rd
> |  Columbus, Ohio 43212
> |  (614) 292-1051
> |  www.osc.edu/Biomed
> |
> +--
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
> 

+--
|
|  Jason Bryan
|  Director of Software Development
|  Interface Lab - Ohio Supercomputer Center
|  1224 Kinnear Rd
|  Columbus, Ohio 43212
|  (614) 292-1051
|  www.osc.edu/Biomed
|
+--
-------------- next part --------------
--------------------Configuration: itkEllipsoidInteriorExteriorSpatialFunctionExample - Win32 Debug--------------------

Compiling...

itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(92) : error C2975: 'EllipsoidInteriorExteriorSpatialFunction' : invalid template argument for 'VImageDimension', constant express

ion expected

        C:\OSC\Insight\Code\Common\itkEllipsoidInteriorExteriorSpatialFunction.h(93) : see declaration of 'EllipsoidInteriorExteriorSpatialFunction'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(92) : error C2974: 'EllipsoidInteriorExteriorSpatialFunction' : invalid template argument for 'TInput', type expected

        C:\OSC\Insight\Code\Common\itkEllipsoidInteriorExteriorSpatialFunction.h(93) : see declaration of 'EllipsoidInteriorExteriorSpatialFunction'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(95) : error C2027: use of undefined type 'EllipsoidInteriorExteriorSpatialFunction<0,int>'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(95) : error C2146: syntax error : missing ';' before identifier 'TEllipsoidFunctionVectorType'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(95) : error C2065: 'TEllipsoidFunctionVectorType' : undeclared identifier

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(98) : error C2027: use of undefined type 'EllipsoidInteriorExteriorSpatialFunction<0,int>'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(98) : error C2065: 'Pointer' : undeclared identifier

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(98) : error C2146: syntax error : missing ';' before identifier 'spatialFunc'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(98) : error C2065: 'spatialFunc' : undeclared identifier

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(98) : error C2027: use of undefined type 'EllipsoidInteriorExteriorSpatialFunction<0,int>'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(98) : error C2065: 'New' : undeclared identifier

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(101) : error C2146: syntax error : missing ';' before identifier 'axes'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(101) : error C2065: 'axes' : undeclared identifier

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(102) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(102) : error C2106: '=' : left operand must be l-value

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(103) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(103) : error C2106: '=' : left operand must be l-value

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(104) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(104) : error C2106: '=' : left operand must be l-value

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(105) : error C2227: left of '->SetAxes' must point to class/struct/union

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(108) : error C2146: syntax error : missing ';' before identifier 'center'

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(108) : error C2065: 'center' : undeclared identifier

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(109) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(109) : error C2106: '=' : left operand must be l-value

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(110) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(110) : error C2106: '=' : left operand must be l-value

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(111) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(111) : error C2106: '=' : left operand must be l-value

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(112) : error C2227: left of '->SetCenter' must point to class/struct/union

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(122) : error C2227: left of '->SetOrientations' must point to class/struct/union

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(125) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(125) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(125) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Code\Common\itkFloodFilledSpatialFunctionConditionalIterator.h(48) : error C2027: use of undefined type 'EllipsoidInteriorExteriorSpatialFunction<0,int>'

        C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(129) : see reference to class template instantiation 'itk::FloodFilledSpatialFunctionConditionalIterator<class itk::Image

<unsigned char,3,class itk::DefaultImageTraits<unsigned char,3,class itk::ValarrayImageContainer<unsigned long,unsigned char> > >,class itk::EllipsoidInteriorExteriorSpatialFunction<0,int> >' being compiled

C:\OSC\Insight\Code\Common\itkFloodFilledSpatialFunctionConditionalIterator.h(48) : error C2146: syntax error : missing ';' before identifier 'FunctionInputType'

        C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(129) : see reference to class template instantiation 'itk::FloodFilledSpatialFunctionConditionalIterator<class itk::Image

<unsigned char,3,class itk::DefaultImageTraits<unsigned char,3,class itk::ValarrayImageContainer<unsigned long,unsigned char> > >,class itk::EllipsoidInteriorExteriorSpatialFunction<0,int> >' being compiled

C:\OSC\Insight\Code\Common\itkFloodFilledSpatialFunctionConditionalIterator.h(48) : error C2501: 'FunctionInputType' : missing storage-class or type specifiers

        C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(129) : see reference to class template instantiation 'itk::FloodFilledSpatialFunctionConditionalIterator<class itk::Image

<unsigned char,3,class itk::DefaultImageTraits<unsigned char,3,class itk::ValarrayImageContainer<unsigned long,unsigned char> > >,class itk::EllipsoidInteriorExteriorSpatialFunction<0,int> >' being compiled

C:\OSC\Insight\Code\Common\itkFloodFilledSpatialFunctionConditionalIterator.h(150) : error C2146: syntax error : missing ';' before identifier 'm_LocationVector'

        C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(129) : see reference to class template instantiation 'itk::FloodFilledSpatialFunctionConditionalIterator<class itk::Image

<unsigned char,3,class itk::DefaultImageTraits<unsigned char,3,class itk::ValarrayImageContainer<unsigned long,unsigned char> > >,class itk::EllipsoidInteriorExteriorSpatialFunction<0,int> >' being compiled

C:\OSC\Insight\Code\Common\itkFloodFilledSpatialFunctionConditionalIterator.h(150) : error C2501: 'FunctionInputType' : missing storage-class or type specifiers

        C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(129) : see reference to class template instantiation 'itk::FloodFilledSpatialFunctionConditionalIterator<class itk::Image

<unsigned char,3,class itk::DefaultImageTraits<unsigned char,3,class itk::ValarrayImageContainer<unsigned long,unsigned char> > >,class itk::EllipsoidInteriorExteriorSpatialFunction<0,int> >' being compiled

C:\OSC\Insight\Code\Common\itkFloodFilledSpatialFunctionConditionalIterator.h(150) : error C2501: 'm_LocationVector' : missing storage-class or type specifiers

        C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(129) : see reference to class template instantiation 'itk::FloodFilledSpatialFunctionConditionalIterator<class itk::Image

<unsigned char,3,class itk::DefaultImageTraits<unsigned char,3,class itk::ValarrayImageContainer<unsigned long,unsigned char> > >,class itk::EllipsoidInteriorExteriorSpatialFunction<0,int> >' being compiled

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(130) : error C2512: 'FloodFilledSpatialFunctionConditionalIterator<class itk::Image<unsigned char,3,class itk::DefaultImageTraits

<unsigned char,3,class itk::ValarrayImageContainer<unsigned long,unsigned char> > >,class itk::EllipsoidInteriorExteriorSpatialFunction<0,int> >' : no appropriate default constructor available

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(187) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(187) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(187) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(196) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(197) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(198) : error C2109: subscript requires array or pointer type

C:\OSC\Insight\Examples\EllipsoidInteriorExteriorSpatialFunction\itkEllipsoidInteriorExteriorSpatialFunctionExample.cxx(199) : error C2227: left of '->Evaluate' must point to class/struct/union

Error executing cl.exe.



ALL_BUILD - 47 error(s), 0 warning(s)



More information about the Insight-users mailing list