<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<br>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Has anyone successfully built ITK 4.5 with the Use_System_GDCM option on the latest GDCM?</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">I get link errors related to JPEG-LS</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 0.5em 1em; overflow: auto;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">I rebuilt GDCM with GDCM_USE_JPEGLS on GDCM_USE_OPENJPEG_V2 on </span></font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 0.5em 1em; overflow: auto;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br></span></font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 0.5em 1em; overflow: auto;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"> Building ITK with Visual Studio 2012 the first link error occurs with building itkTestDriver. If I rebuild that subproject alone I get: 1> Unused libraries: 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\winspool.lib 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\shell32.lib 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\ole32.lib 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\oleaut32.lib 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\uuid.lib 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\comdlg32.lib 1> ..\..\..\..\lib\Debug\itkdouble-conversion-4.5.lib 1> ..\..\..\..\lib\Debug\ITKIOBioRad-4.5.lib 1> ..\..\..\..\lib\Debug\ITKIOLSM-4.5.lib 1> ..\..\..\..\lib\Debug\ITKIOStimulate-4.5.lib 1> ..\..\..\..\lib\Debug\ITKGDCM-4.5.lib 1> ..\..\..\..\lib\Debug\itkopenjpeg-4.5.lib 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\comctl32.lib 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\ws2_32.lib 1> C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64\Psapi.lib 1> ..\..\..\..\lib\Debug\ITKVNLInstantiation-4.5.lib 1> ..\..\..\..\lib\Debug\itkv3p_lsqr-4.5.lib 1> ..\..\..\..\lib\Debug\itkvcl-4.5.lib 1> 1>gdcmMSFF.lib(gdcmJPEGLSCodec.obj) : error LNK2019: unresolved external symbol JpegLsEncode referenced in function "public: virtual bool __cdecl gdcm::JPEGLSCodec::Code(class gdcm::DataElement const &,class gdcm::DataElement &)" (?Code@...)</span></font></pre>
</div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">It seems like GDCM is not linking with the JPEG stuff, but I get no errors when complaining linking GDCM,,,,,</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">THANKS</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Rick</span></div>
</body>
</html>