muvox-io / euphonium

Tiny audio platform
GNU Affero General Public License v3.0
96 stars 15 forks source link

Build Errors #9

Closed shark8594 closed 2 years ago

shark8594 commented 2 years ago

Hi,

There seem to be a few build errors on the main branch, log below:

C:\euphonium\euphonium\targets\esp32\app>idf.py build Executing action: all (aliases: build) Running ninja in directory c:\users\abhin\esp\custom_examples\euphonium\euphonium\targets\esp32\app\build Executing "ninja all"... [1/141] Building CXX object esp-idf/cspot/bindir/bell/CMakeFiles/bell.dir/src/platform/esp/MDNSService.cpp.obj FAILED: esp-idf/cspot/bindir/bell/CMakeFiles/bell.dir/src/platform/esp/MDNSService.cpp.obj ccache C:\Users\abhin.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DBELL_USE_MBEDTLS -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DPB_ENABLE_MALLOC -DUSE_DEFAULT_STDLIB=1 -Iconfig -I../../../../euphonium/bell/nanopb -I../../../../euphonium/bell/include -I../../../../euphonium/bell/libhelix-aac -I../../../../euphonium/bell/libhelix-mp3 -I../../../../euphonium/bell/cJSON -I../../../../euphonium/bell/tremor -Iesp-idf/cspot/bindir/bell -I../../../../../../../components/newlib/platform_include -I../../../../../../../components/freertos/include -I../../../../../../../components/freertos/port/xtensa/include -I../../../../../../../components/esp_hw_support/include -I../../../../../../../components/esp_hw_support/include/soc -I../../../../../../../components/esp_hw_support/port/esp32/. -I../../../../../../../components/heap/include -I../../../../../../../components/log/include -I../../../../../../../components/lwip/include/apps -I../../../../../../../components/lwip/include/apps/sntp -I../../../../../../../components/lwip/lwip/src/include -I../../../../../../../components/lwip/port/esp32/include -I../../../../../../../components/lwip/port/esp32/include/arch -I../../../../../../../components/soc/include -I../../../../../../../components/soc/esp32/. -I../../../../../../../components/soc/esp32/include -I../../../../../../../components/hal/esp32/include -I../../../../../../../components/hal/include -I../../../../../../../components/esp_rom/include -I../../../../../../../components/esp_rom/esp32 -I../../../../../../../components/esp_common/include -I../../../../../../../components/esp_system/include -I../../../../../../../components/esp_system/port/soc -I../../../../../../../components/esp_system/port/public_compat -I../../../../../../../components/esp32/include -I../../../../../../../components/driver/include -I../../../../../../../components/driver/esp32/include -I../../../../../../../components/esp_pm/include -I../../../../../../../components/esp_ringbuf/include -I../../../../../../../components/efuse/include -I../../../../../../../components/efuse/esp32/include -I../../../../../../../components/xtensa/include -I../../../../../../../components/xtensa/esp32/include -I../../../../../../../components/vfs/include -I../../../../../../../components/esp_wifi/include -I../../../../../../../components/esp_wifi/esp32/include -I../../../../../../../components/esp_event/include -I../../../../../../../components/esp_netif/include -I../../../../../../../components/tcpip_adapter/include -I../../../../../../../components/app_trace/include -I../../../../../../../components/esp_timer/include -I../../../../../../../components/mbedtls/port/include -I../../../../../../../components/mbedtls/mbedtls/include -I../../../../../../../components/mbedtls/esp_crt_bundle/include -I../../../../../../../components/pthread/include -I../../../../../../../components/mdns/include -I../../../../../../../components/console -mlongcalls -Wno-frame-address -g -Wunused-const-variable -Wchar-subscripts -Wunused-label -Wmaybe-uninitialized -Wmisleading-indentation -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -Os -freorder-blocks -fmacro-prefix-map=C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/targets/esp32/app=. -fmacro-prefix-map=C:/Users/abhin/esp=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -std=gnu++11 -fexceptions -fno-rtti -D_GNU_SOURCE -DIDF_VER=\"v4.4-dev-1404-gc13afea63-dirty\" -DESP_PLATFORM -DBELL_USE_MBEDTLS -std=gnu++17 -MD -MT esp-idf/cspot/bindir/bell/CMakeFiles/bell.dir/src/platform/esp/MDNSService.cpp.obj -MF esp-idf\cspot\bindir\bell\CMakeFiles\bell.dir\src\platform\esp\MDNSService.cpp.obj.d -o esp-idf/cspot/bindir/bell/CMakeFiles/bell.dir/src/platform/esp/MDNSService.cpp.obj -c C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/bell/src/platform/esp/MDNSService.cpp C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/bell/src/platform/esp/MDNSService.cpp:1:10: fatal error: MDNSService.h: No such file or directory

