I'm getting these compile errors from the latest git version, as far as I know all the libraries are there so not sure why these errors would appear. Anyone with greater experience help me out?

In file included from ArduCopter.cpp:93:
GCS.h:129: error: 'ParamToken' in class 'AP_Param' does not name a type
ArduCopter.cpp: In function 'void update_trig()':
ArduCopter:1850: error: 'safe_sqrt' was not declared in this scope
ArduCopter.cpp: In member function 'void GCS_MAVLINK::handleMessage(mavlink_message_t*)':
GCS_Mavlink:1165: error: '_queued_parameter_token' was not declared in this scope
ArduCopter.cpp: In member function 'uint16_t GCS_MAVLINK::_count_parameters()':
GCS_Mavlink:1648: error: 'ParamToken' is not a member of 'AP_Param'
GCS_Mavlink:1648: error: expected `;' before 'token'
GCS_Mavlink:1650: error: 'token' was not declared in this scope
ArduCopter.cpp: In member function 'void GCS_MAVLINK::queued_param_send()':
GCS_Mavlink:1678: error: no matching function for call to 'AP_Param::copy_name(char [15], unsigned int, int)'
G:\My Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Param.h:95: note: candidates are: void AP_Param::copy_name(char*, size_t)
GCS_Mavlink:1687: error: '_queued_parameter_token' was not declared in this scope
ArduCopter.cpp: In function 'void Log_Write_Performance()':
Log:650: error: 'class AP_DCM' has no member named 'renorm_range_count'
ArduCopter.cpp: In function 'void calc_loiter(int, int)':
navigation:150: error: 'class AC_PID' has no member named 'set_integrator'
navigation:151: error: 'class AC_PID' has no member named 'set_integrator'
ArduCopter.cpp: In function 'void calc_nav_rate(int)':
navigation:220: error: 'class AC_PID' has no member named 'set_integrator'
navigation:221: error: 'class AC_PID' has no member named 'set_integrator'

Views: 1437

Reply to This

Replies to This Discussion

I can't understand it either. Location is correct...

Hmmmm....

I downloaded 2.34 Arduplane source file, and I am getting about 10:

 "libraries\AP_Common\AP_Var.cpp:29: error: 'AP_Var' has not been declared"  errors.

Why?

I can't remember exactly how I solved this problem but basically it's a file or files that are absent or wrong, usually in the libraries which change but aren't always updated.

Always update the libraries completely.

RSS

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Drone Delivery Challenge, is here

© 2014   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service