<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Refer to Kakadu docs & support for that. There's definitely a
way of generating it, but Kakadu build system is .... ahem ...
"particular"<br>
</p>
<div class="moz-cite-prefix">Le 24/11/2022 à 14:37, Johannes Paul a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CACcmK9Yzrz3_sG5YM7WVVSbHa=+X7SF1T3CmoJBzvuCKunMPmA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div>Hello Even,
<div dir="auto">Thanks for your reply, i did notice that,
however libkdu_a82R.so is not generated at kakadu
compilation.</div>
<div dir="auto">I only get libkdu_v82R.so and libkdu.a</div>
<div dir="auto">Rgds,</div>
<div dir="auto">Johannes </div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le jeu. 24 nov. 2022 à
14:14, Even Rouault <<a
href="mailto:even.rouault@spatialys.com"
moz-do-not-send="true" class="moz-txt-link-freetext">even.rouault@spatialys.com</a>>
a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">The
value of KDU_AUX_LIBRARY is wrong. See <br>
<a
href="https://gdal.org/development/building_from_source.html#cmdoption-arg-KDU_AUX_LIBRARY"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://gdal.org/development/building_from_source.html#cmdoption-arg-KDU_AUX_LIBRARY</a><br>
<br>
It should be
-DKDU_AUX_LIBRARY="${INSTALLDIR}"/lib/libkdu_a82R.so"<br>
<br>
Even<br>
<br>
Le 24/11/2022 à 10:35, Johannes Paul a écrit :<br>
> Hello,<br>
><br>
> I'm having trouble compiling GDAL 3.6.0 on Centos7
with JP2KAK driver <br>
> using Kakadu 8.2.<br>
><br>
> I'm following the below instructions to compile KDU<br>
> <a href="https://trac.osgeo.org/gdal/wiki/JP2KAK"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://trac.osgeo.org/gdal/wiki/JP2KAK</a><br>
> And I'm using the following cmake options to compile
GDAL<br>
> -DGDAL_USE_KDU=ON -DKDU_INCLUDE_DIR="${INSTALLDIR}" <br>
> -DKDU_LIBRARY="${INSTALLDIR}"/lib/libkdu_v82R.so <br>
>
-DKDU_AUX_LIBRARY="${INSTALLDIR}"/lib/libkdu.a -DGDAL_ENABLE_DRIVER_JP2KAK:BOOL=ON<br>
><br>
> Everything goes fine until Linking CXX shared library
libgdal.so<br>
> where I get multiple errors type
jp2kakdataset.cpp:(.text+0x396): <br>
> undefined reference to `kdu_supp...<br>
><br>
> I've noticed the issue has already been addressed,
unfortunately it <br>
> does not solve my problem ...<br>
> <a href="https://github.com/OSGeo/gdal/issues/4306"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/OSGeo/gdal/issues/4306</a><br>
><br>
> Thanks for your help<br>
> Johannes<br>
><br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a><br>
> <a
href="https://lists.osgeo.org/mailman/listinfo/gdal-dev"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<br>
-- <br>
<a href="http://www.spatialys.com" rel="noreferrer
noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://www.spatialys.com</a><br>
My software is free, but my time generally not.<br>
<br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>