Hi, I am trying to build ArduCopter on macOS Sonoma and Ubuntu 20.04.
Steps Taken:
- Cloned the ArduPilot repository.
- Updated submodules with
git submodule update --init --recursive
. - Ran
./waf clean
and./waf distclean
. - Configured using
./waf configure --board sitl
. - Attempted to build with
./waf copter
.
Error:
File "/path/to/ardupilot/modules/waf/waflib/Build.py", line 741, in tgpost
f()
File "/path/to/ardupilot/modules/waf/waflib/TaskGen.py", line 239, in post
v()
File "/path/to/ardupilot/Tools/ardupilotwaf/mavgen.py", line 79, in process_mavgen
inputs = self.to_nodes(self.bld.srcnode.find_node(self.source))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/path/to/ardupilot/modules/waf/waflib/TaskGen.py", line 516, in to_nodes
for x in Utils.to_list(lst):
^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
System Information (macOS):
- macOS Sonoma 14.6.1
- Python 3.12.6
- All dependencies installed
./waf configure --board sitl
output:
System Information (Ubuntu):
- Ubuntu 20.04
- Python 3.8.10
- All dependencies installed
./waf configure --board sitl
output:
I need help resolving this issue.
Thank you.