Thanks for the prompt reply. I just built it again and got the following errors. I wonder if you may know what they mean. Thanks!<br><br>1>------ Build started: Project: ImageRegistration1, Configuration: Debug Win32 ------<br>
1>Linking...<br>1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall itk::ImageIORegion::~ImageIORegion(void)" (??1ImageIORegion@itk@@UAE@XZ) referenced in function __unwindfunclet$??0?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@IAE@XZ$0<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: __thiscall itk::ImageIORegion::ImageIORegion(void)" (??0ImageIORegion@itk@@QAE@XZ) referenced in function "protected: __thiscall itk::ImageFileReader<class itk::Image<float,2>,class itk::DefaultConvertPixelTraits<float> >::ImageFileReader<class itk::Image<float,2>,class itk::DefaultConvertPixelTraits<float> >(void)" (??0?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@IAE@XZ)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: static class itk::SmartPointer<class itk::ImageIOBase> __cdecl itk::ImageIOFactory::CreateImageIO(char const *,enum itk::ImageIOFactory::FileModeType)" (?CreateImageIO@ImageIOFactory@itk@@SA?AV?$SmartPointer@VImageIOBase@itk@@@2@PBDW4FileModeType@12@@Z) referenced in function __catch$?GenerateOutputInformation@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@UAEXXZ$0<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl itk::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class itk::ImageIORegion const &)" (??6itk@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV12@ABVImageIORegion@0@@Z) referenced in function "public: virtual void __thiscall itk::ImageFileReader<class itk::Image<float,2>,class itk::DefaultConvertPixelTraits<float> >::EnlargeOutputRequestedRegion(class itk::DataObject *)" (?EnlargeOutputRequestedRegion@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@UAEXPAVDataObject@2@@Z)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: void __thiscall itk::ImageIORegion::operator=(class itk::ImageIORegion const &)" (??4ImageIORegion@itk@@QAEXABV01@@Z) referenced in function "public: virtual void __thiscall itk::ImageFileReader<class itk::Image<float,2>,class itk::DefaultConvertPixelTraits<float> >::EnlargeOutputRequestedRegion(class itk::DataObject *)" (?EnlargeOutputRequestedRegion@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@UAEXPAVDataObject@2@@Z)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: __thiscall itk::ImageIORegion::ImageIORegion(unsigned int)" (??0ImageIORegion@itk@@QAE@I@Z) referenced in function "public: virtual void __thiscall itk::ImageFileReader<class itk::Image<float,2>,class itk::DefaultConvertPixelTraits<float> >::EnlargeOutputRequestedRegion(class itk::DataObject *)" (?EnlargeOutputRequestedRegion@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@UAEXPAVDataObject@2@@Z)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall itk::ImageIORegion::GetNumberOfPixels(void)const " (?GetNumberOfPixels@ImageIORegion@itk@@QBEIXZ) referenced in function __catch$?GenerateData@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@MAEXXZ$0<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: __thiscall itk::ImageIORegion::ImageIORegion(class itk::ImageIORegion const &)" (??0ImageIORegion@itk@@QAE@ABV01@@Z) referenced in function __catch$?GenerateData@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@MAEXXZ$0<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: bool __thiscall itk::ImageIORegion::IsInside(class itk::ImageIORegion const &)const " (?IsInside@ImageIORegion@itk@@QBE_NABV12@@Z) referenced in function "public: virtual void __thiscall itk::ImageFileWriter<class itk::Image<unsigned char,2> >::Write(void)" (?Write@?$ImageFileWriter@V?$Image@E$01@itk@@@itk@@UAEXXZ)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: void __thiscall itk::ImageIOBase::SetNumberOfDimensions(unsigned int)" (?SetNumberOfDimensions@ImageIOBase@itk@@QAEXI@Z) referenced in function "public: virtual void __thiscall itk::ImageFileWriter<class itk::Image<unsigned char,2> >::Write(void)" (?Write@?$ImageFileWriter@V?$Image@E$01@itk@@@itk@@UAEXXZ)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: void __thiscall itk::ImageIORegion::SetIndex(unsigned long,int)" (?SetIndex@ImageIORegion@itk@@QAEXKH@Z) referenced in function "public: static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class itk::ImageRegion<2> const &,class itk::ImageIORegion &,class itk::Index<2> const &)" (?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABV?$ImageRegion@$01@2@AAVImageIORegion@2@ABV?$Index@$01@2@@Z)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: void __thiscall itk::ImageIORegion::SetSize(unsigned long,unsigned int)" (?SetSize@ImageIORegion@itk@@QAEXKI@Z) referenced in function "public: static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class itk::ImageRegion<2> const &,class itk::ImageIORegion &,class itk::Index<2> const &)" (?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABV?$ImageRegion@$01@2@AAVImageIORegion@2@ABV?$Index@$01@2@@Z)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall itk::ImageIORegion::GetImageDimension(void)const " (?GetImageDimension@ImageIORegion@itk@@QBEIXZ) referenced in function "public: static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class itk::ImageRegion<2> const &,class itk::ImageIORegion &,class itk::Index<2> const &)" (?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABV?$ImageRegion@$01@2@AAVImageIORegion@2@ABV?$Index@$01@2@@Z)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: int __thiscall itk::ImageIORegion::GetIndex(unsigned long)const " (?GetIndex@ImageIORegion@itk@@QBEHK@Z) referenced in function "public: static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class itk::ImageIORegion const &,class itk::ImageRegion<2> &,class itk::Index<2> const &)" (?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABVImageIORegion@2@AAV?$ImageRegion@$01@2@ABV?$Index@$01@2@@Z)<br>
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall itk::ImageIORegion::GetSize(unsigned long)const " (?GetSize@ImageIORegion@itk@@QBEIK@Z) referenced in function "public: static void __cdecl itk::ImageIORegionAdaptor<2>::Convert(class itk::ImageIORegion const &,class itk::ImageRegion<2> &,class itk::Index<2> const &)" (?Convert@?$ImageIORegionAdaptor@$01@itk@@SAXABVImageIORegion@2@AAV?$ImageRegion@$01@2@ABV?$Index@$01@2@@Z)<br>
1>ImageRegistration1.obj : error LNK2019: 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::IOComponentType)const " (?GetComponentTypeAsString@ImageIOBase@itk@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4IOComponentType@12@@Z) referenced in function "protected: void __thiscall itk::ImageFileReader<class itk::Image<float,2>,class itk::DefaultConvertPixelTraits<float> >::DoConvertBuffer(void *,unsigned int)" (?DoConvertBuffer@?$ImageFileReader@V?$Image@M$01@itk@@V?$DefaultConvertPixelTraits@M@2@@itk@@IAEXPAXI@Z)<br>
1>G:\ITK_test\registration_test\registration_test\Debug\ImageRegistration1.exe : fatal error LNK1120: 16 unresolved externals<br>1>Build log was saved at "file://g:\ITK_test\registration_test\registration_test\ImageRegistration1.dir\Debug\BuildLog.htm"<br>
1>ImageRegistration1 - 17 error(s), 0 warning(s)<br>========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========<br><br><br>