Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#6940 closed enhancement (fixed)

Kakadu support : dynamic plugin as an option

Reported by: bugbuster Owned by: warmerdam
Priority: normal Milestone: 2.3.0
Component: ConfigBuild Version: 2.2.0
Severity: normal Keywords:


It would be nice to be able to activate Kakadu support as a dynamic plugin. In particular, it would make it possible to update Kakadu library to a newer version without recompiling the whole GDAL library.

To do so, a couple modification are to be done :

  • frmts/jpipkak/ : add the target and the plugin name
  • frmts/jp2kak/ : same thing
  • frmts/ : add Kakadu special case
  • nmake.opt : add Kakadu plugin special case

Attachments (1)

gdal_kakadu_as_a_dynamic_plugin.patch (4.9 KB) - added by bugbuster 18 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 18 months ago by bugbuster

Following our discussion with Even (see, I have updated the proposed patch :

  • it only concerns Windows environment (I do not have a linux PC at hand)
  • it is a cumulative patch for #4116 and #6940 (I did not manage to make two separate patches)

Does it sound OK to you ?

Changed 18 months ago by bugbuster

comment:2 Changed 18 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 39503:

Windows build for Kakadu: add capability to build as a plugin, and make it possibly to link only against the Kakadu .lib/.dll instead of incorporating some of its .obj (patch by Phillipe Ghesquiere, fixes #6940, refs #4116)

comment:3 Changed 18 months ago by Even Rouault

Component: defaultConfigBuild
Milestone: 2.3.0

Patch committed with just a change to comment JP2KAK_PLUGIN = YES in the default nmake.opt (as for other drivers plugin is not the default). Thanks

Note: See TracTickets for help on using tickets.