[gdal-dev] GDAL and Kakadu v7 SDK

Kolomeitz Shaun Shaun.Kolomeitz at derm.qld.gov.au
Sun Jul 8 18:07:06 PDT 2012

Does anyone happen to know how to get Kakadu v7 SDK to compile
successfully into GDAL under 64bit Debian Linux please ?

(eventually it would be great to get the GeoServer jp2k ImageIO stuff
working as well, but that's another matter)


The v7 SDK of Kakadu (by itself) compiles successfully.

I've followed the instructions in http://trac.osgeo.org/gdal/wiki/JP2KAK

But get the following errors -


jp2kakdataset.cpp: In function 'int
JP2KAKCreateCopy_WriteTile(GDALDataset*, kdu_tile&, kdu_roi_image*, int,
int, int, int, int, int, GDALDataType, kdu_codestream&, int, kdu_long*,
int, int (*)(double, const char*, void*), void*, bool)':

jp2kakdataset.cpp:1977: error: no matching function for call to
'kdu_line_buf::pre_create(kdu_sample_allocator*, int&, int&, int&)'

note: candidates are: void
kdu_line_buf::pre_create(kdu_sample_allocator*, int, bool, bool, int,

jp2kakdataset.cpp:2090: error: no matching function for call to
'kdu_push_ifc::push(kdu_line_buf&, bool)'

note: candidates are: void kdu_push_ifc::push(kdu_line_buf&,

/home/kakadu/v7_1-01334E/apps/jp2/jp2_shared.h: At global scope:

/home/kakadu/v7_1-01334E/apps/jp2/jp2_shared.h:825: warning: 'jp2_brand'
defined but not used

/home/kakadu/v7_1-01334E/apps/jp2/jp2_shared.h:826: warning: 'jpx_brand'
defined but not used

/home/kakadu/v7_1-01334E/apps/jp2/jp2_shared.h:827: warning:
'jpx_baseline_brand' defined but not used

/home/kakadu/v7_1-01334E/apps/jp2/jp2_shared.h:828: warning: 'mj2_brand'
defined but not used

make[2]: *** [../o/jp2kakdataset.lo] Error 1

make[2]: Leaving directory `/home/geoserver/gdal-1.8.0/frmts/jp2kak'

make[1]: *** [jp2kak-install-obj] Error 2

make[1]: Leaving directory `/home/geoserver/gdal-1.8.0/frmts'

make: *** [frmts-target] Error 2


Is it worth even pursuing this ?


Many thanks,


The information in this email together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. There is no waiver of any confidentiality/privilege by your inadvertent receipt of this material. 
Any form of review, disclosure, modification, distribution and/or publication of this email message is prohibited, unless as a necessary part of Departmental business.
If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120709/984d9117/attachment.html>

More information about the gdal-dev mailing list