<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang="FR" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span lang="EN-GB">Hi,</span></p><p class="MsoNormal"><span lang="EN-GB"> </span></p><p class="MsoNormal"><span lang="EN-GB">I want to build itk using my system gdcm. It seems that the various libraries are successfully built but lost of examples cannot be built because of unresolved external symbols related to the zlib library.</span></p><p class="MsoNormal"><span lang="EN-GB"> </span></p><p class="MsoNormal"><span lang="EN-GB">Gdcm is 2.4.4</span></p><p class="MsoNormal"><span lang="EN-GB">I tried with ITK-4.6.1 & ITK-4.8.1 and have the same errors.</span></p><p class="MsoNormal"><span lang="EN-GB"> </span></p><p class="MsoNormal"><span lang="EN-GB">I also found post on the mailing list related to this issue with ITK-4.5 but no way to solve it was proposed.</span></p><p class="MsoNormal"><span lang="EN-GB"> </span></p><p class="MsoNormal"><span lang="EN-GB">Is there a known way to resolve this issue ?</span></p><p class="MsoNormal"><span lang="EN-GB"> </span></p><p class="MsoNormal"><span lang="EN-GB">Thx</span></p><p class="MsoNormal"><span lang="EN-GB"> </span></p><p class="MsoNormal"><span lang="EN-GB">Vincent</span></p><p class="MsoNormal"><span lang="EN-GB"> </span></p><p class="MsoNormal"><span lang="EN-GB"> </span></p><p class="MsoNormal"><span lang="EN-GB">Below is the output of the linker when trying to build the AntiAliasBinaryImageFilter example</span></p><p class="MsoNormal"><span lang="EN-GB">-----------------</span></p><p class="MsoNormal"><span lang="EN-GB">"D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj" (cible par défaut) (135) ->(Link cible) -></span></p><p class="MsoNormal"><span lang="EN-GB"> gdcmDSED.lib(gdcmReader.obj) : error LNK2019: unresolved external symbol inflate referenced in function "private: __int64 __cdecl zlib_stream::basic_unzip_streambuf<char,struct std::char_traits<char> >::unzip_from_stream(char *,__int64)" (?unzip_from_stream@?$basic_unzip_streambuf@DU?char_traits@D@std@@@zlib_stream@@AEAA_JPEAD_J@Z) [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p><p class="MsoNormal"><span lang="EN-GB"> gdcmDSED.lib(gdcmReader.obj) : error LNK2019: unresolved external symbol inflateEnd referenced in function "public: virtual __cdecl zlib_stream::basic_unzip_streambuf<char,struct std::char_traits<char> >::~basic_unzip_streambuf<char,struct std::char_traits<char> >(void)" (??1?basic_unzip_streambuf@DU?$char_traits@D@std@@@zlib_stream@@UEAA@XZ) [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p><p class="MsoNormal"><span lang="EN-GB"> gdcmDSED.lib(gdcmReader.obj) : error LNK2019: unresolved external symbol crc32 referenced in function "private: __int64 __cdecl zlib_stream::basic_unzip_streambuf<char,struct std::char_traits<char> >::unzip_from_stream(char *,__int64)" (?unzip_from_stream@?$basic_unzip_streambuf@DU?$char_traits@D@std@@@zlib_stream@@AEAA_JPEAD_J@Z) [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p><p class="MsoNormal"><span lang="EN-GB"> gdcmDSED.lib(gdcmWriter.obj) : error LNK2001: unresolved external symbol crc32 [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p><p class="MsoNormal"><span lang="EN-GB"> gdcmDSED.lib(gdcmReader.obj) : error LNK2019: unresolved external symbol inflateInit2_ referenced in function "public: __cdecl zlib_stream::basic_unzip_streambuf<char,struct std::char_traits<char> >::basic_unzip_streambuf<char,struct std::char_traits<char> >(class std::basic_istream<char,struct std::char_traits<char> > &,int,unsigned __int64,unsigned __int64)" (??0?$basic_unzip_streambuf@DU?$char_traits@D@std@@@zlib_stream@@QEAA@AEAV?$basic_istream@DU?$char_traits@D@std@@@std@@H_K1@Z) [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p><p class="MsoNormal"><span lang="EN-GB"> gdcmDSED.lib(gdcmWriter.obj) : error LNK2019: unresolved external symbol deflate referenced in function "public: __int64 __cdecl zlib_stream::basic_zip_streambuf<char,struct std::char_traits<char> >::flush(void)" (?flush@?$basic_zip_streambuf@DU?$char_traits@D@std@@@zlib_stream@@QEAA_JXZ) [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p><p class="MsoNormal"><span lang="EN-GB"> gdcmDSED.lib(gdcmWriter.obj) : error LNK2019: unresolved external symbol deflateEnd referenced in function "public: virtual __cdecl zlib_stream::basic_zip_streambuf<char,struct std::char_traits<char> >::~basic_zip_streambuf<char,struct std::char_traits<char> >(void)" (??1?$basic_zip_streambuf@DU?$char_traits@D@std@@@zlib_stream@@UEAA@XZ) [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p><p class="MsoNormal"><span lang="EN-GB"> gdcmDSED.lib(gdcmWriter.obj) : error LNK2019: unresolved external symbol deflateInit2_ referenced in function "public: __cdecl zlib_stream::basic_zip_streambuf<char,struct std::char_traits<char> >::basic_zip_streambuf<char,struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,int,enum zlib_stream::EStrategy,int,int,unsigned __int64)" (??0?$basic_zip_streambuf@DU?$char_traits@D@std@@@zlib_stream@@QEAA@AEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@HW4EStrategy@1@HH_K@Z) [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p><p class="MsoNormal"><span lang="EN-GB"> D:\InCAS\itk\4.8.1_x64_build\bin\Debug\AntiAliasBinaryImageFilter.exe : fatal</span></p><p class="MsoNormal"><span lang="EN-GB"> error LNK1120: 7 unresolved externals [D:\InCAS\itk\4.8.1_x64_build\Examples\Filtering\AntiAliasBinaryImageFilter.vcxproj]</span></p></div></body></html>