CanardInterface::accept_message

../../libraries/AP_DroneCAN/AP_Canard_iface.cpp: In static member function ‘static bool CanardInterface::shouldAcceptTransfer(const CanardInstance*, uint64_t*, uint16_t, CanardTransferType, uint8_t)’:
../../libraries/AP_DroneCAN/AP_Canard_iface.cpp:189:72: error: no matching function for call to ‘CanardInterface::accept_message(uint16_t&, uint64_t&)’
  189 |     return iface->accept_message(data_type_id, *out_data_type_signature);
      |                                                                        ^
compilation terminated due to -Wfatal-errors.

I looked in the headerfiles and can’t find a definition for accept_message.

Tried ArduSub-stable, ArduSub-4.5.3 and ArduSub-4.5.1

Hi @Tautala,

Are you building this yourself, or just trying to run a prebuilt firmware binary?

A previous report of this issue was seemingly resolved by re-synchronising submodules, so I’m unsure whether that’s an issue with your dev environment, or if stable ArduSub has pulled in a DroneCAN change without the corresponding submodule update.

If updating submodules doesn’t help then building from master may help (or using the Dev binary, if you’re using a prebuilt one) :slight_smile:

Thanks. I realised a missed a step after I checked out a tag.

git submodule update --init --recursive

Then everyhthing was fine and dandy

Thanks for the response.

1 Like