GrandK / ardupirates

Automatically exported from code.google.com/p/ardupirates
0 stars 0 forks source link

Compile error #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hey guys i have a problem everytime i try to compile with arduino i get this  
error

 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp: In member function 'bool AP_Compass_HIL::init(int)':
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:46: error: 'mag_x' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:46: error: 'mag_y' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:46: error: 'mag_z' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp: In member function 'virtual void AP_Compass_HIL::calculate(float, float)':
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:82: error: 'mag_x' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:82: error: 'mag_y' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:82: error: 'mag_z' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:84: error: 'mag_x' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:84: error: 'mag_y' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:84: error: 'mag_z' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:104: error: 'heading_x' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:105: error: 'heading_y' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp: In member function 'void AP_Compass_HIL::setHIL(float, float, float)':
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:132: error: 'mag_x' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:133: error: 'mag_y' was not declared in this scope
 C:\Arducopter\libraries\AP_Compass\AP_Compass_HIL. cpp:134: error: 'mag_z' was not declared in this scope

my os is win 7 and im using all the latest files

Original issue reported on code.google.com by c.guenne...@gmail.com on 21 May 2012 at 3:37