Ticket #1502 (new defect)
Kakadu 5.2 suggested changes
|Reported by:||jensenk@…||Owned by:||warmerdam|
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.