I’m facing a problem while building the V3.2.1 firmware on windows.
I cloned the master-repository to my machine and building this workes fine. But when i switch to V3.2.1 - branch and try to build i get this error:
$ make px4-v2-y6
“ERROR: sketch arducopter must contain exactly one of arducopter.pde or arducopter.ino. Stop.”
The Ardupilot/Arducopter - folder contains exaclty one of them (i.e the arducopter.pde - file). Any ideas on this? I’d like to build code on base of the V3.2.1 as this is the current firmware on my Pixhawk.
I haven’t tested your suggestion as i meanwhile switched to the ArduCopter 3.3.3 firmware. This should also work fine for me and i can edit it as well as build it to a firmware.
Thanks for your advice.
I met another error at the end of make.
So, I installed Python using ‘easy_install empy catkin_pkg’.
However, I still get an error message. Please help me again.
$ make px4-v2
// BUILDROOT=/c/px4/workspace/dronecode/ArduCopter-3.2.1/ardupilot/Build.Arducopter HAL_BOARD=HAL_BOARD_PX4 HAL_BOARD_SUBTYPE= TOOLCHAIN=NATIVE EXTRAFLAGS=-DGIT_VERSION=“5d8cec23” -DNUTTX_GIT_VERSION=“ff60694f” -DPX4_GIT_VERSION=“f5a8173b” -DUAVCAN=1
building /c/px4/workspace/dronecode/ArduCopter-3.2.1/ardupilot/Build.Arducopter/Arducopter.cpp
%% Arducopter.cpp
%% module_mk
make[1]: Entering directory `/c/px4/workspace/dronecode/ArduCopter-3.2.1/PX4Firmware’
Skipping submodules. NUTTX_SRC is set to /c/px4/workspace/dronecode/ArduCopter-3.2.1/PX4Firmware/NuttX/nuttx/
Generating uORB topic headers
python import error: No module named genmsg.template_tools