Hey every1
Im having trouble compiling the AP_OpticalFlow_test.pde in arduino.
The error is as follows:
In file included from C:\Users\Gareth\Downloads\ArduCopter_2.1\libraries\FastSerial/BetterStream.h:16,
from C:\Users\Gareth\Downloads\ArduCopter_2.1\libraries\FastSerial/FastSerial.h:56,
from AP_OpticalFlow_test.cpp:6:
C:\Users\Gareth\Downloads\ArduCopter_2.1\libraries\FastSerial/../AP_Common/AP_Common.h:19:20: error: wiring.h: No such file or directory
In file included from C:\Users\Gareth\Downloads\ArduCopter_2.1\libraries\AP_DCM/AP_DCM.h:8,
from AP_OpticalFlow_test.cpp:10:
C:\Users\Gareth\Downloads\ArduCopter_2.1\libraries\AP_DCM/AP_DCM_HIL.h:7:22: error: WProgram.h: No such file or directory
In file included from AP_OpticalFlow_test.cpp:6:
C:\Users\Gareth\Downloads\ArduCopter_2.1\libraries\FastSerial/FastSerial.h:119: error: conflicting return type specified for 'virtual void FastSerial::write(uint8_t)'
C:\Program Files (x86)\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
Thanks :)
Replies
Hi Gareth,
I think you're trying to compile using Arduino 1.0? Try using the older arduino code 022. I'm sure we will move to support Arduino 1.0 but the timing hasn't been decided yet.