[Insight-users] linking issues using system gdcm in centOS 6

Bradley Lowekamp blowekamp at mail.nih.gov
Wed Apr 17 11:06:11 EDT 2013


Hello Lewes,

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.

If you just want to hack it for yourself I'd start with the following CMake line:

https://github.com/Kitware/ITK/blob/master/Modules/ThirdParty/GDCM/CMakeLists.txt#L9

I am not too familiar with this CMake code, but that would be where I'd start.

Brad

On Apr 17, 2013, at 10:53 AM, liulewes <lewes_infor at hotmail.com> wrote:

> 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.
> 
> From: lewes_infor at hotmail.com
> To: insight-users at itk.org
> Date: Tue, 16 Apr 2013 17:03:29 -0400
> Subject: [Insight-users] linking issues using system gdcm in centOS 6
> 
> Environment: centOS 6
> Libs: custom built gdcm 2.3, itk 4.3
> cmake: 2.8
> 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.
> 
> 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?
> 
> Best,
> Lewes
> 
> _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at:http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-users
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130417/1d5c3f88/attachment.htm>


More information about the Insight-users mailing list