[Insight-users] Duplicate symbols from OpenJPEG with system GDCM and ITK 4.4

Matt McCormick matt.mccormick at kitware.com
Wed Jul 24 11:43:03 EDT 2013


Hi Simon,

Please try this patch:

  http://review.source.kitware.com/#/c/12078/

Thanks,
Matt

On Wed, Jul 24, 2013 at 9:40 AM, Simon Rit
<simon.rit at creatis.insa-lyon.fr> wrote:
> Hi,
> I am trying to build an application (http://vv.creatis.insa-lyon.fr/) under
> MacOS with system GDCM (latest version from git) and ITK 4.4. At link time,
> I get duplicate symbol errors because itk and gdcm both compile openjpeg,
> for example :
>
> duplicate symbol _j2k_convert_progression_order in:
>     /Users/srit/src/itk4/mac64/lib/libitkopenjpeg-4.4.a(j2k.c.o)
>     /Users/srit/src/gdcm/mac64-install/lib/libgdcmopenjpeg.a(j2k.c.o)
>
> I did not find an easy way to fix this. Is there a way to disable the build
> of OpenJPEG when gdcm system is used? No matter what I do, the module
> ITKOpenJPEG is built when ITK IOs are built...
> Thanks in advance,
> Simon
>
> _____________________________________
> 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
>


More information about the Insight-users mailing list