[gdal-dev] Problems compiling in Mac

Javier Jimenez Shaw j1 at jimenezshaw.com
Thu Nov 23 07:22:37 PST 2023


On Thu, 23 Nov 2023 at 15:01, Even Rouault <even.rouault at spatialys.com>
wrote:

>
> Le 23/11/2023 à 14:53, Javier Jimenez Shaw via gdal-dev a écrit :
>
> Hi
>
> A colleague of mine is compiling in Mac. I am aware of the problems with
> arrow and libkml:
> https://gdal.org/development/building_from_source.html#building-on-macos
>
> But we are compiling with GDAL_USE_EXTERNAL_LIBS=OFF
>
> However he has those problems with arrow and libkml, and had to unistall
> them from his computer.
>
> I thought that it was enough disabling GDAL_USE_EXTERNAL_LIBS (we are not
> enabling explicitly arrow or kml). Am I wrong?
>
> He might have to remove CMakeCache.txt because it could contain the
> GDAL_USE_LIBKML=ON declaration that was set before turning off
> GDAL_USE_EXTERNAL_LIBS
>
He started from an empty directory.

We are using conan, that is python, and setting
GDAL_USE_EXTERNAL_LIBS=False . This is the result after searching for that
string:

$ rg  -C3 GDAL_USE_EXTERNAL_LIBS
9e1a1eccb8f4704e0053d8d98cd817cbba03c366/CMakeCache.txt
1010-
1011-//Whether detected external libraries should be used by default.
1012-// This should be set before CMakeCache.txt is created.
1013:GDAL_USE_EXTERNAL_LIBS:BOOL=False
1014-
1015-//Set ON to use FREEXL
1016-GDAL_USE_FREEXL:BOOL=OFF
--
2419-GDAL_ENABLE_PLUGINS_NO_DEPS-ADVANCED:INTERNAL=1
2420-//ADVANCED property for variable: GDAL_USE_CPL_MULTIPROC_PTHREAD
2421-GDAL_USE_CPL_MULTIPROC_PTHREAD-ADVANCED:INTERNAL=1
2422://Previous value of GDAL_USE_EXTERNAL_LIBS
2423:GDAL_USE_EXTERNAL_LIBS_OLD_CACHED:INTERNAL=False
2424-//STRINGS property for variable: GDAL_USE_INTERNAL_LIBS
2425-GDAL_USE_INTERNAL_LIBS-STRINGS:INTERNAL=ON;OFF;WHEN_NO_EXTERNAL
2426-//Set ON to use Rasterlite2



>
> Thanks.
> .___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
>
> _______________________________________________
> gdal-dev mailing listgdal-dev at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231123/5d156c37/attachment.htm>


More information about the gdal-dev mailing list