2 | 1 | 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. |