I'm having some trouble compiling the C++ version of my project.
Not sure if it is a webbotlib error or my fault, but I'm able to get it to compile with no problem using C.
There are 2 specific errors but I'm not sure if they are related:
1. I can't get this line to compile
static ACTUATOR_LIST PROGMEM body[] = {&RightAnkle.actuator, ...etc...};
I get the compile error "class SERVO has no member named actuator"
Only way I can get it to work is to change the servo to change to:
&_RightAnkle_.actuator
2. when I include a file output from Gait Designer I get :
error: animations causes a section type conflict
error: frames_0 causes a section type conflict
... many other errors of the same type...
I have tried to reorder and re-factor but no success
I tried with both compiler optimisation turned on and off but no luck there either.
The only way I have been able to get my project to compile is to use C and not C++.
Any suggestions?
Thanks guys.