Can a PX4 development environment be setup on an ARM-based VM?

Linux virtual machine on a Mac with Apple M1 chip has to be an ARM-based imageIs, so I want to build PX4 on it.

It possible to run a sitl simulation?

This might be what you are looking for?

but I don’t want to build on MacOS

Sorry, I got you wrong. Yes it works. You can go for it.

but it fail !!!
see:

the arm-based linux can’t set up a PX4 development environment !!! are you kidding me???

but it fail !!!
see:
{https://github.com/PX4/PX4-Autopilot/issues/18180#issuecomment-1053690420}

the arm-based linux can’t set up a PX4 development environment !!! are you kidding me???

The latest news is that he can work, just delete two line of the ubuntu.sh of Tools/setup/.

g++-multilib \
gcc-multilib \

and so is on rasspberry pi 4, I have test it.

Please check my draft PR:

1 Like

you did a good job , but I want to know What is the role of this mutillib?

1 Like

Found some answers here:

The short answer could be a cross compiling linux library!
Good Luck with your development!

Tools/setup/ubuntu.sh: line 126: ${uname -m}: bad substitution
@mwbb