You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im a newbie and I have an HK AIO board. Im using Arduino version from the link in the megapirate site. and I get the following error while compiling the code:
In file included from D:\FPV\Quad\ArduPilot-Arduino-1.0.3-gcc-4.8.2-windows\ArduPilot-Arduino-1.0.3-windows\libraries\AP_HAL_PX4/AP_HAL_PX4.h:6:0,
from ArduCopter.pde:74:
D:\FPV\Quad\ArduPilot-Arduino-1.0.3-gcc-4.8.2-windows\ArduPilot-Arduino-1.0.3-windows\libraries\AP_HAL_PX4/HAL_PX4_Class.h:11:34: fatal error: systemlib/visibility.h: No such file or directory
#include <systemlib/visibility.h>
^
compilation terminated.
The text was updated successfully, but these errors were encountered:
@CrashDBN good job! He hasn't compiled it yet so it won't matter what tool you use to flash.
@asaadcivic99 I am in same boat. Downloaded tools and source, followed instructions. Built fails at another spot to yours. Have you copied all the libraries under Arduino folder?
In any event, I am getting: avr-gcc: error: unrecognized command line option '-assembler-with-cpp'. Looks like I have to stop working on Windows 10 and move to Ubuntu??!?!. A bit hard since there are only a windows and a mac version of MegaPirateNG. Or, change to an older version of the compiler??
Or the MegaPirate IDE needs be rebuilt using "-x assembler-with-cpp" option.
Let's face it, MegaPirateNG comes with the compiler that failed to compile the source so there is some problem that is not well documented and no one has fixed it yes?
Im a newbie and I have an HK AIO board. Im using Arduino version from the link in the megapirate site. and I get the following error while compiling the code:
In file included from D:\FPV\Quad\ArduPilot-Arduino-1.0.3-gcc-4.8.2-windows\ArduPilot-Arduino-1.0.3-windows\libraries\AP_HAL_PX4/AP_HAL_PX4.h:6:0,
from ArduCopter.pde:74:
D:\FPV\Quad\ArduPilot-Arduino-1.0.3-gcc-4.8.2-windows\ArduPilot-Arduino-1.0.3-windows\libraries\AP_HAL_PX4/HAL_PX4_Class.h:11:34: fatal error: systemlib/visibility.h: No such file or directory
#include <systemlib/visibility.h>
^
compilation terminated.
The text was updated successfully, but these errors were encountered: