Thank you for help. I’ve changed gdal config like this:
cd $(gdal4_src) && PKG_CONFIG_PATH=$(openjpeg_prefix)/lib/pkgconfig \
CPPFLAGS="-I$(proj_prefix)/include" LDFLAGS="-L$(proj_prefix)/lib" \
./configure $(CONFIGURE_FLAGS) --prefix=$(gdal4_prefix) --with-openjpeg
\
--wi
On mercredi 13 janvier 2021 17:27:22 CET korol...@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_PRE
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