andrewf
Newbies
Offline
Posts: 6
|
I have been using Visual Micro for my APM work for quite a while now. It sure makes working on the code much easier, so thank you.
The latest HAL versions stopped it working but then I noticed this topic, so downloaded the "hardware" folder, and installed the latest build (1.1305.09), but still get errors (although different from before).
Compiling 'ArduPlane' for 'Arduino Mega 2560 HAL (Apm 2)' ArduPlane.pde : No such file or directory AP_Menu.cpp : : In member function 'void Menu::run()': AP_Menu.cpp : 'FPSTR' was not declared in this scope AP_Menu.cpp : : In member function 'void Menu::_help()': AP_Menu.cpp : 'FPSTR' was not declared in this scope AP_ADC.cpp : In file included from AP_ADC.h : 'uint8_t' has not been declared AP_ADC.h : 'uint32_t' does not name a type AP_ADC.h : expected ',' or '...' before '*' token AP_ADC.h : ISO C++ forbids declaration of 'uint8_t' with no type AP_ADC.h : 'uint16_t' does not name a type AP_ADC_AnalogSource.h : In file included from AP_ADC_AnalogSource.cpp : from AP_ADC.h : 'uint8_t' has not been declared AP_ADC.h : 'uint32_t' does not name a type AP_ADC.h : expected ',' or '...' before '*' token AP_ADC.h : ISO C++ forbids declaration of 'uint8_t' with no type AP_ADC.h : 'uint16_t' does not name a type AP_InertialSensor.cpp : : In member function 'virtual void AP_InertialSensor::_init_gyro(void (*)(bool))': AP_InertialSensor.cpp : 'ToRad' was not declared in this scope AP_InertialSensor.cpp : 'ToDeg' was not declared in this scope SITL.cpp : : In member function 'void SITL::simstate_send(mavlink_channel_t)': SITL.cpp : 'ToRad' was not declared in this scope SITL.cpp : : In static member function 'static void SITL::convert_body_frame(double, double, double, double, double, double*, double*, double*)': SITL.cpp : 'ToRad' was not declared in this scope Error compiling
This was with Arduplane 2.72, but get the same set of messages with Arducopter 3.0 RC1. Any ideas?
Thank you, Andrew
|