Hi guys. I’m currently developing modules to add to the PX4 firmware. Last week I decided to upgrade the firmware I was using. So I created a folder and used git clone to download the firmware from github. After that I tried to build the code, so that I would be able to add my personal modules and upload it to pixhawk. But since I made this upgrade, I was unable to build the code anymore :\ Below I’m showing the error I’m getting while trying to build it with make px4fmu-v2_default. (Note: I follow all the steps from dev.px4.io to build the code).
alessandro@alessandro-debian:~/PX4-AeroRio2017/Firmware$ make px4fmu-v2_default
Tools/check_submodules.sh
Git submodule config valid.
Checked NuttX submodule, correct version found
Checked Tools/gencpp submodule, correct version found
Checked Tools/genmsg submodule, correct version found
Checked Tools/jMAVSim submodule, correct version found
Checked Tools/sitl_gazebo submodule, correct version found
Checked cmake/cmake_hexagon submodule, correct version found
Checked mavlink/include/mavlink/v1.0 submodule, correct version found
Checked src/lib/DriverFramework submodule, correct version found
Checked src/lib/DriverFramework/cmake_hexagon submodule, correct version found
Checked src/lib/DriverFramework/dspal submodule, correct version found
Checked src/lib/ecl submodule, correct version found
Checked src/lib/matrix submodule, correct version found
Checked src/modules/uavcan/libuavcan submodule, correct version found
Checked unittests/googletest submodule, correct version found
make -C /home/alessandro/PX4-AeroRio2017/Firmware/build_px4fmu-v2_default -j4 --no-print-directory
make[1]: *** No targets specified and no makefile found. Stop.
Makefile:132: recipe for target ‘px4fmu-v2_default’ failed
make: *** [px4fmu-v2_default] Error 2
Does anyone have any idea on how to solve it?
Thanks,
Alessandro