[Insight-developers] ITKv4: openjpeg-v2 update: GDCM

Luis Ibanez luis.ibanez at kitware.com
Fri Aug 20 14:51:36 EDT 2010


Hi Mathieu,

OpenJpeg has now been updated in the Utilities/openjpeg
directory in ITKv4.

http://itk.org/gitweb?p=ITK.git;a=commit;h=4919c781c4b4e57a53e03fac4d696cb5154ecc51

As you suggested, we have disabled (temporarily) the use
of jpeg2000 in Utilities/gdcm.

The terrain is now ready for you to do the update to GDCM 2.0.


Please let me know if I missed any detail,


     Thanks


            Luis


--------------------------------------------------------------------------------
On Thu, Aug 19, 2010 at 12:51 AM, Luis Ibanez <luis.ibanez at kitware.com>wrote:

> Hi Mathieu,
>
> Thanks for the advice,
>
> Yes, I'll give it a shot at disabling
> gdcmJpeg2000, temporarily.
>
>
>      Luis
>
>
> -----------------------------------------------------
>
> On Wed, Aug 18, 2010 at 8:31 AM, Mathieu Malaterre <
> mathieu.malaterre at gmail.com> wrote:
>
>> Hi Luis,
>>
>>  Good work on OpenJPEG v2 !
>>  Unfortunately the patch is non-trivial, see the one in GDCM 2.x:
>>
>>
>> http://gdcm.svn.sf.net/viewvc/gdcm/trunk/Source/MediaStorageAndFileFormat/gdcmJPEG2000Codec.cxx?r1=6931&r2=6942
>>
>>  If GDCM is updated in the coming days, I would vote against
>> preparing such large patch, for such little goals (couple of days).
>> Would it be possible to simply skip the compilation of gdcmJpeg2000
>> completely ? There will only be one test failing (DICOM+JPEG2000
>> compression).
>>
>> HTH
>>
>> On Wed, Aug 18, 2010 at 1:57 PM, Luis Ibanez <luis.ibanez at kitware.com>
>> wrote:
>> >
>> > Hi Mathieu,
>> >
>> > I just moved the current version of
>> >
>> >       openjpeg-v2/libopenjpeg
>> >
>> > into my local
>> >
>> >       ITK/Utilities/openjpeg
>> >
>> > The build of  openjpeg itself went very
>> > smoothly, but then, it looks like the
>> > version of GDCM in ITK is expecting
>> > several symbols that are no longer
>> > available in openjpeg.
>> >
>> > This probably will go away as soon
>> > as we update to GDCM 2.0.
>> >
>> > Would you recommend a temporary
>> > patch that could allow me to push these
>> > openjpeg changes to the Git repository ?
>> > (without breaking the dashboard..)
>> >
>> >
>> >       Thanks for any advice,
>> >
>> >
>> >             Luis
>> >
>> >
>> > -------------------------------------------
>> > Linking CXX executable ../../bin/itkTestDriver
>> > ../../bin/libitkgdcm.a(gdcmJpeg2000.o): In function
>> > `gdcm::gdcm_write_JPEG2000_file(std::basic_ostream<char,
>> > std::char_traits<char> >*, char*, unsigned long, int, int, int, int,
>> int,
>> > int, int, unsigned long&)':
>> > gdcmJpeg2000.cxx:(.text+0x4a9): undefined reference to
>> `opj_set_event_mgr'
>> > gdcmJpeg2000.cxx:(.text+0x4c3): undefined reference to `opj_cio_open'
>> > gdcmJpeg2000.cxx:(.text+0x4eb): undefined reference to `cio_tell'
>> > gdcmJpeg2000.cxx:(.text+0x50a): undefined reference to `opj_cio_close'
>> > gdcmJpeg2000.cxx:(.text+0x512): undefined reference to
>> > `opj_destroy_compress'
>> > gdcmJpeg2000.cxx:(.text+0x594): undefined reference to `opj_cio_close'
>> > ../../bin/libitkgdcm.a(gdcmJpeg2000.o): In function
>> > `gdcm::gdcm_read_JPEG2000_file(void*, char*, unsigned long)':
>> > gdcmJpeg2000.cxx:(.text+0x765): undefined reference to
>> `opj_set_event_mgr'
>> > gdcmJpeg2000.cxx:(.text+0x781): undefined reference to `opj_cio_open'
>> > gdcmJpeg2000.cxx:(.text+0x7a5): undefined reference to `opj_cio_close'
>> > gdcmJpeg2000.cxx:(.text+0x881): undefined reference to
>> > `opj_destroy_decompress'
>> > gdcmJpeg2000.cxx:(.text+0x9a8): undefined reference to
>> > `opj_destroy_decompress'
>> > gdcmJpeg2000.cxx:(.text+0x9b0): undefined reference to `opj_cio_close'
>> >
>> >
>>
>>
>>
>> --
>> Mathieu
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100820/e3366a32/attachment.htm>


More information about the Insight-developers mailing list