wiki:JasPer

Version 2 (modified by warmerdam, 17 years ago) ( diff )

add -fPIC note.

The JasPer library can be used for JPEG2000 access in GDAL.

Building with JasPer

JPEG2000 support based on JasPer toolkit which can be accessed from the JasPer Project Home Page.

JasPer itself is a bridge for working with several image file formats. Only JP2 and JPC parts of JasPer used in GDAL.

You need modified JasPer library to build this driver with GeoJP2 support enabled. Modified version can be downloaded from ftp://ftp.remotesensing.org/gdal/jasper-1.900.1.uuid.tar.gz.

On 64bit linux systems it may be necessary to force use of -fPIC when building JasPer or else it can't be used in the GDAL shared library.

  export CFLAGS="-O2 -fPIC"
  ./configure
Note: See TracWiki for help on using the wiki.