You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing the esp-skainet example en_speech_commands_recognition on the esp32s3eye board the example builds fine but when i change the man.c to main.cpp i am getting some undefined reference warnings.
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/main/libmain.a(main.cpp.obj):(.literal._Z11detect_TaskPv+0x48): undefined reference to `_Z18esp_srmodel_filterP14srmodel_list_tPKcS2_'
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/main/libmain.a(main.cpp.obj):(.literal._Z11detect_TaskPv+0x4c): undefined reference to `_Z23esp_mn_handle_from_namePc'
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/main/libmain.a(main.cpp.obj):(.literal._Z11detect_TaskPv+0x50): undefined reference to `_Z37esp_mn_commands_update_from_sdkconfigPK14esp_mn_iface_tP18model_iface_data_t'
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/main/libmain.a(main.cpp.obj):(.literal.app_main+0x2c): undefined reference to `_Z16esp_srmodel_initPKc'
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/main/libmain.a(main.cpp.obj): in function `_Z11detect_TaskPv':
/home/nikhi/disk/esp-skainet/examples/en_speech_commands_recognition/main/main.cpp:73: undefined reference to `_Z18esp_srmodel_filterP14srmodel_list_tPKcS2_'
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: /home/nikhi/disk/esp-skainet/examples/en_speech_commands_recognition/main/main.cpp:74: undefined reference to `_Z23esp_mn_handle_from_namePc'
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: /home/nikhi/disk/esp-skainet/examples/en_speech_commands_recognition/main/main.cpp:78: undefined reference to `_Z37esp_mn_commands_update_from_sdkconfigPK14esp_mn_iface_tP18model_iface_data_t'
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/main/libmain.a(main.cpp.obj): in function `app_main':
/home/nikhi/disk/esp-skainet/examples/en_speech_commands_recognition/main/main.cpp:129: undefined reference to `_Z16esp_srmodel_initPKc'
/home/nikhi/idf5/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: /home/nikhi/disk/esp-skainet/examples/en_speech_commands_recognition/main/main.cpp:145: undefined reference to `_Z18esp_srmodel_filterP14srmodel_list_tPKcS2_'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Is it not posible to compile in c++ ?
Idf version : ESP-IDF v5.1.1-dirty
SOC: esp32s3
sdkconfig : the default one from the example
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
ESP-SKAINET not building in C++.
ESP-SKAINET not building in C++. (AIS-1370)
Sep 30, 2023
I was testing the esp-skainet example en_speech_commands_recognition on the esp32s3eye board the example builds fine but when i change the man.c to main.cpp i am getting some undefined reference warnings.
Is it not posible to compile in c++ ?
Idf version : ESP-IDF v5.1.1-dirty
SOC: esp32s3
sdkconfig : the default one from the example
The text was updated successfully, but these errors were encountered: