[Insight-developers] sorry, post again
Ying zhuge
zhuge@mipg.upenn.edu
Thu, 11 Jan 2001 09:58:29 -0500
I just installed the ITK, when compiling, something wrong happened.
There are totally six kinds of error types as following, type 2 only
happened for release version, Please help me out. Thanks a lot!
Platform: Win98, MSVC++ 6.0
Ying
1)
Compiling...
itkAffineTransformTest.cxx
C:/Users/zhg/Insight/Code/Common\itkAffineTransform.txx(127) : error
C2572: 'Compose' : redefinition of default parameter : parameter 2
C:/Users/zhg/Insight/Code/Common\itkAffineTransform.h(212) : see
declaration of 'Compose'
C:/Users/zhg/Insight/Code/Common\itkAffineTransform.txx(145) : error
C2572: 'Translate' : redefinition of default parameter : parameter 2
C:/Users/zhg/Insight/Code/Common\itkAffineTransform.h(221) : see
declaration of 'Translate'
2)
Linking...
Creating library Release/itkBasicArchitectureTest.lib and object
Release/itkBasicArchitectureTest.exp
itkBasicArchitectureTest.obj : error LNK2001: unresolved external symbol
"public: class itk::ProcessObject * __thiscall
itk::SmartPointerForwardReference<class
itk::ProcessObject>::operator->(void)const "
(??C?$SmartPointerForwardReference@VProcessO
bject@itk@@@itk@@QBEPAVProcessObject@1@XZ)
itkBasicArchitectureTest.obj : error LNK2001: unresolved external symbol
"public: __thiscall itk::SmartPointerForwardReference<class
itk::ProcessObject>::operator class itk::ProcessObject *(void)const "
(??B?$SmartPointerForwardReference@VProcessObj
ect@itk@@@itk@@QBEPAVProcessObject@1@XZ)
Release/itkBasicArchitectureTest.exe : fatal error LNK1120: 2 unresolved
externals
Error executing link.exe.
itkBasicArchitectureTest.exe - 3 error(s), 11 warning(s)
3)
C:/Users/zhg/Insight/Code/Insight3DParty/vxl\vnl/vnl_matrix_fixed.h(28)
: error C2503: 'vnl_matrix_fixed_ref<unsigned int,0,0>' : base classes
cannot contain zero-sized arrays
C:/Users/zhg/Insight/Code/Common\itkLevelSetCurvatureFunction.h(145) :
see reference to class template instantiation 'vnl_matrix_fixed<unsigned
int,0,0>' being compiled
C:/Users/zhg/Insight/Code/Common\itkLevelSetCurvatureFunction.h(152) :
see reference to class template instantiation
'itk::LevelSetCurvatureFunction<TInputImage>' being compiled
itkCurvatureFlowTest.exe - 2 error(s), 18 warning(s)
4)
C:/Users/zhg/Insight/Code/Common\itkNeighborhoodOperator.txx(19) : fatal
error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1794)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more
information
5)
c:\users\zhg\insight\code\common\itkneighborhoodoperator.txx(19) : fatal
error C1903: unable to recover from previous error(s); stopping
compilation
6)
c:\users\zhg\insight\code\insight3dparty\vxl\vnl\vnl_numeric_limits.h(61)
: error C2059: syntax error : 'function-style cast'
c:\users\zhg\insight\code\insight3dparty\vxl\vnl\vnl_numeric_limits.h(190)
: see reference to class template instantiation 'vnl_numeric_limits<T>'
being compiled