Ticket #1502 (new defect)

Opened 6 years ago

Last modified 6 years ago

Kakadu 5.2 suggested changes

Reported by: jensenk@… Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.4.0
Severity: normal Keywords:
Cc:

Description (last modified by warmerdam) (diff)

On Windows, I link against Kakadu DLLs. I set KAKDIR to an invalid path, add -Imydir to OPTFLAGS, and add kdu_v52R.lib and kdu_a52R.lib to the linker flags. Otherwise, I get multiple inclusion of Kakadu symbols when linking GDAL and KDU to my apps. jp2kak requires jp2_local.h, but that header is not part of Kakadu 5.2.6 coresys or the new managed "all_includes". Similarly, "roi_sources.obj" is required but not a part of the managed kdu_a52R.dll. If roi_sources is required from legacy v4.5, can it be removed from GDAL when KAKADU4 is not defined? If not, I'll ask Dr. Taubman to add this to the managed project.

P.S. Keep up the good work.

Change History

Changed 6 years ago by dave@…

This is not a Windows-only issue. I can confirm the same issue for OSX ( and since its a change in Kakadu's makefile it'll apply to all platforms.

Changed 6 years ago by warmerdam

  • priority changed from highest to normal
  • description modified (diff)
Note: See TracTickets for help on using tickets.