OpticalFlow_test.pde

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 :)

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    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.

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…