[Insight-users] question on cmake.txt
Stephen Yip
stephen.fyip1 at gmail.com
Wed Mar 24 16:06:17 EDT 2010
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!
1>------ Build started: Project: ImageRegistration1, Configuration: Debug
Win32 ------
1>Linking...
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: virtual __thiscall itk::ImageIORegion::~ImageIORegion(void)"
(??1ImageIORegion at itk@@UAE at XZ) referenced in function
__unwindfunclet$??0?$ImageFileReader at V?$Image at M$01 at itk
@@V?$DefaultConvertPixelTraits at M@2@@itk@@IAE at XZ$0
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: __thiscall itk::ImageIORegion::ImageIORegion(void)"
(??0ImageIORegion at itk@@QAE at 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 at V?$Image at M$01 at itk@@V?$DefaultConvertPixelTraits at M@2@
@itk@@IAE at XZ)
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 at ImageIOFactory@itk@
@SA?AV?$SmartPointer at VImageIOBase@itk@@@2 at PBDW4FileModeType@12@@Z)
referenced in function __catch$?GenerateOutputInformation@
?$ImageFileReader at V?$Image at M$01 at itk@@V?$DefaultConvertPixelTraits at M@2@@itk@
@UAEXXZ$0
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 at DU
?$char_traits at D@std@@@std@@AAV12 at 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 at V?$Image at M$01 at itk
@@V?$DefaultConvertPixelTraits at M@2@@itk@@UAEXPAVDataObject at 2@@Z)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: void __thiscall itk::ImageIORegion::operator=(class
itk::ImageIORegion const &)" (??4ImageIORegion at 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 at V?$Image at M$01 at itk
@@V?$DefaultConvertPixelTraits at M@2@@itk@@UAEXPAVDataObject at 2@@Z)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: __thiscall itk::ImageIORegion::ImageIORegion(unsigned int)"
(??0ImageIORegion at itk@@QAE at 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 at V
?$Image at M$01 at itk@@V?$DefaultConvertPixelTraits at M@2@@itk@@UAEXPAVDataObject at 2
@@Z)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: unsigned int __thiscall
itk::ImageIORegion::GetNumberOfPixels(void)const "
(?GetNumberOfPixels at ImageIORegion@itk@@QBEIXZ) referenced in function
__catch$?GenerateData@?$ImageFileReader at V?$Image at M$01 at itk
@@V?$DefaultConvertPixelTraits at M@2@@itk@@MAEXXZ$0
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: __thiscall itk::ImageIORegion::ImageIORegion(class
itk::ImageIORegion const &)" (??0ImageIORegion at itk@@QAE at ABV01@@Z) referenced
in function __catch$?GenerateData@?$ImageFileReader at V?$Image at M$01 at itk
@@V?$DefaultConvertPixelTraits at M@2@@itk@@MAEXXZ$0
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: bool __thiscall itk::ImageIORegion::IsInside(class
itk::ImageIORegion const &)const " (?IsInside at ImageIORegion@itk@@QBE_NABV12@@Z)
referenced in function "public: virtual void __thiscall
itk::ImageFileWriter<class itk::Image<unsigned char,2> >::Write(void)"
(?Write@?$ImageFileWriter at V?$Image at E$01 at itk@@@itk@@UAEXXZ)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: void __thiscall itk::ImageIOBase::SetNumberOfDimensions(unsigned
int)" (?SetNumberOfDimensions at ImageIOBase@itk@@QAEXI at Z) referenced in
function "public: virtual void __thiscall itk::ImageFileWriter<class
itk::Image<unsigned char,2> >::Write(void)" (?Write@?$ImageFileWriter at V
?$Image at E$01 at itk@@@itk@@UAEXXZ)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: void __thiscall itk::ImageIORegion::SetIndex(unsigned long,int)"
(?SetIndex at ImageIORegion@itk@@QAEXKH at 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 at itk@@SAXABV?$ImageRegion@
$01 at 2@AAVImageIORegion at 2@ABV?$Index@$01 at 2@@Z)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: void __thiscall itk::ImageIORegion::SetSize(unsigned long,unsigned
int)" (?SetSize at ImageIORegion@itk@@QAEXKI at 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 at itk@@SAXABV?$ImageRegion@
$01 at 2@AAVImageIORegion at 2@ABV?$Index@$01 at 2@@Z)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: unsigned int __thiscall
itk::ImageIORegion::GetImageDimension(void)const "
(?GetImageDimension at 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 at itk@@SAXABV?$ImageRegion@
$01 at 2@AAVImageIORegion at 2@ABV?$Index@$01 at 2@@Z)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: int __thiscall itk::ImageIORegion::GetIndex(unsigned long)const "
(?GetIndex at ImageIORegion@itk@@QBEHK at 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 at itk@@SAXABVImageIORegion at 2
@AAV?$ImageRegion@$01 at 2@ABV?$Index@$01 at 2@@Z)
1>ImageRegistration1.obj : error LNK2019: unresolved external symbol
"public: unsigned int __thiscall itk::ImageIORegion::GetSize(unsigned
long)const " (?GetSize at ImageIORegion@itk@@QBEIK at 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 at itk@@SAXABVImageIORegion at 2
@AAV?$ImageRegion@$01 at 2@ABV?$Index@$01 at 2@@Z)
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 at ImageIOBase@itk@@QBE?AV?$basic_string at DU
?$char_traits at D@std@@V?$allocator at D@2@@std@@W4IOComponentType at 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 at V?$Image at M$01 at itk
@@V?$DefaultConvertPixelTraits at M@2@@itk@@IAEXPAXI at Z)
1>G:\ITK_test\registration_test\registration_test\Debug\ImageRegistration1.exe
: fatal error LNK1120: 16 unresolved externals
1>Build log was saved at
"file://g:\ITK_test\registration_test\registration_test\ImageRegistration1.dir\Debug\BuildLog.htm"
1>ImageRegistration1 - 17 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100324/cef1eea1/attachment.htm>
More information about the Insight-users
mailing list