<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I want to use GDAL for GML parsing with Java.</p>
<p>I made an Eclipse project and got dependency - gdal-3.8.0.</p>
<p>My code compiles fine, but in debuging at line - <span
style="color: rgb(0, 0, 0); white-space: pre;">gdal.</span><span
style="color: rgb(0, 0, 0); font-style: italic; white-space: pre;">AllRegister</span><span
style="color: rgb(0, 0, 0); white-space: pre;">();</span></p>
<div style="background-color:#ffffff;padding:0px 0px 0px 2px;">
<div
style="color:#000000;background-color:#ffffff;font-family:"Monospace";font-size:10pt;white-space:pre;"><p
style="margin:0;">I got error : </p><p style="margin:0;">
</p><div style="background-color:#ffffff;padding:0px 0px 0px 2px;"><div
style="color:#000000;background-color:#ffffff;font-family:"Monospace";font-size:10pt;white-space:pre;"><p
style="margin:0;"><span style="color:#ff0000;">Native library load failed.</span></p><p
style="margin:0;"><span style="color:#ff0000;">java.lang.UnsatisfiedLinkError: no gdalalljni in java.library.path: [/home/Raivo/GML/lib]</span></p><p
style="margin:0;"><span style="color:#ff0000;">Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void org.gdal.gdal.gdalJNI.AllRegister()'</span></p><p
style="margin:0;"><span style="color:#ff0000;"> at org.gdal.gdal.gdalJNI.AllRegister(</span><span
style="color:#007aa6;text-decoration:underline;text-decoration-style:solid;">Native Method</span><span
style="color:#ff0000;">)</span></p><p style="margin:0;"><span
style="color:#ff0000;"> at org.gdal.gdal.gdal.AllRegister(</span><span
style="color:#007aa6;text-decoration:underline;text-decoration-style:solid;">gdal.java:712</span><span
style="color:#ff0000;">)</span></p><p style="margin:0;"><span
style="color:#ff0000;"> at My.Parser.Parser.main(</span><span
style="color:#007aa6;text-decoration:underline;text-decoration-style:solid;">Parser.java:16</span><span
style="color:#ff0000;">)</span></p><p style="margin:0;">an in realility <span
style="color:#ff0000;">gdalalljni </span><font color="#2e3436">doesnt exist in my computer.</font></p><p
style="margin:0;"><font color="#2e3436">
</font></p><p style="margin:0;"><font color="#2e3436">So I cloned GDAL sources from git, version 3.9.0, but I didn't find docs how to buil Java binding jar file</font></p><p
style="margin:0;"><font color="#2e3436">
</font></p><p style="margin:0;"><font color="#2e3436">Can anybody hel my ?</font></p><p
style="margin:0;"><font color="#2e3436">
</font></p><p style="margin:0;"><font color="#2e3436">Regards,</font></p><p
style="margin:0;"><font color="#2e3436">Raivo
</font></p></div></div><p style="margin:0;"></p></div>
</div>
<p></p>
</body>
</html>