[Gdal-dev] about kakadu compile

Frank Warmerdam warmerdam at pobox.com
Mon Jan 12 14:26:05 EST 2004


Fu Chen wrote:
> Hi!
> Does anyone compile the gdal with the kakadu sdk 4.1 recently? 
> In nmake.opt there is only one dir to supply. But in fact the kakadu's
> include files spread in many directories. At last I collect all the .h
> file into one directory. But the compile still have trouble. 
> 
> jp2kakdataset.cpp(599) : error C2039: "set_num_components" is not a
> method of kdu_window
> 
> jp2kakdataset.cpp(600) : error C2676: "[" : "kdu_range_set" doesn't have
> this operation.
> 
> How can I get rid of this error?
> Any idea?

Fu Chen,

I suspect that something has changed in the JPIP related code, but I haven't
built that portion (available only on win32) against Kakadu 4.1.  You can get
things working by dropping JPIP support.

Change this:

#if defined(KAKADU4) && defined(WIN32)
#  define USE_JPIP
#endif

To this:
#if defined(KAKADU4) && defined(WIN32) && !defined(KAKADU41)
#  define USE_JPIP
#endif

I will apply this change to the master source till I get around to fixing
up JPIP support on 4.1.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list