Changes between Version 6 and Version 7 of JP2KAK
- Timestamp:
- Aug 31, 2007, 5:28:51 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JP2KAK
v6 v7 1 1 JP2KAK is the [http://www.kakadusoftware.com/ Kakadu] based [http://www.gdal.org/frmt_jp2kak.html GDAL Driver] for JPEG2000 image data. There are several other JPEG2000 drivers as well (JPEG200 - JasPer, JP2MRSID - MrSID SDK, JP2ECW - ECW SDK). The Kakadu library is proprietary, but can be licensed under reasonable terms for various uses. Unfortunately it comes with a slightly unusual build system which makes it hard to build against. 2 2 3 == Unix/Linux Builds by mloskot==3 == Building Kakadu on Unix/Linux == 4 4 5 5 The following guide walks through steps required to build '''Kakadu 6.0''' and '''GDAL''' with JP2KAK driver support on 32-bit Linux machine. Instructions presented here have been tested under Ubuntu Linux. … … 42 42 }}} 43 43 44 * Copy libraries to location where GDAL expects to find them 45 46 {{{ 47 $ pwd 48 /usr/local/kakadu-6.0 49 $ mv lib/Linux-x86-32-gcc/* lib/ 50 }}} 51 52 After this step, Kakadu libraries can be found here: 53 54 {{{ 55 $ cd /usr/local/kakadu-6.0/lib 56 $ ls lib* 57 libkdu.a libkdu_stacksafe32.a libkdu_v60R.so 58 }}} 44 59 45 60 61 == Building GDAL with Kakadu support == 62 63 * Configuration 64 65 {{{ 66 $ ./configure --with-kakadu=/usr/local/kakadu-6.0 67 }}} 68 69 As you see, ''--with-kakadu'' option takes root (prefix) of Kakadu installation directory. As mentioned in the previous section, GDAL building scripts will look for Kakadu binaries in subdirectory ''/usr/local/kakadu-6.0/lib''. 70 71 Verify if ./configure successfully detected Kakadu files: 72 73 {{{ 74 ... 75 GDAL is now configured for i686-pc-linux-gnu 76 77 Installation directory: /home/mloskot/usr 78 C compiler: gcc -O2 79 C++ compiler: g++ -O2 80 81 LIBTOOL support: no 82 83 ... 84 KAKADU support: yes 85 ... 86 }}} 46 87 47 88 89 * Build GDAL with JP2KAK driver 90 91 {{{ 92 $ make 93 }}} 48 94 49 95 ----