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'
Tags:


Hmmmm....
Permalink Reply by Andke on May 14, 2012 at 1:17am 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.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.8 members
130 members
118 members
4 members
682 members
© 2013 Created by Chris Anderson.
Powered by
