<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Tony,<br>
<br>
Can you send us you CMakeLists.txt? I suspect that you forgot to
include ITKIO.<br>
<br>
Siavash<br>
On 9/11/2013 12:01 AM, Tony Monata wrote:<br>
</div>
<blockquote
cite="mid:1378882868.49431.YahooMailNeo@web171601.mail.ir2.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt"><span>Hey
guys,
</span><br>
<br>
<span>i have some <span class="bold highlight search-highlight">unresolved</span>
external errors on building my project:
</span><br>
<br>
<span>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error LNK2019: <span
class="bold highlight search-highlight">unresolved</span>
external symbol "__declspec(dllimport) public: void __cdecl
gdcm::Reader::SetFileName(char const *)"
(__imp_?SetFileName@Reader@gdcm@@QEAAXPEBD@Z) referenced in
function "public: virtual bool __cdecl
itk::GDCMImageIO::CanReadFile(char const *)"
(?CanReadFile@GDCMImageIO@itk@@UEAA_NPEBD@Z)
</span><br>
<span>2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error
LNK2019: <span class="bold highlight search-highlight">unresolved</span>
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@Tag@gdcm@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
referenced in function"protected: void __cdecl
itk::GDCMImageIO::InternalReadImageInformation(class
std::basic_ifstream<char,struct
std::char_traits<char> > &)"
(?InternalReadImageInformation@GDCMImageIO@itk@@IEAAXAEAV?$basic_ifstream@DU?$char_traits@D@std@@@std@@@Z)</span><br>
<span>2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error
LNK2019: <span class="bold highlight search-highlight">unresolved</span>
external symbol "__declspec(dllimport) public: void __cdecl
gdcm::Writer::SetFileName(char const *)"
(__imp_?SetFileName@Writer@gdcm@@QEAAXPEBD@Z) referenced in
function "public: virtual void __cdecl
itk::GDCMImageIO::Write(void const *)"
(?Write@GDCMImageIO@itk@@UEAAXPEBX@Z)
</span><br>
<span>2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error
LNK2019: <span class="bold highlight search-highlight">unresolved</span>
external symbol "__declspec(dllimport) public: bool __cdecl
gdcm::VR::IsVRFile(void)const "
(__imp_?IsVRFile@VR@gdcm@@QEBA_NXZ) referenced in function
"public: virtual void __cdecl itk::GDCMImageIO::Write(void
const *)" (?Write@GDCMImageIO@itk@@UEAAXPEBX@Z)
</span><br>
<span>2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error
LNK2019: <span class="bold highlight search-highlight">unresolved</span>
external symbol "__declspec(dllimport) public: bool __cdecl
gdcm::Tag::ReadFromPipeSeparatedString(char const *)"
(__imp_?ReadFromPipeSeparatedString@Tag@gdcm@@QEAA_NPEBD@Z)
referenced in function "public: virtual void __cdecl
itk::GDCMImageIO::Write(void const *)"
(?Write@GDCMImageIO@itk@@UEAAXPEBX@Z)
</span><br>
<span>2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error
LNK2019: <span class="bold highlight search-highlight">unresolved</span>
external symbol "__declspec(dllimport) public: static void
__cdecl
gdcm::FileMetaInformation::SetSourceApplicationEntityTitle(char
const *)"
(__imp_?SetSourceApplicationEntityTitle@FileMetaInformation@gdcm@@SAXPEBD@Z)
referenced in function "public: virtual void __cdecl
itk::GDCMImageIO::Write(void const *)"
(?Write@GDCMImageIO@itk@@UEAAXPEBX@Z)
</span><br>
<span>2>ITKIOGDCM-4.4.lib(itkGDCMImageIO.obj) : error
LNK2019: <span class="bold highlight search-highlight">unresolved</span>
external symbol "__declspec(dllimport) public: static void
__cdecl
gdcm::FileMetaInformation::AppendImplementationClassUID(char
const *)"
(__imp_?AppendImplementationClassUID@FileMetaInformation@gdcm@@SAXPEBD@Z)
referenced in function "public: virtual void __cdecl
itk::GDCMImageIO::Write(void const *)"
(?Write@GDCMImageIO@itk@@UEAAXPEBX@Z)
</span><br>
<br>
<span>do you have an idea, which libs i should link ?
</span><br>
<br>
<br>
<span>bestd regards </span></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_____________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Kitware offers ITK Training Courses, for more information visit:
<a class="moz-txt-link-freetext" href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a>
Please keep messages on-topic and check the ITK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
</pre>
</blockquote>
<br>
</body>
</html>