[Insight-developers] No such thing as USE_SYSTEM_OpenJPEG?

Sean McBride sean at rogue-research.com
Mon Aug 26 12:10:49 EDT 2013


On Sat, 24 Aug 2013 10:37:20 +0200, Mathieu Malaterre said:

>> Funny you should mention this... because I spent half of yesterday
>debugging a problem which turned out to be related to openjpeg.  I use
>ITK 3.20 and GDCM 2.2.3, and point ITK to my GDCM.   I then link my app
>against ITK and GDCM.  At runtime, I was getting crashes with JPEG2000
>DICOM files, I thought it was a GDCM bug:
>>
>> <https://sourceforge.net/p/gdcm/bugs/220/>
>>
>> But turned out that I was linking to both ITK's and GDCM's openjpeg. 
>If ITK's was linked to first, I'd crash; if GDCM's was first, I wouldn't.
>
>I have defined SONAME/SOVERSION properties on openjpeg lib to avoid
>this type of ABI incompatibilities. Could you please check which
>soversion was used in your scenario ?

I believe SONAME/SOVERSION only apply to ELF, which I am not using...

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the Insight-developers mailing list