pschatzmann / ESP32-A2DP

A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF
Apache License 2.0
1.55k stars 261 forks source link

Latest version not linking #494

Closed tooxo closed 9 months ago

tooxo commented 9 months ago

Problem Description

During linking an error occures.

... /ld: .pio/build/lolin32_lite/libf63/libESP32-A2DP.a(BluetoothA2DPCommon.cpp.o):(.rodata._ZTV19BluetoothA2DPCommon[vtable for BluetoothA2DPCommon]+0x78): undefined reference to `BluetoothA2DPCommon::set_scan_mode_connectable_default()'

Device Description

Lolin32

Sketch

platformio.ini

[env:lolin32_lite]
platform = espressif32
board = lolin32_lite
framework = arduino
build_type = debug
lib_deps =
    https://github.com/pschatzmann/ESP32-A2DP#v1.7.4

Other Steps to Reproduce

No response

Provide your Version of the EP32 Arduino Core (or the IDF Version)

2.0.11

I have checked existing issues, discussions and online documentation

pschatzmann commented 9 months ago

And how I am supposed to reproduce your issue ? Though I did not get any compile errors with bt_music_receiver_simple.ino in Arduino, I committed a correction to main to make this function abstract.