When you say &quot;It does not appear to be something specific to the GDCM CMakeLists.txt file&quot;<br><br>do you mean that you see this behavior when configuring other projects with CMake?<br><br>What do you get if you search for CMAKE_INSTALL_PREFIX in the GDCM source tree?<br>
<br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 5:03 PM, Holmes, David R. III, Ph.D. [RO RM1-24] <span dir="ltr">&lt;<a href="mailto:Holmes.David3@mayo.edu">Holmes.David3@mayo.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Colleagues-</p><p class="MsoNormal"> </p><p class="MsoNormal">I believe that I have run in a bug with cmake, but being a novice, I cannot say.  I would greatly appreciate any help.  Here is the story:</p>
<p class="MsoNormal"> </p><p><span>(1)<span style="font: 7pt &quot;Times New Roman&quot;;">    </span></span>I’m trying to build GDCM-2.0.17 and a  Windows machine (same issue if I specify 32-bit or 64-bit build) using CMAKE-2.8.3</p>
<p><span>(2)<span style="font: 7pt &quot;Times New Roman&quot;;">    </span></span>This is how I have chosen to setup my environment:</p><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-family: &quot;Courier New&quot;;">S: (or any drive)</span></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-family: &quot;Courier New&quot;;">  |</span></p><p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-family: &quot;Courier New&quot;;">  + GDCM-2.0.17</span></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-family: &quot;Courier New&quot;;">      |</span></p><p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-family: &quot;Courier New&quot;;">      + SRC</span></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-family: &quot;Courier New&quot;;">          |</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               -- [GDCM Source Tree]</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">           +  BUILD  </span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               |</span></p><p class="MsoNormal">
<span style="font-family: &quot;Courier New&quot;;">               -- PC_NT_32</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               |  |</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               |    -- [GDCM Build files for 32 bit]</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               |</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               -- PC_NT_64</span></p><p class="MsoNormal">
<span style="font-family: &quot;Courier New&quot;;">                  |</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">                   -- [GDCM Build files for 64 bit]</span></p><p class="MsoNormal">
<span style="font-family: &quot;Courier New&quot;;">           +  INSTALL  </span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               |</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               -- PC_NT_32</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               |  |</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               |    -- [GDCM Installed files for 32 bit]</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               |</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">               -- PC_NT_64</span></p><p class="MsoNormal">
<span style="font-family: &quot;Courier New&quot;;">                  |</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">                   -- [GDCM Installed files for 64 bit]</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"> </span></p><p><span>(3)<span style="font: 7pt &quot;Times New Roman&quot;;">    </span></span>I have run both cmake.exe and cmake-gui.exe with the same result.</p>
<p> </p><p><span>(4)<span style="font: 7pt &quot;Times New Roman&quot;;">    </span></span>After the first configure, I change the CMAKE_INSTALL_PREFIX to  “s:/GDCM-2.0.17/INSTALL/PC_NT_32”</p><p><span>(5)<span style="font: 7pt &quot;Times New Roman&quot;;">    </span></span>I run configure again</p>
<p><span>(6)<span style="font: 7pt &quot;Times New Roman&quot;;">    </span></span>It changes CMAKE_INSTALL_PREFIX to “s:/GDCM 2.0-2.0.17/PC_NT_32”</p><p><span>(7)<span style="font: 7pt &quot;Times New Roman&quot;;">    </span></span>I change it back and it requires that I run configure again</p>
<p><span>(8)<span style="font: 7pt &quot;Times New Roman&quot;;">    </span></span>Repeat from step (4) with no resolution</p><p class="MsoNormal"> </p><p class="MsoNormal">I do not see this issue when I run on a linux machine.  It does not appear to be something specific to the GDCM CMakeLists.txt file</p>
<p class="MsoNormal"> </p><p class="MsoNormal">As I said, I would appreciate any thoughts.</p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"> </span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">Thanks</span></p>
<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"> </span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">david</span></p><p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"> </span></p>
<p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">====================================================</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">David R Holmes III</span></p>
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Biomedical Imaging Resource Core Facility Director</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Department of Physiology and Biomedical Engineering </span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Mayo Clinic College of Medicine </span></p>
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;"> </span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Ph:  507-266-4250       Fax:  507-284-1632 </span></p><p class="MsoNormal">
<span style="font-size: 10.5pt; font-family: Consolas;"><a href="mailto:holmes.david3@mayo.edu" target="_blank"><span style="color: blue;">holmes.david3@mayo.edu</span></a></span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">==================================================== </span></p>
<p class="MsoNormal"> </p></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>