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?
farhang
2
This might be what you are looking for?
but I don’t want to build on MacOS
farhang
4
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
farhang
11
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
@farhang