Jefferson,
I can’t help with building for px4/pixhawk on Linux but I can help re windows.
Can you follow these instructions and report back on the specific place where it fails?
http://dev.ardupilot.com/wiki/building-the-code/building-px4-with-make/
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Jefferson Romney
Sent: 18-Jul-15 8:13 AM
To: drones-...@googlegroups.com
Subject: [drones-discuss] Re: Building Pixhawk with Make on Linux
I am having the same problem and I have installed the toolchain with the script file and then redid it with the instructions you posted as well as the instructions on ardupilot's website. I haven't had success in compiling the ardupilot for pixhawk in windows with make or eclipse with multiple different methods used. I looked at the instructions for setting it up in linux and it seemed simple so I tried it and nothing seems to work right. Is there something I keep missing in all of this?
(so far all the problems have been with the submodules: UAVCAN, NUTTX, Px4Firmware. haven't had a problem compiling the actual ardupilot code for APM2 in linux or windows)
also, I entered this into the terminal:
arm-none-eabi-gcc
and it did recognized it. It popped up an error because no file was specified to compile, but the command is there. Why can't make see the command?
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
LINK: /c/Users/jeffy/Documents/GitHub/ardupilot/modules/PX4Firmware/Build/px4fmu-v2_APM.build/firmware.elf
BIN: /c/Users/jeffy/Documents/GitHub/ardupilot/modules/PX4Firmware/Build/px4fmu-v2_APM.build/firmware.bin
%% Generating /c/Users/jeffy/Documents/GitHub/ardupilot/modules/PX4Firmware/Build/px4fmu-v2_APM.build/firmware.px4
make[2]: Leaving directory `/c/Users/jeffy/Documents/GitHub/ardupilot/modules/PX4Firmware/Build/px4fmu-v2_APM.build'
%% Copying /c/Users/jeffy/Documents/GitHub/ardupilot/modules/PX4Firmware/Images/px4fmu-v2_APM.px4
make[1]: Leaving directory `/c/Users/jeffy/Documents/GitHub/ardupilot'
fatal: Not a git repository: c:/Users/jeffy/Documents/GitHub/ardupilot/modules/../../.git/modules/modules/PX4Firmware
Failed to get px4 hash
fatal: Not a git repository: c:/Users/jeffy/Documents/GitHub/ardupilot/modules/PX4NuttX/nuttx//../../.git/modules/modules/PX4NuttX
Failed to get nuttx hash
PX4 ArduCopter Firmware is in ArduCopter-v2.px4
Success! That error is normal. What you're looking for is that the firmware .px4 file was generated.
make[1]: *** No rule to make target `px4fmu-v2_APM'. Stop.
Depends on what you're wanting to test. SITL works fine for most things and you don't compile in eclipse for that either.
These changes in ardupilot/mk/px4_targets.mk will fix the errors at the end of the compile.