[gdal-dev] Problems compiling GDAL in ARM + NEON + libpng

Javier Jimenez Shaw j1 at jimenezshaw.com
Fri Dec 10 04:09:18 PST 2021


Thanks!
.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
Entre dos pensamientos racionales
hay infinitos pensamientos irracionales.



On Fri, 10 Dec 2021 at 12:52, Even Rouault <even.rouault at spatialys.com>
wrote:

> Was fixed in
> https://github.com/OSGeo/gdal/commit/1c719a864232daf58b799fbb2da785f3f9b2d579
> Le 10/12/2021 à 12:29, Javier Jimenez Shaw a écrit :
>
> Hi
>
> I am trying to compile GDAL 3.3.2 for ARM (apple M1), and I have problems
> with the included libpng. There is a missing "arm" folder in libpng. Is
> that intentional? How can I build it?
>
> NEON support is detected, so libpng try to use NEON optimized functions,
> but the implementation of those is missing, so I get
>
> Undefined symbols for architecture arm64:
>   "_png_do_expand_palette_rgb8_neon", referenced from:
>       _png_do_read_transformations in pngrtran.o
>   "_png_do_expand_palette_rgba8_neon", referenced from:
>       _png_do_read_transformations in pngrtran.o
>   "_png_init_filter_functions_neon", referenced from:
>       _png_read_filter_row in pngrutil.o
>   "_png_riffle_palette_neon", referenced from:
>       _png_do_read_transformations in pngrtran.o
>
> Thanks
> .___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
> Entre dos pensamientos racionales
> hay infinitos pensamientos irracionales.
>
>
> _______________________________________________
> 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.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211210/b422d13b/attachment.html>


More information about the gdal-dev mailing list