Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
link_libraries(${PORTAUDIO_LIBRARIES}) need to be added after add_library(btstack STATIC ${SOURCES})
build error:
$ make
[ 56%] Built target btstack
[ 56%] Linking C executable audio_duplex
F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x381): undefined reference to
Pa_Initialize' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x394): undefined reference to
Pa_GetErrorText'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x3d1): undefined reference to
Pa_GetDefaultOutputDevice' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x3ec): undefined reference to
Pa_GetDeviceInfo'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x408): undefined reference to
Pa_GetDeviceInfo' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x4aa): undefined reference to
Pa_OpenStream'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x4bd): undefined reference to
Pa_GetErrorText' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x51b): undefined reference to
Pa_GetStreamInfo'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x5e1): undefined reference to
Pa_Initialize' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x5f4): undefined reference to
Pa_GetErrorText'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x631): undefined reference to
Pa_GetDefaultInputDevice' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x64c): undefined reference to
Pa_GetDeviceInfo'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x668): undefined reference to
Pa_GetDeviceInfo' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x70b): undefined reference to
Pa_OpenStream'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x71e): undefined reference to
Pa_GetErrorText' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x779): undefined reference to
Pa_GetStreamInfo'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x7e4): undefined reference to
Pa_GetStreamInfo' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x813): undefined reference to
Pa_GetStreamInfo'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x8c4): undefined reference to
Pa_StartStream' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x8d7): undefined reference to
Pa_GetErrorText'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x975): undefined reference to
Pa_StartStream' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0x988): undefined reference to
Pa_GetErrorText'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xa3b): undefined reference to
Pa_StopStream' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xa4e): undefined reference to
Pa_GetErrorText'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xac8): undefined reference to
Pa_StopStream' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xadb): undefined reference to
Pa_GetErrorText'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xb3a): undefined reference to
Pa_Terminate' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xb4d): undefined reference to
Pa_GetErrorText'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xbbd): undefined reference to
Pa_CloseStream' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xbd0): undefined reference to
Pa_GetErrorText'F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xc42): undefined reference to
Pa_CloseStream' F:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: libbtstack.a(btstack_audio_portaudio.c.obj):btstack_audio_portaudio.c:(.text+0xc55): undefined reference to
Pa_GetErrorText'collect2.exe: error: ld returned 1 exit status