<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"><base href="x-msg://190/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Lewes,<div><br></div><div>There is probably needs to be some cmake code updated. I know we have had a couple developers working hard to try to unify some CMake GDCM issues. I hope they are ware of this issue and have already improved it.</div><div><br></div><div>If you just want to hack it for yourself I'd start with the following CMake line:</div><div><br></div><div><a href="https://github.com/Kitware/ITK/blob/master/Modules/ThirdParty/GDCM/CMakeLists.txt#L9">https://github.com/Kitware/ITK/blob/master/Modules/ThirdParty/GDCM/CMakeLists.txt#L9</a></div><div><br></div><div>I am not too familiar with this CMake code, but that would be where I'd start.</div><div><br></div><div>Brad</div><div><br><div><div>On Apr 17, 2013, at 10:53 AM, liulewes <<a href="mailto:lewes_infor@hotmail.com">lewes_infor@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: ΢ÈíÑźÚ; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div dir="ltr">It turns out that I have to add additional gdcm libs manually into the corresponding link.txt files for these itk test projects. Just wonder if there is a more systematic way to do it.<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From:<span class="Apple-converted-space"> </span><a href="mailto:lewes_infor@hotmail.com">lewes_infor@hotmail.com</a><br>To:<span class="Apple-converted-space"> </span><a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Date: Tue, 16 Apr 2013 17:03:29 -0400<br>Subject: [Insight-users] linking issues using system gdcm in centOS 6<br><br><div dir="ltr">Environment: centOS 6<br>Libs: custom built gdcm 2.3, itk 4.3<br>cmake: 2.8<br>issue: when building itk with the custom built gdcm, the linker complains when linking for itkTestDriver. Symbols such as uuid_generate, JepgLsReadHeader, opj_cio_close, inflate, and etc. are not found; however, they exist in libgdcmuuid, libgdcmcharls, libgdcmzlib, respectively.<br><br>I think some gdcm libs are not included in the itk cmake file correctly. What is the general suggested way to solve this type of issues?<br><br>Best,<br>Lewes<br></div><br>_____________________________________ Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com">www.kitware.com</a><span class="Apple-converted-space"> </span>Visit other Kitware open-source projects at<span class="Apple-converted-space"> </span><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><span class="Apple-converted-space"> </span>Kitware offers ITK Training Courses, for more information visit:<span class="Apple-converted-space"> </span><a href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a><span class="Apple-converted-space"> </span>Please keep messages on-topic and check the ITK FAQ at:<a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><span class="Apple-converted-space"> </span>Follow this link to subscribe/unsubscribe:<span class="Apple-converted-space"> </span><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></div></div>_____________________________________<br>Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></div></blockquote></div><br></div></body></html>