[pdal] Build/install pdal on raspberry pi zero 2
James Klassen
klassen.js at gmail.com
Sat Mar 15 07:55:13 PDT 2025
I don’t remember if the Pi zero 2 is 64 bit or not but it is likely running
a 32 bit (armhf) OS either way with 512MB RAM.
I have built PDAL from source on RPi4 (4GB) and RPi5 (8GB) no problem.
Both obviously aarch64.
My guess is PDAL would run fine on a Pi 0 for small datasets or streaming
mode if built somewhere else.
On Fri, Mar 14, 2025 at 07:20 Howard Butler via pdal <pdal at lists.osgeo.org>
wrote:
> I agree with Paul and would add that the shortest path to getting PDAL on
> an RPI is to use Conda. Otherwise you'll have to cross-compile it yourself
> on a more capable machine.
>
> Another Conda pathway is to use pixi instead of miniconda, etc.
> https://pixi.sh which kind of flips the whole conda environments thing on
> its head but still uses all the packages and their relationships from
> CondaForge to achieve it.
>
> Howard
>
> On Mar 14, 2025, at 6:23 AM, Paul Harwood via pdal <pdal at lists.osgeo.org>
> wrote:
>
> Unpacking that message a little:
>
> 1 About Conda - I am assuming that you are getting "pdal not found" when
> you attempt to do "mamba install pdal" or similar (some more context would
> be good). I wonder which architecture the Conda on Pi Zero installation is
> looking for - PDAL supports linux-aarch64, which I would have thought
> would have been the one but worth checking.
>
> 2 Building - probably asking too much to build PDAL on pi
>
> 3 Which environment are you developing in? There are, if you want, C and
> C# bindings for PDAL in the PDAL/CAPI repository, which are available from
> Conda as pdal-c and should be available on linux-aarch64 architecture
> (although I have never tested it).
>
> You probably need to provide some more information and a better-structured
> question.
>
> Paul
>
> On Fri, 14 Mar 2025 at 09:16, h Istvan via pdal <pdal at lists.osgeo.org>
> wrote:
>
>> Hi everyone! :)
>>
>> I tried to install pdal with conda/mamba to my pi zero 2 always getting a
>> message that pdal is not found...
>>
>> With building i got issues too, with 500mb memory and 2GB swap wasn't
>> enough to build...
>>
>> Since i only want to transform pcd files to laz i thought getting only
>> the cpp and headers from source i need and using them directly in my code.
>> Or should i try laszip?
>> Im new to c++ i'm a c# developer
>>
>> What do you suggest, how should i proceed?
>> Any idea is welcome :)
>>
>> Best regards,
>> István
>> _______________________________________________
>> pdal mailing list
>> pdal at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/pdal
>>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20250315/8c107737/attachment.htm>
More information about the pdal
mailing list