Ai-Thinker-Open / ESP32-A1S-AudioKit

Ai-Thinker AudioKit Board SDK - 安信可 esp32-a1s 音频模组开发板
Other
132 stars 63 forks source link

undefined reference to `AUDIO_CODEC_AC101_CODEC_HANDLE' #2

Closed GabeHC closed 4 years ago

GabeHC commented 4 years ago

How do I solve this?

esp-idf/audio_board/libaudio_board.a(board.c.obj):(.literal.audio_board_codec_init+0x4): undefined reference to `AUDIO_CODEC_AC101_CODEC_HANDLE' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ninja failed with exit code 1

GabeHC commented 4 years ago

Fixed it by adding ac101 into CMakeLists.txt in audio_hal directory!

stahlnow commented 4 years ago

Fixed it by adding ac101 into CMakeLists.txt in audio_hal directory!

thx, that helped me!