[Insight-users] Linking error in examples

庄吓海(Xiahai Zhuang) arhye at 163.com
Thu Aug 25 10:11:56 EDT 2005


 
	----------------Configuration: ImageRegistration4 - Win32 Debug--------------------
Compiling...
ImageRegistration4.cxx
Linking...
   Creating library E:\bin\itkvtk\bin\Debug/ImageRegistration4.lib and object E:\bin\itkvtk\bin\Debug/ImageRegistration4.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
ImageRegistration4.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall itk::ProcessObject::GetNumberOfValidRequiredInputs(void)const " (?GetNumberOfValidRequiredInputs at ProcessObject@itk@@UBEIXZ)
ImageRegistration4.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall itk::ImageIOBase::GetComponentTypeAsString(enum itk::ImageIOBase::IOCompon
entType)const " (?GetComponentTypeAsString at ImageIOBase@itk@@QBE?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@W4IOComponentType at 12@@Z)
E:\bin\itkvtk\bin\Debug/ImageRegistration4.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

ImageRegistration4.exe - 3 error(s), 1 warning(s)

//////////////////////////////////////////////////////////////////
  any time I built an example, the compiling is OK, but when it comes to link, it comes out such errors.
could anyone so kind to help me out. thanks!!!









		

        致
礼!
 
				 
        庄吓海(Xiahai Zhuang)
        arhye at 163.com
          2005-08-25






More information about the Insight-users mailing list