[Insight-users] unresolved external errors ITKIOGDCM
Siavash khallaghi
siavashk at ece.ubc.ca
Wed Sep 11 03:06:59 EDT 2013
Hi Tony,
Can you send us you CMakeLists.txt? I suspect that you forgot to include
ITKIO.
Siavash
On 9/11/2013 12:01 AM, Tony Monata wrote:
> Hey guys,
>
> i have some unresolved external errors on building my project:
>
> ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error LNK2019: unresolved
> external symbol "__declspec(dllimport) public: void __cdecl
> gdcm::Reader::SetFileName(char const *)"
> (__imp_?SetFileName at Reader@gdcm@@QEAAXPEBD at Z) referenced in function
> "public: virtual bool __cdecl itk::GDCMImageIO::CanReadFile(char const
> *)" (?CanReadFile at GDCMImageIO@itk@@UEAA_NPEBD at Z)
> 2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error LNK2019: unresolved
> external symbol "__declspec(dllimport) public: class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > __cdecl
> gdcm::Tag::PrintAsPipeSeparatedString(void)const "
> (__imp_?PrintAsPipeSeparatedString at Tag@gdcm@@QEBA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@XZ)
> referenced in function"protected: void __cdecl
> itk::GDCMImageIO::InternalReadImageInformation(class
> std::basic_ifstream<char,struct std::char_traits<char> > &)"
> (?InternalReadImageInformation at GDCMImageIO@itk@@IEAAXAEAV?$basic_ifstream at DU?$char_traits at D@std@@@std@@@Z)
> 2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error LNK2019: unresolved
> external symbol "__declspec(dllimport) public: void __cdecl
> gdcm::Writer::SetFileName(char const *)"
> (__imp_?SetFileName at Writer@gdcm@@QEAAXPEBD at Z) referenced in function
> "public: virtual void __cdecl itk::GDCMImageIO::Write(void const *)"
> (?Write at GDCMImageIO@itk@@UEAAXPEBX at Z)
> 2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error LNK2019: unresolved
> external symbol "__declspec(dllimport) public: bool __cdecl
> gdcm::VR::IsVRFile(void)const " (__imp_?IsVRFile at VR@gdcm@@QEBA_NXZ)
> referenced in function "public: virtual void __cdecl
> itk::GDCMImageIO::Write(void const *)"
> (?Write at GDCMImageIO@itk@@UEAAXPEBX at Z)
> 2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error LNK2019: unresolved
> external symbol "__declspec(dllimport) public: bool __cdecl
> gdcm::Tag::ReadFromPipeSeparatedString(char const *)"
> (__imp_?ReadFromPipeSeparatedString at Tag@gdcm@@QEAA_NPEBD at Z) referenced
> in function "public: virtual void __cdecl itk::GDCMImageIO::Write(void
> const *)" (?Write at GDCMImageIO@itk@@UEAAXPEBX at Z)
> 2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error LNK2019: unresolved
> external symbol "__declspec(dllimport) public: static void __cdecl
> gdcm::FileMetaInformation::SetSourceApplicationEntityTitle(char const
> *)"
> (__imp_?SetSourceApplicationEntityTitle at FileMetaInformation@gdcm@@SAXPEBD at Z)
> referenced in function "public: virtual void __cdecl
> itk::GDCMImageIO::Write(void const *)"
> (?Write at GDCMImageIO@itk@@UEAAXPEBX at Z)
> 2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error LNK2019: unresolved
> external symbol "__declspec(dllimport) public: static void __cdecl
> gdcm::FileMetaInformation::AppendImplementationClassUID(char const *)"
> (__imp_?AppendImplementationClassUID at FileMetaInformation@gdcm@@SAXPEBD at Z)
> referenced in function "public: virtual void __cdecl
> itk::GDCMImageIO::Write(void const *)"
> (?Write at GDCMImageIO@itk@@UEAAXPEBX at Z)
>
> do you have an idea, which libs i should link ?
>
>
> bestd regards
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130911/5ea9824f/attachment.htm>
More information about the Insight-users
mailing list