include "MDNSService.h"

      ^~~~~~~~~~~~~~~

compilation terminated. [3/141] Performing build step for 'bootloader' [1/1] cmd.exe /C "cd /D C:\Users\abhin\esp\Custom_examples\euphonium\euphonium\targets\esp32\app\build\bootloader\esp-idf\esptool_py && C:\Users\abhin.espressif\python_env\idf4.4_py3.9_env\Scripts\python.exe C:/Users/abhin/esp/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/targets/esp32/app/build/bootloader/bootloader.bin" Bootloader binary size 0x69c0 bytes. 0x640 bytes (6%) free. [12/139] Building CXX object esp-idf/cspot/bindir/bell/CMakeFiles/bell.dir/src/platform/esp/TLSSocket.cpp.obj In file included from ../../../../euphonium/bell/include/platform/TLSSocket.h:4, from C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/bell/src/platform/esp/TLSSocket.cpp:1: ../../../../euphonium/bell/include/BellLogger.h: In member function 'void bell::BellLogger::printFilename(std::cxx11::string)': ../../../../euphonium/bell/include/BellLogger.h:86:17: warning: unused variable 'c' [-Wunused-variable] int c; ^ [13/139] Building CXX object esp-idf/main/CMakeFiles/idf_main.dir/driver/I2SDriver.cpp.obj FAILED: esp-idf/main/CMakeFiles/idf_main.dir/driver/I2SDriver.cpp.obj ccache C:\Users\abhin.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DEUPH_VERSION=\"debug\" -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -Iconfig -I../main -I../main/driver -I../main/bluetooth -I../main/ota -I../../../../../../../components/newlib/platform_include -I../../../../../../../components/freertos/include -I../../../../../../../components/freertos/port/xtensa/include -I../../../../../../../components/esp_hw_support/include -I../../../../../../../components/esp_hw_support/include/soc -I../../../../../../../components/esp_hw_support/port/esp32/. -I../../../../../../../components/heap/include -I../../../../../../../components/log/include -I../../../../../../../components/lwip/include/apps -I../../../../../../../components/lwip/include/apps/sntp -I../../../../../../../components/lwip/lwip/src/include -I../../../../../../../components/lwip/port/esp32/include -I../../../../../../../components/lwip/port/esp32/include/arch -I../../../../../../../components/soc/include -I../../../../../../../components/soc/esp32/. -I../../../../../../../components/soc/esp32/include -I../../../../../../../components/hal/esp32/include -I../../../../../../../components/hal/include -I../../../../../../../components/esp_rom/include -I../../../../../../../components/esp_rom/esp32 -I../../../../../../../components/esp_common/include -I../../../../../../../components/esp_system/include -I../../../../../../../components/esp_system/port/soc -I../../../../../../../components/esp_system/port/public_compat -I../../../../../../../components/esp32/include -I../../../../../../../components/driver/include -I../../../../../../../components/driver/esp32/include -I../../../../../../../components/esp_pm/include -I../../../../../../../components/esp_ringbuf/include -I../../../../../../../components/efuse/include -I../../../../../../../components/efuse/esp32/include -I../../../../../../../components/xtensa/include -I../../../../../../../components/xtensa/esp32/include -I../../../../../../../components/vfs/include -I../../../../../../../components/esp_wifi/include -I../../../../../../../components/esp_wifi/esp32/include -I../../../../../../../components/esp_event/include -I../../../../../../../components/esp_netif/include -I../../../../../../../components/tcpip_adapter/include -I../../../../../../../components/app_trace/include -I../../../../../../../components/esp_timer/include -I../../../../../../../components/mbedtls/port/include -I../../../../../../../components/mbedtls/mbedtls/include -I../../../../../../../components/mbedtls/esp_crt_bundle/include -I../../../../../../../components/app_update/include -I../../../../../../../components/spi_flash/include -I../../../../../../../components/bootloader_support/include -I../../../../../../../components/esp_ipc/include -I../../../../../../../components/nvs_flash/include -I../../../../../../../components/pthread/include -I../../../../../../../components/esp_gdbstub/include -I../../../../../../../components/esp_gdbstub/xtensa -I../../../../../../../components/esp_gdbstub/esp32 -I../../../../../../../components/espcoredump/include -I../../../../../../../components/espcoredump/include/port/xtensa -I../../../../../../../components/wpa_supplicant/include -I../../../../../../../components/wpa_supplicant/port/include -I../../../../../../../components/wpa_supplicant/include/esp_supplicant -I../../../../../../../components/perfmon/include -I../../../../../../../components/asio/asio/asio/include -I../../../../../../../components/asio/port/include -I../../../../../../../components/bt/common/osi/include -I../../../../../../../components/bt/include/esp32/include -I../../../../../../../components/bt/host/bluedroid/api/include/api -I../../../../../../../components/cbor/port/include -I../../../../../../../components/unity/include -I../../../../../../../components/unity/unity/src -I../../../../../../../components/cmock/CMock/src -I../../../../../../../components/coap/port/include -I../../../../../../../components/coap/port/include/coap -I../../../../../../../components/coap/libcoap/include -I../../../../../../../components/coap/libcoap/include/coap2 -I../../../../../../../components/console -I../../../../../../../components/nghttp/port/include -I../../../../../../../components/nghttp/nghttp2/lib/includes -I../../../../../../../components/esp-tls -I../../../../../../../components/esp-tls/esp-tls-crypto -I../../../../../../../components/esp_adc_cal/include -I../../../../../../../components/esp_hid/include -I../../../../../../../components/tcp_transport/include -I../../../../../../../components/esp_http_client/include -I../../../../../../../components/esp_http_server/include -I../../../../../../../components/esp_https_ota/include -I../../../../../../../components/esp_lcd/include -I../../../../../../../components/esp_lcd/interface -I../../../../../../../components/protobuf-c/protobuf-c -I../../../../../../../components/protocomm/include/common -I../../../../../../../components/protocomm/include/security -I../../../../../../../components/protocomm/include/transports -I../../../../../../../components/mdns/include -I../../../../../../../components/esp_local_ctrl/include -I../../../../../../../components/sdmmc/include -I../../../../../../../components/esp_serial_slave_link/include -I../../../../../../../components/esp_websocket_client/include -I../../../../../../../components/expat/expat/expat/lib -I../../../../../../../components/expat/port/include -I../../../../../../../components/wear_levelling/include -I../../../../../../../components/fatfs/diskio -I../../../../../../../components/fatfs/vfs -I../../../../../../../components/fatfs/src -I../../../../../../../components/freemodbus/common/include -I../../../../../../../components/idf_test/include -I../../../../../../../components/idf_test/include/esp32 -I../../../../../../../components/jsmn/include -I../../../../../../../components/json/cJSON -I../../../../../../../components/libsodium/libsodium/src/libsodium/include -I../../../../../../../components/libsodium/port_include -I../../../../../../../components/mqtt/esp-mqtt/include -I../../../../../../../components/openssl/include -I../../../../../../../components/spiffs/include -I../../../../../../../components/ulp/include -I../../../../../../../components/wifi_provisioning/include -I../components/cspot -I../../../../euphonium/include -I../../../../euphonium/protos -I../../../../euphonium/bell -I../../../../euphonium/cspot -Iesp-idf/cspot/bindir -I../../../../euphonium/bell/include -I../../../../euphonium/bell/libhelix-aac -I../../../../euphonium/bell/libhelix-mp3 -I../../../../euphonium/bell/cJSON -I../../../../euphonium/bell/tremor -Iesp-idf/cspot/bindir/bell -I../../../../euphonium/cspot/cspot/include -Iesp-idf/cspot/bindir/cspot -I../../../../euphonium/bell/nanopb -I../../../../berry/generate -I../../../../berry/src -Iesp-idf/cspot/bindir/berry -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -Os -freorder-blocks -fmacro-prefix-map=C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/targets/esp32/app=. -fmacro-prefix-map=C:/Users/abhin/esp=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -std=gnu++11 -fexceptions -fno-rtti -D_GNU_SOURCE -DIDF_VER=\"v4.4-dev-1404-gc13afea63-dirty\" -DESP_PLATFORM -DBELL_USE_MBEDTLS -std=gnu++17 -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/driver/I2SDriver.cpp.obj -MF esp-idf\main\CMakeFiles__idf_main.dir\driver\I2SDriver.cpp.obj.d -o esp-idf/main/CMakeFiles/idf_main.dir/driver/I2SDriver.cpp.obj -c ../main/driver/I2SDriver.cpp In file included from ../../../../euphonium/include/EuphoniumLog.h:4, from ../../../../euphonium/include/BerryBind.h:4, from ../main/driver/I2SDriver.h:6, from ../main/driver/I2SDriver.cpp:1: ../../../../euphonium/bell/include/BellLogger.h: In member function 'void bell::BellLogger::printFilename(std::cxx11::string)': ../../../../euphonium/bell/include/BellLogger.h:86:17: warning: unused variable 'c' [-Wunused-variable] int c; ^ ../main/driver/I2SDriver.cpp: In function 'void i2sInstall(int, int, int, bool, int, int, int, int)': ../main/driver/I2SDriver.cpp:28:24: error: narrowing conversion of '(uint32_t)sampleRate' from 'uint32_t' {aka 'unsigned int'} to 'int' inside { } [-Werror=narrowing] .sample_rate = (uint32_t) sampleRate, ^~~~~ ../main/driver/I2SDriver.cpp:37:5: warning: missing initializer for member 'i2s_config_t::fixed_mclk' [-Wmissing-field-initializers] }; ^ cc1plus.exe: some warnings being treated as errors [14/139] Building CXX object esp-idf/cspot/bindir/CMakeFiles/euphonium.dir/src/plugins/webradio/WebRadioPlugin.cpp.obj FAILED: esp-idf/cspot/bindir/CMakeFiles/euphonium.dir/src/plugins/webradio/WebRadioPlugin.cpp.obj ccache C:\Users\abhin.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DBELL_USE_MBEDTLS -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -I../../../../euphonium/include -I../../../../euphonium/include/plugins/cspot -I../../../../euphonium/include/plugins/http -I../../../../euphonium/include/plugins/persistor -I../../../../euphonium/include/plugins/webradio -I../../../../euphonium/include/plugins/youtube -Iesp-idf/cspot/bindir -I../../../../euphonium/protos -I../../../../euphonium/bell -I../../../../euphonium/cspot -I../../../../../../../components/newlib/platform_include -I../../../../../../../components/freertos/include -I../../../../../../../components/freertos/port/xtensa/include -I../../../../../../../components/esp_hw_support/include -I../../../../../../../components/esp_hw_support/include/soc -I../../../../../../../components/esp_hw_support/port/esp32/. -I../../../../../../../components/heap/include -I../../../../../../../components/log/include -I../../../../../../../components/lwip/include/apps -I../../../../../../../components/lwip/include/apps/sntp -I../../../../../../../components/lwip/lwip/src/include -I../../../../../../../components/lwip/port/esp32/include -I../../../../../../../components/lwip/port/esp32/include/arch -I../../../../../../../components/soc/include -I../../../../../../../components/soc/esp32/. -I../../../../../../../components/soc/esp32/include -I../../../../../../../components/hal/esp32/include -I../../../../../../../components/hal/include -I../../../../../../../components/esp_rom/include -I../../../../../../../components/esp_rom/esp32 -I../../../../../../../components/esp_common/include -I../../../../../../../components/esp_system/include -I../../../../../../../components/esp_system/port/soc -I../../../../../../../components/esp_system/port/public_compat -I../../../../../../../components/esp32/include -I../../../../../../../components/driver/include -I../../../../../../../components/driver/esp32/include -I../../../../../../../components/esp_pm/include -I../../../../../../../components/esp_ringbuf/include -I../../../../../../../components/efuse/include -I../../../../../../../components/efuse/esp32/include -I../../../../../../../components/xtensa/include -I../../../../../../../components/xtensa/esp32/include -I../../../../../../../components/vfs/include -I../../../../../../../components/esp_wifi/include -I../../../../../../../components/esp_wifi/esp32/include -I../../../../../../../components/esp_event/include -I../../../../../../../components/esp_netif/include -I../../../../../../../components/tcpip_adapter/include -I../../../../../../../components/app_trace/include -I../../../../../../../components/esp_timer/include -I../../../../euphonium/bell/include -I../../../../euphonium/bell/libhelix-aac -I../../../../euphonium/bell/libhelix-mp3 -I../../../../euphonium/bell/cJSON -I../../../../euphonium/bell/tremor -Iesp-idf/cspot/bindir/bell -I../../../../../../../components/mbedtls/port/include -I../../../../../../../components/mbedtls/mbedtls/include -I../../../../../../../components/mbedtls/esp_crt_bundle/include -I../../../../../../../components/pthread/include -I../../../../../../../components/mdns/include -I../../../../../../../components/console -I../../../../euphonium/cspot/cspot/include -Iesp-idf/cspot/bindir/cspot -I../../../../euphonium/bell/nanopb -I../../../../berry/generate -I../../../../berry/src -Iesp-idf/cspot/bindir/berry -mlongcalls -Wno-frame-address -g -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -Os -freorder-blocks -fmacro-prefix-map=C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/targets/esp32/app=. -fmacro-prefix-map=C:/Users/abhin/esp=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -std=gnu++11 -fexceptions -fno-rtti -D_GNU_SOURCE -DIDF_VER=\"v4.4-dev-1404-gc13afea63-dirty\" -DESP_PLATFORM -DBELL_USE_MBEDTLS -std=gnu++17 -MD -MT esp-idf/cspot/bindir/CMakeFiles/euphonium.dir/src/plugins/webradio/WebRadioPlugin.cpp.obj -MF esp-idf\cspot\bindir\CMakeFiles\euphonium.dir\src\plugins\webradio\WebRadioPlugin.cpp.obj.d -o esp-idf/cspot/bindir/CMakeFiles/euphonium.dir/src/plugins/webradio/WebRadioPlugin.cpp.obj -c C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/src/plugins/webradio/WebRadioPlugin.cpp In file included from ../../../../euphonium/include/EuphoniumLog.h:4, from ../../../../euphonium/include/BerryBind.h:4, from ../../../../euphonium/include/ScriptLoader.h:6, from ../../../../euphonium/include/plugins/webradio/WebRadioPlugin.h:4, from C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/src/plugins/webradio/WebRadioPlugin.cpp:1: ../../../../euphonium/bell/include/BellLogger.h: In member function 'void bell::BellLogger::printFilename(std::cxx11::string)': ../../../../euphonium/bell/include/BellLogger.h:86:17: warning: unused variable 'c' [-Wunused-variable] int c; ^ In file included from ../../../../euphonium/include/Core.h:11, from ../../../../euphonium/include/plugins/webradio/WebRadioPlugin.h:9, from C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/src/plugins/webradio/WebRadioPlugin.cpp:1: ../../../../euphonium/include/SoftwareVolumeProcessor.h: In member function 'virtual void SoftwareVolumeProcessor::process(uint8_t*, size_t)': ../../../../euphonium/include/SoftwareVolumeProcessor.h:35:18: warning: unused variable 'pmax' [-Wunused-variable] uint32_t pmax; ^~~~ In file included from ../../../../euphonium/include/plugins/cspot/CSpotPlugin.h:19, from ../../../../euphonium/include/Core.h:20, from ../../../../euphonium/include/plugins/webradio/WebRadioPlugin.h:9, from C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/src/plugins/webradio/WebRadioPlugin.cpp:1: C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/src/plugins/webradio/WebRadioPlugin.cpp: In member function 'virtual void WebRadioPlugin::runTask()': ../../../../euphonium/bell/include/BellUtils.h:18:22: error: 'vTaskYield' was not declared in this scope

