Help need for uploading Ardustation source code

Hi,  I am new to this Arduino programming.  Having install the arduino-0100-relax, I tried to upload Ardustation 2 version 2.0.10.     On my hardward, only the GREEN led lit with nothing shown on the LCD. I have the following warning messages. Please provide me with advice on what should I do next.

ArduStation2.cpp:56:24: error: FastSerial.h: No such file or directory
ArduStation2.cpp:57:25: error: GCS_MAVLink.h: No such file or directory
ArduStation2.cpp:61:55: error: AP_EEPROMB.h: No such file or directory
ArduStation2.pde:-1: error: variable or field 'gcs_handleMessage' declared void
ArduStation2.pde:-1: error: 'mavlink_message_t' was not declared in this scope
ArduStation2.pde:-1: error: 'msg' was not declared in this scope
ArduStation2.pde:-1: error: variable or field 'send_message' declared void
ArduStation2.pde:-1: error: 'mavlink_message_t' was not declared in this scope
ArduStation2.pde:-1: error: 'msg' was not declared in this scope
ArduStation2.pde:-1: error: 'AP_EEPROMB' does not name a type
ArduStation2.pde:-1: error: expected constructor, destructor, or type conversion before '(' token
ArduStation2.cpp: In function 'void loop()':
ArduStation2.pde:-1: error: call of overloaded 'write(int)' is ambiguous
C:\Documents and Settings\itadmin\Desktop\Ho\Arduino_1_Windows\arduino-1.0\libraries\LiquidCrystal/LiquidCrystal.h:82: note: candidates are: virtual size_t LiquidCrystal::write(uint8_t)
C:\Documents and Settings\itadmin\Desktop\Ho\Arduino_1_Windows\arduino-1.0\hardware\arduino\cores\arduino/Print.h:49: note:                 size_t Print::write(const char*)
ArduStation2.cpp: In function 'void SaveHomePosition()':
ArduStation2.pde:-1: error: 'eeprom_busy_wait' was not declared in this scope
ArduStation2.pde:-1: error: 'ee' was not declared in this scope
ArduStation2.pde:-1: error: 'eeprom_write_dword' was not declared in this scope
ArduStation2.cpp: In function 'void RestoreHomePosition()':
ArduStation2.pde:-1: error: 'eeprom_busy_wait' was not declared in this scope
ArduStation2.pde:-1: error: 'ee' was not declared in this scope
ArduStation2.pde:-1: error: 'eeprom_read_dword' was not declared in this scope
ArduStation2.cpp: In function 'void position_antenna()':
ArduStation2.pde:-1: error: 'ToDeg' was not declared in this scope
ArduStation2.cpp: At global scope:
ArduStation2.pde:-1: error: variable or field 'gcs_handleMessage' declared void
ArduStation2.pde:-1: error: 'mavlink_message_t' was not declared in this scope
ArduStation2.pde:-1: error: 'msg' was not declared in this scope

Thanks in advance.

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

Join diydrones

Email me when people reply –

Replies

  • Hi,

    Looks like you are either missing the APM libraries or the arduino IDE cannot find them. You should make sure that you have the libraries subdirectory inside your sketchbook folder. If this is missing you may want to get the latest version from the git repo although the mavlink versions may be incompatible (maybe someone who actually knows the code could comment on that).

    Cheers, good luck,

    Andre

This reply was deleted.

Activity

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