cant install the software inside the mega+oilpan system.(people really need a all in one config)

i just got the boards , soldered them together but when i try to install the environement the arducopter program do not compile.
im new to this and it seems that the only change i had to make was to specify what gps i was using .. but it still wont compile.
im using sirf gps from global sat.

i connected it to the mega . all power go from the usb to the boards . it seems to work . but yet no blinking led or a message on ide that tell me that i compiled it right .. insted i get messages like this:







ArduPilotMega.cpp:17:24: error: FastSerial.h: No such file or directory
ArduPilotMega.cpp:18:23: error: AP_Common.h: No such file or directory
ArduPilotMega.cpp:21:47: error: AP_GPS.h: No such file or directory
ArduPilotMega.cpp:23:59: error: APM_BMP085.h: No such file or directory
In file included from /config.h:29,
                 from ArduPilotMega.cpp:34:
APM_Config.h:15: error: function definition does not declare parameters
In file included from C:\Arducopter\arduino\hardware\arduino\cores\arduino/WProgram.h:13,
                 from ArduPilotMega.cpp:45:
C:\Arducopter\arduino\hardware\arduino\cores\arduino/WString.h: In destructor 'String::~String()':
C:\Arducopter\arduino\hardware\arduino\cores\arduino/WString.h:40: error: 'free' was not declared in this scope
C:\Arducopter\arduino\hardware\arduino\cores\arduino/WString.h: In member function 'void String::getBuffer(unsigned int)':
C:\Arducopter\arduino\hardware\arduino\cores\arduino/WString.h:101: error: 'malloc' was not declared in this scope
ArduPilotMega.cpp: At global scope:
ArduPilotMega:48: error: expected constructor, destructor, or type conversion before '(' token
ArduPilotMega:49: error: expected constructor, destructor, or type conversion before '(' token
ArduPilotMega:50: error: expected constructor, destructor, or type conversion before '(' token
ArduPilotMega:56: error: 'AP_GPS_SIRF' does not name a type
ArduPilotMega:324: error: aggregate 'Location home' has incomplete type and cannot be defined
ArduPilotMega:325: error: aggregate 'Location prev_WP' has incomplete type and cannot be defined
ArduPilotMega:326: error: aggregate 'Location current_loc' has incomplete type and cannot be defined
ArduPilotMega:327: error: aggregate 'Location next_WP' has incomplete type and cannot be defined
ArduPilotMega:328: error: aggregate 'Location tell_command' has incomplete type and cannot be defined
ArduPilotMega:329: error: aggregate 'Location next_command' has incomplete type and cannot be defined
ArduPilotMega.cpp: In function 'void fast_loop()':
ArduPilotMega:466: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void medium_loop()':
ArduPilotMega:547: error: 'GPS' was not declared in this scope
ArduPilotMega:582: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void update_GPS()':
ArduPilotMega:645: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void update_current_flight_mode()':
ArduPilotMega:712: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void calc_throttle()':
Attitude:107: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void calc_nav_roll()':
Attitude:179: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void Drift_correction()':
DCM:176: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void Accel_adjust()':
DCM:201: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void read_EEPROM_airstart_critical()':
EEPROM:34: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'void send_message(byte, long int)':
GCS_Standard:103: error: 'GPS' was not declared in this scope
GCS_Standard:216: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'void print_waypoint(Location*, byte)':
GCS_Standard:348: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
GCS_Standard:350: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
GCS_Standard:352: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
GCS_Standard:354: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
GCS_Standard:356: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: At global scope:
Log:16: error: expected ',' or '...' before '::' token
Log:16: error: ISO C++ forbids declaration of 'Menu' with no type
Log:17: error: expected ',' or '...' before '::' token
Log:17: error: ISO C++ forbids declaration of 'Menu' with no type
Log:18: error: expected ',' or '...' before '::' token
Log:18: error: ISO C++ forbids declaration of 'Menu' with no type
Log:19: error: expected ',' or '...' before '::' token
Log:19: error: ISO C++ forbids declaration of 'Menu' with no type
Log:24: error: expected ',' or '...' before '::' token
Log:24: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t help_log(uint8_t, int)':
Log:26: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
Log:39: error: 'Menu' has not been declared
Log:39: error: invalid type in declaration before '=' token
Log:45: error: braces around scalar initializer for type 'const int'
Log:48: error: expected constructor, destructor, or type conversion before '(' token
ArduPilotMega.cpp: In function 'bool print_log_menu()':
Log:57: error: 'class HardwareSerial' has no member named 'printf_P'
Log:59: error: 'class HardwareSerial' has no member named 'printf_P'
Log:66: error: 'class HardwareSerial' has no member named 'printf_P'
Log:67: error: 'class HardwareSerial' has no member named 'printf_P'
Log:68: error: 'class HardwareSerial' has no member named 'printf_P'
Log:69: error: 'class HardwareSerial' has no member named 'printf_P'
Log:70: error: 'class HardwareSerial' has no member named 'printf_P'
Log:71: error: 'class HardwareSerial' has no member named 'printf_P'
Log:72: error: 'class HardwareSerial' has no member named 'printf_P'
Log:73: error: 'class HardwareSerial' has no member named 'printf_P'
Log:74: error: 'class HardwareSerial' has no member named 'printf_P'
Log:80: error: 'class HardwareSerial' has no member named 'printf_P'
Log:83: error: 'class HardwareSerial' has no member named 'printf_P'
Log:90: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
Log:99: error: expected ',' or '...' before '::' token
Log:99: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t dump_log(uint8_t, int)':
Log:107: error: 'argv' was not declared in this scope
Log:110: error: 'class HardwareSerial' has no member named 'printf_P'
Log:119: error: 'class HardwareSerial' has no member named 'printf_P'
Log:122: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
Log:126: error: expected ',' or '...' before '::' token
Log:126: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t erase_logs(uint8_t, int)':
Log:129: error: 'class HardwareSerial' has no member named 'printf_P'
Log:132: error: 'class HardwareSerial' has no member named 'printf_P'
Log:137: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
Log:141: error: expected ',' or '...' before '::' token
Log:141: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t select_logs(uint8_t, int)':
Log:146: error: 'class HardwareSerial' has no member named 'printf_P'
Log:158: error: 'argv' was not declared in this scope
Log:174: error: 'argv' was not declared in this scope
ArduPilotMega.cpp: At global scope:
Log:185: error: expected ',' or '...' before '::' token
Log:185: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t process_logs(uint8_t, int)':
Log:187: error: 'log_menu' was not declared in this scope
ArduPilotMega.cpp: In function 'void Log_Write_Cmd(byte, Location*)':
Log:228: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
Log:229: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
Log:230: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
Log:231: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
Log:232: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'void Log_Write_Startup(byte)':
Log:246: error: variable 'Location cmd' has initializer but incomplete type
Log:246: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
Log:250: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'Location get_wp_with_index(int)':
commands:34: error: return type 'struct Location' is incomplete
commands:34: error: new declaration 'void get_wp_with_index(int)'
ArduPilotMega:-1: error: ambiguates old declaration 'Location get_wp_with_index(int)'
commands:36: error: aggregate 'Location temp' has incomplete type and cannot be defined
ArduPilotMega.cpp: In function 'void set_wp_with_index(Location, int)':
commands:62: error: 'temp' has incomplete type
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'Location get_LOITER_home_wp()':
commands:123: error: return type 'struct Location' is incomplete
commands:123: error: new declaration 'void get_LOITER_home_wp()'
ArduPilotMega:-1: error: ambiguates old declaration 'Location get_LOITER_home_wp()'
commands:126: error: variable 'Location temp' has initializer but incomplete type
commands:126: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'void init_home()':
commands:197: error: 'GPS' was not declared in this scope
commands:201: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void load_next_command()':
commands_process:30: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
commands_process:55: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'void verify_must()':
commands_process:343: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'void new_event(Location*)':
events:77: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
events:80: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
events:93: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
events:94: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
events:95: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
events:96: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'void navigate()':
navigation:13: error: 'GPS' was not declared in this scope
navigation:24: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'long int getDistance(Location*, Location*)':
navigation:165: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:165: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:167: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:167: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:169: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:169: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:170: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:170: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'long int get_alt_distance(Location*, Location*)':
navigation:176: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:176: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:176: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:176: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:176: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:176: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'long int get_bearing(Location*, Location*)':
navigation:181: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:181: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:182: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
navigation:182: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: In function 'void read_airpressure()':
sensors:10: error: 'APM_BMP085' was not declared in this scope
ArduPilotMega.cpp: At global scope:
setup:7: error: expected ',' or '...' before '::' token
setup:7: error: ISO C++ forbids declaration of 'Menu' with no type
setup:8: error: expected ',' or '...' before '::' token
setup:8: error: ISO C++ forbids declaration of 'Menu' with no type
setup:9: error: expected ',' or '...' before '::' token
setup:9: error: ISO C++ forbids declaration of 'Menu' with no type
setup:10: error: expected ',' or '...' before '::' token
setup:10: error: ISO C++ forbids declaration of 'Menu' with no type
setup:13: error: 'Menu' has not been declared
setup:13: error: invalid type in declaration before '=' token
setup:20: error: braces around scalar initializer for type 'const int'
setup:23: error: expected constructor, destructor, or type conversion before '(' token
setup:27: error: expected ',' or '...' before '::' token
setup:27: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t setup_mode(uint8_t, int)':
setup:30: error: 'class HardwareSerial' has no member named 'printf_P'
setup:38: error: 'setup_menu' was not declared in this scope
ArduPilotMega.cpp: At global scope:
setup:44: error: expected ',' or '...' before '::' token
setup:44: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t setup_show(uint8_t, int)':
setup:48: error: 'class HardwareSerial' has no member named 'printf_P'
setup:51: error: 'class HardwareSerial' has no member named 'printf_P'
setup:53: error: 'class HardwareSerial' has no member named 'printf_P'
setup:57: error: 'class HardwareSerial' has no member named 'printf_P'
setup:67: error: 'class HardwareSerial' has no member named 'printf_P'
setup:74: error: 'class HardwareSerial' has no member named 'printf_P'
setup:77: error: 'class HardwareSerial' has no member named 'printf_P'
setup:78: error: 'class HardwareSerial' has no member named 'printf_P'
setup:79: error: 'class HardwareSerial' has no member named 'printf_P'
setup:80: error: 'class HardwareSerial' has no member named 'printf_P'
setup:83: error: 'class HardwareSerial' has no member named 'printf_P'
setup:84: error: 'class HardwareSerial' has no member named 'printf_P'
setup:85: error: 'class HardwareSerial' has no member named 'printf_P'
setup:86: error: 'class HardwareSerial' has no member named 'printf_P'
setup:87: error: 'class HardwareSerial' has no member named 'printf_P'
setup:88: error: 'class HardwareSerial' has no member named 'printf_P'
setup:89: error: 'class HardwareSerial' has no member named 'printf_P'
setup:90: error: 'class HardwareSerial' has no member named 'printf_P'
setup:91: error: 'class HardwareSerial' has no member named 'printf_P'
setup:92: error: 'class HardwareSerial' has no member named 'printf_P'
setup:93: error: 'class HardwareSerial' has no member named 'printf_P'
setup:94: error: 'class HardwareSerial' has no member named 'printf_P'
setup:95: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
setup:107: error: expected ',' or '...' before '::' token
setup:107: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t setup_factory(uint8_t, int)':
setup:112: error: 'class HardwareSerial' has no member named 'printf_P'
setup:121: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
setup:240: error: expected ',' or '...' before '::' token
setup:240: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t setup_radio(uint8_t, int)':
setup:263: error: 'class HardwareSerial' has no member named 'printf_P'
setup:285: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
setup:295: error: expected ',' or '...' before '::' token
setup:295: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t setup_flightmodes(uint8_t, int)':
setup:299: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: In function 'void print_switch(byte, byte)':
setup:385: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
system:13: error: expected ',' or '...' before '::' token
system:13: error: ISO C++ forbids declaration of 'Menu' with no type
system:14: error: expected ',' or '...' before '::' token
system:14: error: ISO C++ forbids declaration of 'Menu' with no type
system:15: error: expected ',' or '...' before '::' token
system:15: error: ISO C++ forbids declaration of 'Menu' with no type
system:20: error: expected ',' or '...' before '::' token
system:20: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t main_menu_help(uint8_t, int)':
system:22: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
system:33: error: 'Menu' has not been declared
system:33: error: invalid type in declaration before '=' token
system:40: error: braces around scalar initializer for type 'const int'
system:43: error: expected constructor, destructor, or type conversion before '(' token
ArduPilotMega.cpp: In function 'void init_ardupilot()':
system:61: error: no matching function for call to 'HardwareSerial::begin(long int, int, int)'
C:\Arducopter\arduino\hardware\arduino\cores\arduino/HardwareSerial.h:49: note: candidates are: void HardwareSerial::begin(long int)
system:75: error: no matching function for call to 'HardwareSerial::begin(long int, int, int)'
C:\Arducopter\arduino\hardware\arduino\cores\arduino/HardwareSerial.h:49: note: candidates are: void HardwareSerial::begin(long int)
system:87: error: no matching function for call to 'HardwareSerial::begin(long int, int, int)'
C:\Arducopter\arduino\hardware\arduino\cores\arduino/HardwareSerial.h:49: note: candidates are: void HardwareSerial::begin(long int)
system:90: error: 'class HardwareSerial' has no member named 'printf_P'
system:102: error: 'APM_BMP085' was not declared in this scope
system:104: error: 'GPS' was not declared in this scope
system:130: error: 'class HardwareSerial' has no member named 'printf_P'
system:137: error: 'class HardwareSerial' has no member named 'printf_P'
system:140: error: 'main_menu' was not declared in this scope
ArduPilotMega.cpp: In function 'void startup_IMU_ground()':
system:379: error: 'APM_BMP085' was not declared in this scope
ArduPilotMega.cpp: In function 'void update_GPS_light()':
system:435: error: 'GPS' was not declared in this scope
ArduPilotMega.cpp: In function 'long unsigned int freeRAM()':
system:478: error: 'malloc' was not declared in this scope
system:480: error: 'free' was not declared in this scope
ArduPilotMega.cpp: At global scope:
test:6: error: expected ',' or '...' before '::' token
test:6: error: ISO C++ forbids declaration of 'Menu' with no type
test:7: error: expected ',' or '...' before '::' token
test:7: error: ISO C++ forbids declaration of 'Menu' with no type
test:8: error: expected ',' or '...' before '::' token
test:8: error: ISO C++ forbids declaration of 'Menu' with no type
test:9: error: expected ',' or '...' before '::' token
test:9: error: ISO C++ forbids declaration of 'Menu' with no type
test:10: error: expected ',' or '...' before '::' token
test:10: error: ISO C++ forbids declaration of 'Menu' with no type
test:11: error: expected ',' or '...' before '::' token
test:11: error: ISO C++ forbids declaration of 'Menu' with no type
test:12: error: expected ',' or '...' before '::' token
test:12: error: ISO C++ forbids declaration of 'Menu' with no type
test:13: error: expected ',' or '...' before '::' token
test:13: error: ISO C++ forbids declaration of 'Menu' with no type
test:14: error: expected ',' or '...' before '::' token
test:14: error: ISO C++ forbids declaration of 'Menu' with no type
test:15: error: expected ',' or '...' before '::' token
test:15: error: ISO C++ forbids declaration of 'Menu' with no type
test:16: error: expected ',' or '...' before '::' token
test:16: error: ISO C++ forbids declaration of 'Menu' with no type
test:17: error: expected ',' or '...' before '::' token
test:17: error: ISO C++ forbids declaration of 'Menu' with no type
test:38: error: 'Menu' has not been declared
test:38: error: invalid type in declaration before '=' token
test:51: error: braces around scalar initializer for type 'const int'
test:54: error: expected constructor, destructor, or type conversion before '(' token
test:57: error: expected ',' or '...' before '::' token
test:57: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_mode(uint8_t, int)':
test:59: error: 'class HardwareSerial' has no member named 'printf_P'
test:60: error: 'test_menu' was not declared in this scope
ArduPilotMega.cpp: At global scope:
test:64: error: expected ',' or '...' before '::' token
test:64: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_eedump(uint8_t, int)':
test:70: error: 'class HardwareSerial' has no member named 'printf_P'
test:72: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:79: error: expected ',' or '...' before '::' token
test:79: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_radio(uint8_t, int)':
test:113: error: 'class HardwareSerial' has no member named 'printf_P'
test:114: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:124: error: expected ',' or '...' before '::' token
test:124: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_gps(uint8_t, int)':
test:136: error: 'GPS' was not declared in this scope
test:143: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:154: error: expected ',' or '...' before '::' token
test:154: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_imu(uint8_t, int)':
test:156: error: 'class HardwareSerial' has no member named 'printf_P'
test:167: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:176: error: expected ',' or '...' before '::' token
test:176: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_battery(uint8_t, int)':
test:192: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:200: error: expected ',' or '...' before '::' token
test:200: error: ISO C++ forbids declaration of 'Menu' with no type
test:224: error: expected ',' or '...' before '::' token
test:224: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_gyro(uint8_t, int)':
test:228: error: 'class HardwareSerial' has no member named 'printf_P'
test:235: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:245: error: expected ',' or '...' before '::' token
test:245: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_wp(uint8_t, int)':
test:256: error: 'class HardwareSerial' has no member named 'printf_P'
test:258: error: 'class HardwareSerial' has no member named 'printf_P'
test:261: error: 'class HardwareSerial' has no member named 'printf_P'
test:262: error: 'class HardwareSerial' has no member named 'printf_P'
test:263: error: 'class HardwareSerial' has no member named 'printf_P'
test:266: error: variable 'Location temp' has initializer but incomplete type
test:266: error: invalid use of incomplete type 'struct Location'
ArduPilotMega:-1: error: forward declaration of 'struct Location'
ArduPilotMega.cpp: At global scope:
test:275: error: expected ',' or '...' before '::' token
test:275: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_airspeed(uint8_t, int)':
test:278: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:297: error: expected ',' or '...' before '::' token
test:297: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_xbee(uint8_t, int)':
test:301: error: 'class HardwareSerial' has no member named 'printf_P'
test:305: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:315: error: expected ',' or '...' before '::' token
test:315: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_pressure(uint8_t, int)':
test:318: error: 'class HardwareSerial' has no member named 'printf_P'
test:319: error: 'class HardwareSerial' has no member named 'printf_P'
test:321: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: At global scope:
test:345: error: expected ',' or '...' before '::' token
test:345: error: ISO C++ forbids declaration of 'Menu' with no type
ArduPilotMega.cpp: In function 'int8_t test_mag(uint8_t, int)':
test:348: error: 'class HardwareSerial' has no member named 'printf_P'
ArduPilotMega.cpp: In function 'void print_hit_enter()':
test:373: error: 'class HardwareSerial' has no member named 'printf_P'

