<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>This should be fixed per <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/pull/5033">https://github.com/OSGeo/gdal/pull/5033</a>
which adds support for re-entrant qhull (libqhull_r), which is
what is now shipped in recent qhull versions.</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 22/12/2021 à 11:38, Pei JIA a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADh8Q_WbhuAPkvv8iB8CxCtNNNA0mA2WbcVce4zR6P9WSCE4RQ@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>Hi, all:</div>
<div><br>
</div>
<div>Again, I failed to build <b>gdal-3.4.0</b> , against the
current <b>qhull 8.1.1 </b>.</div>
<div><br>
</div>
<div>1. I used </div>
<blockquote>
<div><i>CFLAGS="-O3 -pipe -march=native -w";
CXXFLAGS="${CFLAGS}" ./configure --with-proj=$ROOTDIR
--with-cpp14 --with-crypto=yes --with-liblzma
--with-python --with-geos=$ROOTDIR --with-spatialite
--with-openjpeg --with-hdf5=$ROOTDIR
--with-netcdf=$ROOTDIR --with-pg --with-curl --with-png
--with-qhull=yes</i></div>
</blockquote>
<div>for configuration.</div>
<div><br>
</div>
<div>2. while making, I got the following error messages:</div>
<div><br>
</div>
<blockquote>
<div><i>echo 'CONFIG_FORMATS="derived gtiff hfa mem vrt
aaigrid adrg aigrid airsar arg blx bmp bsb cals ceos
ceos2 coasp cosar ctg dimap dted elas envisat ers esric
fit gff gsg gxf hf2 idrisi ilwis ingr iris iso8211
jaxapalsar jdem kmlsuperoverlay l1b leveller map mrf msgn
ngsgeoid nitf northwood pds prf r raw rmf rs2 safe saga
sdts sentinel2 sgi sigdem srtmhgt stacit stacta terragen
tga til tsx usgsdem xpm xyz zarr zmap rik ozi eeda
plmosaic rda wcs wms wmts daas ogcapi rasterlite mbtiles
grib pdf heif exr webp openjpeg netcdf hdf5 gif png
pcraster fits jpeg pcidsk postgisraster jpegls"' >>
gdal-config-inst</i></div>
<div><i>echo 'CONFIG_FORMATS="derived gtiff hfa mem vrt
aaigrid adrg aigrid airsar arg blx bmp bsb cals ceos
ceos2 coasp cosar ctg dimap dted elas envisat ers esric
fit gff gsg gxf hf2 idrisi ilwis ingr iris iso8211
jaxapalsar jdem kmlsuperoverlay l1b leveller map mrf msgn
ngsgeoid nitf northwood pds prf r raw rmf rs2 safe saga
sdts sentinel2 sgi sigdem srtmhgt stacit stacta terragen
tga til tsx usgsdem xpm xyz zarr zmap rik ozi eeda
plmosaic rda wcs wms wmts daas ogcapi rasterlite mbtiles
grib pdf heif exr webp openjpeg netcdf hdf5 gif png
pcraster fits jpeg pcidsk postgisraster jpegls"' >>
gdal-config</i></div>
<div><i>cat <a href="http://gdal-config.in"
moz-do-not-send="true">gdal-config.in</a> >>
gdal-config</i></div>
<div><i>cat <a href="http://gdal-config.in"
moz-do-not-send="true">gdal-config.in</a> >>
gdal-config-inst</i></div>
<div><i>chmod a+x gdal-config</i></div>
<div><i>chmod a+x gdal-config-inst</i></div>
<div><i>/bin/bash ....../gdal/libtool --mode=link --silent g++
gdal_create.lo ....../gdal/<a href="http://libgdal.la"
moz-do-not-send="true">libgdal.la</a> -o gdal_create</i></div>
<div><i>/bin/bash ....../gdal/libtool --mode=link --silent g++
gdal_contour.lo ....../gdal/<a href="http://libgdal.la"
moz-do-not-send="true">libgdal.la</a> -o gdal_contour</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/<a
href="http://libgdal.so/usr/bin/ld"
moz-do-not-send="true">libgdal.so/usr/bin/ld</a>:
undefined reference to `: ....../gdal/.libs/libgdal.so:
undefined reference to `qh_qhqh_qh'</i></div>
<div><i>'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>/usr/bin/ld: ....../gdal/.libs/libgdal.so: undefined
reference to `qh_qh'</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>make[1]: *** [GNUmakefile:89: gdalinfo] Error 1</i></div>
<div><i>make[1]: *** Waiting for unfinished jobs....</i></div>
<div><i>make[1]: *** [GNUmakefile:110: nearblack] Error 1</i></div>
<div><i>make[1]: *** [GNUmakefile:92: gdalmdiminfo] Error 1</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>make[1]: *** [GNUmakefile:95: gdalmdimtranslate] Error
1</i></div>
<div><i>make[1]: *** [GNUmakefile:134: gdaldem] Error 1</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>make[1]: *** [GNUmakefile:149: gdalsrsinfo] Error 1</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>make[1]: *** [GNUmakefile:191: gdal_viewshed] Error 1</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>make[1]: *** [GNUmakefile:143: gdaltransform] Error 1</i></div>
<div><i>make[1]: *** [GNUmakefile:98: gdal_translate] Error 1</i></div>
<div><i>make[1]: *** [GNUmakefile:113: gdalmanage] Error 1</i></div>
<div><i>collect2: error: ld returned 1 exit status</i></div>
<div><i>make[1]: *** [GNUmakefile:101: gdaladdo] Error 1</i></div>
<div><i>make[1]: *** [GNUmakefile:146: gdallocationinfo] Error
1</i></div>
<div><i>make[1]: *** [GNUmakefile:107: gdal_contour] Error 1</i></div>
<div><i>make[1]: *** [GNUmakefile:104: gdalwarp] Error 1</i></div>
<div><i>make[1]: *** [GNUmakefile:131: gdalenhance] Error 1</i></div>
<div><i>make[1]: *** [GNUmakefile:194: gdal_create] Error 1</i></div>
<div><i>make[1]: Leaving directory '....../gdal/apps'</i></div>
<div><i>make: *** [GNUmakefile:123: apps-target] Error 2</i></div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
Did anybody successfully build <b>gdal-3.4.0</b> with <b>qhull-8.1.1</b>
? Please give me a hand... Thank you ...<br>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div><br>
</div>
<div>Pei JIA, Ph.D.</div>
<div><br>
</div>
<div>Email: <a href="mailto:jp4work@gmail.com"
target="_blank" moz-do-not-send="true">jp4work@gmail.com</a></div>
<div><br>
</div>
<div><br>
</div>
Welcome to Vision Open<br>
<a href="http://www.visionopen.com" target="_blank"
moz-do-not-send="true">http://www.visionopen.com</a></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</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>