Opened 17 years ago

Closed 9 years ago

Last modified 5 years ago

#1502 closed defect (wontfix)

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)

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 (6)

comment:1 by dave@…, 17 years ago

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.

comment:2 by warmerdam, 17 years ago

Description: modified (diff)
Priority: highestnormal

comment:3 by Jukka Rahkonen, 10 years ago

Kakadu is at version 7.3.2 now. I suggest to close this 7 years old ticket.

comment:4 by Jukka Rahkonen, 9 years ago

Resolution: wontfix
Status: newclosed

Kakadu 5.2 is ancient, closing as won't fix.

comment:5 by misev, 5 years ago

I came across the same (?) issue, ./configure finished happily but then on make

In file included from jp2kakdataset.h:47:0,
                 from jp2kakdataset.cpp:35:
jp2kak_headers.h:38:23: fatal error: jp2_local.h: No such file or directory
 #include "jp2_local.h"
                       ^
compilation terminated.

GDAL 2.3.2, Kakadu 7.10.5, CentOS 7.6

comment:6 by misev, 5 years ago

Please ignore the above comment, I have missed to do make install for kakadu.

Note: See TracTickets for help on using tickets.