Hello Even, Thanks for your reply, i did notice that, however libkdu_a82R.so is not generated at kakadu compilation. I only get libkdu_v82R.so and libkdu.a Rgds, Johannes
Le jeu. 24 nov. 2022 à 14:14, Even Rouault <even.roua...@spatialys.com> a écrit : > The value of KDU_AUX_LIBRARY is wrong. See > > https://gdal.org/development/building_from_source.html#cmdoption-arg-KDU_AUX_LIBRARY > > It should be -DKDU_AUX_LIBRARY="${INSTALLDIR}"/lib/libkdu_a82R.so" > > Even > > Le 24/11/2022 à 10:35, Johannes Paul a écrit : > > Hello, > > > > I'm having trouble compiling GDAL 3.6.0 on Centos7 with JP2KAK driver > > using Kakadu 8.2. > > > > I'm following the below instructions to compile KDU > > https://trac.osgeo.org/gdal/wiki/JP2KAK > > And I'm using the following cmake options to compile GDAL > > -DGDAL_USE_KDU=ON -DKDU_INCLUDE_DIR="${INSTALLDIR}" > > -DKDU_LIBRARY="${INSTALLDIR}"/lib/libkdu_v82R.so > > > -DKDU_AUX_LIBRARY="${INSTALLDIR}"/lib/libkdu.a > -DGDAL_ENABLE_DRIVER_JP2KAK:BOOL=ON > > > > Everything goes fine until Linking CXX shared library libgdal.so > > where I get multiple errors type jp2kakdataset.cpp:(.text+0x396): > > undefined reference to `kdu_supp... > > > > I've noticed the issue has already been addressed, unfortunately it > > does not solve my problem ... > > https://github.com/OSGeo/gdal/issues/4306 > > > > Thanks for your help > > Johannes > > > > _______________________________________________ > > gdal-dev mailing list > > gdal-dev@lists.osgeo.org > > https://lists.osgeo.org/mailman/listinfo/gdal-dev > > -- > http://www.spatialys.com > My software is free, but my time generally not. > >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev