[gdal-dev] How to get support OPENJPEG 2.1.1 in GDAL 3.1.4 on CentOS 7.

Even Rouault even.rouault at spatialys.com
Thu Jan 14 01:51:12 PST 2021


On mercredi 13 janvier 2021 17:27:22 CET korolevs at msn.com wrote:
> Need help to get support OPENJPEG 2.1.1 in GDAL 3.1.4 on CentOS 7.
> Here are my configurations:
> 
> openjpeg-configure:
> 
>       cmake -DBUILD_THIRDPARTY:BOOL=ON \
>       -DCMAKE_BUILD_TYPE=Release \
>       -DCMAKE_INSTALL_PREFIX:PATH=$(prefix)/deps \
>       -DBUILD_SHARED_LIBS:bool=off)
> 
> gdal4-configure
> 
> 	CPPFLAGS="-I$(proj_prefix)/include
> -I$(openjpeg_prefix)/include/openjpeg-2.1" \ LDFLAGS="-L$(proj_prefix)/lib
> -L$(openjpeg_prefix)/lib/openjpeg-2.1/" \ ./configure
> --prefix=$(gdal4_prefix) --with-openjpeg \
> 	--with-static-proj=$(proj_prefix) --disable-all-optional-drivers --with-pic
> --without-python \ --without-netcdf --without-sqlite3 --without-pg
> --enable-driver-grib)

try

PKG_CONFIG_PATH=$(openjpeg_prefix)/lib/pkgconfig ./configure ...

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list