im trying to upload the APOpticalFlow_test.pde to APM as written here:
ive downloaded the file and tried to upload it using arduino 1.0
arduino is config to :
Arduino mega 2560
it gives "error compiling"
what is the problem ?
ive downloaded the latest arducopter and libraries
In file included from D:\Docs\elec\_quad\ardusketch\libraries\FastSerial/BetterStream.h:16,
D:\Docs\elec\_quad\ardusketch\libraries\FastSerial/../AP_Common/AP_Common.h:19:20: error: wiring.h: No such file or directory
In file included from D:\Docs\elec\_quad\ardusketch\libraries\AP_DCM/AP_DCM.h:8,
D:\Docs\elec\_quad\ardusketch\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:
D:\Docs\elec\_quad\ardusketch\libraries\FastSerial/FastSerial.h:119: error: conflicting return type specified for 'virtual void FastSerial::write(uint8_t)'
C:\Users\ar\Desktop\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'