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

Even Rouault even.rouault at spatialys.com
Fri Dec 10 03:52:04 PST 2021


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 list
> gdal-dev at lists.osgeo.org
> https://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/20211210/8f13681c/attachment-0001.html>


More information about the gdal-dev mailing list