<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-CA link=blue vlink=purple>

<div class=Section1>

<div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>So, with ITK 3.12, I have an app that loads fine on 32-bit
Windows.  Building and running on 64-bit Windows, I receive a buffer
overrun during CRTMain in gdcm.dll </span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>...</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>  test_imaging.exe!__GSHandlerCheck_EH(_EXCEPTION_RECORD
* ExceptionRecord=0x<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>...<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>  msvcr80d.dll!memcpy(unsigned char * dst=,
unsigned char * src=, unsigned long count=)  Line 173 Asm<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>...<br>
  test_imaging.exe!gdcm::DictEntry::DictEntry()  + 0x9f
bytes C++<br>
  test_imaging.exe!gdcm::FillDefaultDataDict()  + 0xde
bytes C++<br>
  test_imaging.exe!gdcm::Dict::Dict()  + 0xc5 bytes C++<br>
  test_imaging.exe!gdcm::DictSet::DictSet()  + 0x13e
bytes C++<br>
  test_imaging.exe!gdcm::Global::Global()  + 0x6d bytes C++<br>
...<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>  test_imaging.exe!mainCRTStartup()  Line
414 C++</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><br>
 <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>While trying to substitute GDCM 2 for the older version that ships
with ITK, I noticed that there was no 64-bit Windows distribution.  While
building from source, I encountered the CHECK_INCLUDE_FILE_CONCAT bug described
in the link below with VC++ 2005 on 64-bit Windows 2008 Server. I can reproduce
with CMake 2.6.3 and 2.6.4.  I can reproduce with gdcm-2.0.11 and r5690 of
the gdcm trunk.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><a
href="http://www.creatis.insa-lyon.fr/pipermail/dcmlib/2008-February/003290.html"
target="_blank">http://www.creatis.insa-lyon.fr/pipermail/dcmlib/2008-February/003290.html</a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>While I can resolve this error by ripping the macro
definition, there are a series of configuration errors.  So, I thought I'd
just ask what I should be doing :)<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>tia,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>- Ashok<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='color:red'>CMake Error: File
/Source/Common/gdcmConfigure.h.in does not exist.</span> <o:p></o:p></p>

<p><span style='color:red'>CMake Error at Common/CMakeLists.txt:51
(CONFIGURE_FILE):</span><o:p></o:p></p>

<p><span style='color:red'>configure_file Problem configuring file</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at Common/CMakeLists.txt:115
(SET_TARGET_PROPERTIES):</span><o:p></o:p></p>

<p><span style='color:red'>set_target_properties called with illegal arguments,
maybe missing a</span><o:p></o:p></p>

<p><span style='color:red'>PROPERTIES specifier?</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at Common/CMakeLists.txt:140 (INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install TARGETS given no ARCHIVE DESTINATION for
static library target</span><o:p></o:p></p>

<p><span style='color:red'>"gdcmCommon".</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at Common/CMakeLists.txt:153 (INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install FILES given no DESTINATION!</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at DataDictionary/CMakeLists.txt:99
(SET_TARGET_PROPERTIES):</span><o:p></o:p></p>

<p><span style='color:red'>set_target_properties called with illegal arguments,
maybe missing a</span><o:p></o:p></p>

<p><span style='color:red'>PROPERTIES specifier?</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at DataDictionary/CMakeLists.txt:103
(INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install TARGETS given no ARCHIVE DESTINATION for
static library target</span><o:p></o:p></p>

<p><span style='color:red'>"gdcmDICT".</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at DataDictionary/CMakeLists.txt:116
(INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install FILES given no DESTINATION!</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at DataStructureAndEncodingDefinition/CMakeLists.txt:58
(SET_TARGET_PROPERTIES):</span><o:p></o:p></p>

<p><span style='color:red'>set_target_properties called with illegal arguments,
maybe missing a</span><o:p></o:p></p>

<p><span style='color:red'>PROPERTIES specifier?</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at
DataStructureAndEncodingDefinition/CMakeLists.txt:61 (INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install TARGETS given no ARCHIVE DESTINATION for
static library target</span><o:p></o:p></p>

<p><span style='color:red'>"gdcmDSED".</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at
DataStructureAndEncodingDefinition/CMakeLists.txt:74 (INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install FILES given no DESTINATION!</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at
InformationObjectDefinition/CMakeLists.txt:41 (SET_TARGET_PROPERTIES):</span><o:p></o:p></p>

<p><span style='color:red'>set_target_properties called with illegal arguments,
maybe missing a</span><o:p></o:p></p>

<p><span style='color:red'>PROPERTIES specifier?</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at
InformationObjectDefinition/CMakeLists.txt:45 (INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install TARGETS given no ARCHIVE DESTINATION for
static library target</span><o:p></o:p></p>

<p><span style='color:red'>"gdcmIOD".</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at
InformationObjectDefinition/CMakeLists.txt:58 (INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install FILES given no DESTINATION!</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at
MediaStorageAndFileFormat/CMakeLists.txt:125 (SET_TARGET_PROPERTIES):</span><o:p></o:p></p>

<p><span style='color:red'>set_target_properties called with illegal arguments,
maybe missing a</span><o:p></o:p></p>

<p><span style='color:red'>PROPERTIES specifier?</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at
MediaStorageAndFileFormat/CMakeLists.txt:151 (INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install TARGETS given no ARCHIVE DESTINATION for
static library target</span><o:p></o:p></p>

<p><span style='color:red'>"gdcmMSFF".</span><o:p></o:p></p>

<p><span style='color:red'>CMake Error at
MediaStorageAndFileFormat/CMakeLists.txt:163 (INSTALL):</span><o:p></o:p></p>

<p><span style='color:red'>install FILES given no DESTINATION!</span><o:p></o:p></p>

</div>

</div>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>No virus
found in this incoming message.<br>
Checked by AVG - www.avg.com<br>
Version: 8.5.339 / Virus Database: 270.12.36/2126 - Release Date: 05/22/09
06:03:00</span><o:p></o:p></p>

</div>

</body>

</html>