Opened 13 months ago

Closed 13 months ago

Last modified 13 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:
Cc:

Description

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/makefile.vc : add the target and the plugin name
  • frmts/jp2kak/makefile.vc : same thing
  • frmts/makefile.vc : 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 13 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 months ago by bugbuster

Following our discussion with Even (see http://osgeo-org.1560.x6.nabble.com/Use-Kakadu-quot-apps-library-quot-4116-td5326857.html), 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 13 months ago by bugbuster

comment:2 Changed 13 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 13 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.