define BELL_YIELD() vTaskYield()

                  ^~~~~~~~~~

C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/src/plugins/webradio/WebRadioPlugin.cpp:77:25: note: in expansion of macro 'BELL_YIELD' BELL_YIELD(); ^~~~~~ ../../../../euphonium/bell/include/BellUtils.h:18:22: note: suggested alternative: 'vTaskList'

define BELL_YIELD() vTaskYield()

                  ^~~~~~~~~~

C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/src/plugins/webradio/WebRadioPlugin.cpp:77:25: note: in expansion of macro 'BELL_YIELD' BELL_YIELD(); ^~~~~~ In file included from ../../../../euphonium/bell/include/Crypto.h:8, from ../../../../euphonium/cspot/cspot/include/AudioChunk.h:9, from ../../../../euphonium/cspot/cspot/include/MercuryManager.h:14, from ../../../../euphonium/include/plugins/cspot/CSpotPlugin.h:6, from ../../../../euphonium/include/Core.h:20, from ../../../../euphonium/include/plugins/webradio/WebRadioPlugin.h:9, from C:/Users/abhin/esp/Custom_examples/euphonium/euphonium/euphonium/src/plugins/webradio/WebRadioPlugin.cpp:1: ../../../../euphonium/bell/include/CryptoMbedTLS.h: At global scope: ../../../../euphonium/bell/include/CryptoMbedTLS.h:35:22: warning: 'DHGenerator' defined but not used [-Wunused-variable] static unsigned char DHGenerator[1] = {2}; ^~~ ../../../../euphonium/bell/include/CryptoMbedTLS.h:20:22: warning: 'DHPrime' defined but not used [-Wunused-variable] static unsigned char DHPrime[] = { ^~~ ninja: build stopped: subcommand failed. ninja failed with exit code 1

HeikoGr commented 2 years ago

Can you try the following(?):

replace

        txtItems.data(), /* txt */
        txtItems.size() /* num_items */

with

        NULL, /* txtItems.data(),  txt */
        0 /* txtItems.size() num_items */

i think it was this changes i got it compiling. But i wasn't able to make a pull request yesterday.

shark8594 commented 2 years ago

Thanks build works now :). Additional changes I needed:

  1. Create spiffs folder in targets/esp32/app/
  2. Remove the type casting in I2SDriver.cpp:28:24