QGroundControl - Serial declaration problem

Hello,

    three days ago I received the boards and everything work well: compiling, upload, radio, HIL, HappyKillmore, etc...

Now I was trying the QGroundControl, I followed the manual (download zip, modify APM_Config.h - I'm using Arduino 022) but when I try to compile the code I receive these errors:

 

In file included from ArduPilotMega.cpp:17:C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:80: error: cannot declare variable 'Serial' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note:   because the following virtual functions are pure within 'FastSerial':C:\Users\Luke\Desktop\aerei\arduino\arduino-0022\hardware\arduino\cores\arduino/Stream.h:31: note: virtual int Stream::peek()C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:81: error: cannot declare variable 'Serial1' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note:   since type 'FastSerial' has pure virtual functionsC:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:83: error: cannot declare variable 'Serial3' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note:   since type 'FastSerial' has pure virtual functionsArduPilotMega:61: error: cannot declare variable 'Serial' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note:   since type 'FastSerial' has pure virtual functionsArduPilotMega:62: error: cannot declare variable 'Serial1' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85: note:   since type 'FastSerial' has pure virtual functionsArduPilotMega:63: error: cannot declare variable 'Serial3' to be of abstract type 'FastSerial'C:\Users\Luke\Documents\Arduino\libraries\FastSerial/FastSerial.h:85:

 

It's a problem about serial declaration but I'm a newbie and so I don't know how to solve it. Can you help me?

 

Thanks,

luca

 

 

 

 

note:   since type 'FastSerial' has pure virtual functions

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Yep, also having that problem and running 0022. I haven't found a solution yet.
  • I found the problem: arduino 0022... with the 0021 version it works.
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…