| 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 | |
| 3 | == Unix/Linux Builds == |
| 4 | |
| 5 | This is how I setup to use Kakadu 6.0 on my 64bit linux system with GDAL 1.4.x. Other makefiles exist for 32bit linux and a few other variations. You may have to fiddle with the makefiles some if your environment is odd. |
| 6 | |
| 7 | {{{ |
| 8 | unzip v6_0-00256n.zip |
| 9 | mv v6_0-00256N kakadu-6.0 |
| 10 | cd kakadu-6.0/coresys/make |
| 11 | make -f Makefile-Linux-x86-64-gcc |
| 12 | cd ../../apps/make |
| 13 | }}} |
| 14 | |
| 15 | Edit to add -fPIC in compile options. |
| 16 | |
| 17 | {{{ |
| 18 | make -f Makefile-Linux-x86-64-gcc |
| 19 | }}} |
| 20 | |
| 21 | Then I configure GDAL like this: |
| 22 | |
| 23 | {{{ |
| 24 | ./configure --with-kakadu=/home/warmerda/pkg/kakadu-6.0 |
| 25 | }}} |
| 26 | |
| 27 | and build. The Kakadu libraries are used as static libraries, so there are no .so's to carry along. |
| 28 | |