<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Am 02.05.22 um 14:12 schrieb Javier
Jimenez Shaw:<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKtO=Z+P8OD=Nkeamp6KA8jKvDwHOyDGRoTgWgK5vhYY_g@mail.gmail.com">
<div dir="ltr">If I understood the example you mention correctly,
it is a direct dependency of GDAL: the executable test_cpp links
directly with GDAL.
<div>Our problem is that we have a library (ioimage), that links
with GDAL. The error appears when we try to compile/link <span
class="gmail-im"><span>tests_unit_ioimage, that depends on
ioimage, that depends on GDAL.<br>
</span></span></div>
<div><span class="gmail-im"><span><br>
</span></span></div>
</div>
</blockquote>
<p>IIUC the problem is that the usage requirements from GDAL are
lost on the way. Either this ioimage library is not passing them
("transitive usage requirements"), or the build of the executable
is not using them. Sometimes such problems are hidden by dynamic
linkage.</p>
<p>How does ioimage find and use GDAL? How does it publish its usage
requirements? <br>
</p>
<p>How does the test find and use iomage?<br>
</p>
Kai<br>
<p><br>
</p>
</body>
</html>