Tags: cant, configure, hardware, i, my

Views: 565

Replies are closed for this discussion.

Replies to This Discussion

did you install the libaries?
yes i also just ried few library sketches like the apm test and it works fine
i just dont seems to have the right version of the arducopter program to make it work with the sirf gps i got from global sat ..
anyone would have the proper codes for me?
thank you soo much my friend i will look it up.
i checked and realized i have it already . but this install still wont compile
I am assuming you went here http://code.google.com/p/arducopter/wiki/ArduCopter?tm=6 and looked on the left side and there are 4 links right there that will get you going all zipped up ready to dl.....and just noticed Tom's link is good too.

~Kaotic
When we release the commercial ArduCopter we'll have a simpler installation process. In the meantime, you're using pre-release alpha software and you need to read the manual before pulling the fire alarm.
yes master..lol
you are right .. i beleive this is because of a lack of knowledge about the arduino environment
i am very new to it .. i could count the hours.. and i can tell i am catching up fast .. thanks to you all.
can you send me the code for the mega firmware and a way to connect my sirf gps from global sat?
Please read the manual. All the software is linked in there. We currently only support the GPS modules listed.
i see that a GPS_PROTOCOL_SIRF is available but i cant seems to configure it right . is it because you guys havent tested this device yet?
You aren't compiling the ArduCopter code. That's the ArduPilot Mega code, which is for fixed-wing aircraft.

As Chris notes, you need to follow the instructions on the wiki. We do provide an all-in-one ready-to-build Arduino skectchbook, it just requires a few simple (and documented) steps to get set up,
yes i agree, it is very well listed. i am trying to get inputs from you guys as im new to the project. i hope you understand.:)

RSS

© 2014   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service