mjuhanne / fyrtur-esp

ESP32 / ESP8266 based IKEA Fyrtur wireless blinds controller
MIT License
63 stars 7 forks source link

I receive this error when I build the app #4

Open gmarcc opened 2 years ago

gmarcc commented 2 years ago

[882/911] Building C object esp-idf/esp-wifi-manager/CMakeFiles/idf_esp-wifi-manager.dir/src/http_app.c.obj FAILED: esp-idf/esp-wifi-manager/CMakeFiles/idf_esp-wifi-manager.dir/src/http_app.c.obj /home/umarcc/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -I../../../components/esp-wifi-manager/src -I../../../../components/newlib/platform_include -I../../../../components/freertos/FreeRTOS-Kernel/include -I../../../../components/freertos/esp_additions/include/freertos -I../../../../components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I../../../../components/freertos/esp_additions/include -I../../../../components/esp_hw_support/include -I../../../../components/esp_hw_support/include/soc -I../../../../components/esp_hw_support/include/soc/esp32 -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/hal/platform_port/include -I../../../../components/esp_rom/include -I../../../../components/esp_rom/include/esp32 -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/include/private -I../../../../components/esp32/include -I../../../../components/xtensa/include -I../../../../components/xtensa/esp32/include -I../../../../components/driver/include -I../../../../components/driver/esp32/include -I../../../../components/driver/deprecated -I../../../../components/esp_pm/include -I../../../../components/esp_ringbuf/include -I../../../../components/efuse/include -I../../../../components/efuse/esp32/include -I../../../../components/vfs/include -I../../../../components/esp_wifi/include -I../../../../components/esp_event/include -I../../../../components/esp_netif/include -I../../../../components/esp_eth/include -I../../../../components/tcpip_adapter/include -I../../../../components/esp_phy/include -I../../../../components/esp_phy/esp32/include -I../../../../components/app_trace/include -I../../../../components/esp_timer/include -I../../../../components/nvs_flash/include -I../../../../components/spi_flash/include -I../../../../components/mbedtls/port/include -I../../../../components/mbedtls/mbedtls/include -I../../../../components/mbedtls/esp_crt_bundle/include -I../../../../components/mdns/include -I../../../../components/console -I../../../../components/wpa_supplicant/include -I../../../../components/wpa_supplicant/port/include -I../../../../components/wpa_supplicant/esp_supplicant/include -I../../../../components/esp_http_server/include -I../../../../components/nghttp/port/include -I../../../../components/nghttp/nghttp2/lib/includes -I../../../../components/mqtt/esp-mqtt/include -I../../../../components/tcp_transport/include -I../../../../components/esp-tls -I../../../../components/esp-tls/esp-tls-crypto -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 -mlongcalls -Wno-frame-address -Og -fmacro-prefix-map=/home/umarcc/esp/esp-idf/iot/fyrtur-esp/esp32=. -fmacro-prefix-map=/home/umarcc/esp/esp-idf=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0-dev-676-g5c33570524\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/esp-wifi-manager/CMakeFiles/idf_esp-wifi-manager.dir/src/http_app.c.obj -MF esp-idf/esp-wifi-manager/CMakeFiles/idf_esp-wifi-manager.dir/src/http_app.c.obj.d -o esp-idf/esp-wifi-manager/CMakeFiles/__idf_esp-wifi-manager.dir/src/http_app.c.obj -c /home/umarcc/esp/esp-idf/iot/components/esp-wifi-manager/src/http_app.c In file included from /home/umarcc/esp/esp-idf/iot/components/esp-wifi-manager/src/http_app.c:48: /home/umarcc/esp/esp-idf/iot/components/esp-wifi-manager/src/mqtt_manager.h:32:10: fatal error: mqtt_config.h: No such file or directory

include "mqtt_config.h"

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

compilation terminated. [886/911] Building C object esp-idf/esp-wifi-manager/CMakeFiles/idf_esp-wifi-manager.dir/src/mqtt_manager.c.obj FAILED: esp-idf/esp-wifi-manager/CMakeFiles/idf_esp-wifi-manager.dir/src/mqtt_manager.c.obj /home/umarcc/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -I../../../components/esp-wifi-manager/src -I../../../../components/newlib/platform_include -I../../../../components/freertos/FreeRTOS-Kernel/include -I../../../../components/freertos/esp_additions/include/freertos -I../../../../components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I../../../../components/freertos/esp_additions/include -I../../../../components/esp_hw_support/include -I../../../../components/esp_hw_support/include/soc -I../../../../components/esp_hw_support/include/soc/esp32 -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/hal/platform_port/include -I../../../../components/esp_rom/include -I../../../../components/esp_rom/include/esp32 -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/include/private -I../../../../components/esp32/include -I../../../../components/xtensa/include -I../../../../components/xtensa/esp32/include -I../../../../components/driver/include -I../../../../components/driver/esp32/include -I../../../../components/driver/deprecated -I../../../../components/esp_pm/include -I../../../../components/esp_ringbuf/include -I../../../../components/efuse/include -I../../../../components/efuse/esp32/include -I../../../../components/vfs/include -I../../../../components/esp_wifi/include -I../../../../components/esp_event/include -I../../../../components/esp_netif/include -I../../../../components/esp_eth/include -I../../../../components/tcpip_adapter/include -I../../../../components/esp_phy/include -I../../../../components/esp_phy/esp32/include -I../../../../components/app_trace/include -I../../../../components/esp_timer/include -I../../../../components/nvs_flash/include -I../../../../components/spi_flash/include -I../../../../components/mbedtls/port/include -I../../../../components/mbedtls/mbedtls/include -I../../../../components/mbedtls/esp_crt_bundle/include -I../../../../components/mdns/include -I../../../../components/console -I../../../../components/wpa_supplicant/include -I../../../../components/wpa_supplicant/port/include -I../../../../components/wpa_supplicant/esp_supplicant/include -I../../../../components/esp_http_server/include -I../../../../components/nghttp/port/include -I../../../../components/nghttp/nghttp2/lib/includes -I../../../../components/mqtt/esp-mqtt/include -I../../../../components/tcp_transport/include -I../../../../components/esp-tls -I../../../../components/esp-tls/esp-tls-crypto -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 -mlongcalls -Wno-frame-address -Og -fmacro-prefix-map=/home/umarcc/esp/esp-idf/iot/fyrtur-esp/esp32=. -fmacro-prefix-map=/home/umarcc/esp/esp-idf=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0-dev-676-g5c33570524\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/esp-wifi-manager/CMakeFiles/idf_esp-wifi-manager.dir/src/mqtt_manager.c.obj -MF esp-idf/esp-wifi-manager/CMakeFiles/idf_esp-wifi-manager.dir/src/mqtt_manager.c.obj.d -o esp-idf/esp-wifi-manager/CMakeFiles/__idf_esp-wifi-manager.dir/src/mqtt_manager.c.obj -c /home/umarcc/esp/esp-idf/iot/components/esp-wifi-manager/src/mqtt_manager.c In file included from /home/umarcc/esp/esp-idf/iot/components/esp-wifi-manager/src/mqtt_manager.c:21: /home/umarcc/esp/esp-idf/iot/components/esp-wifi-manager/src/mqtt_manager.h:32:10: fatal error: mqtt_config.h: No such file or directory

include "mqtt_config.h"

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

compilation terminated. [887/911] Building C object esp-idf/idf-stm-flash/CMakeFiles/idf_idf-stm-flash.dir/main/stm_flash_http.c.obj FAILED: esp-idf/idf-stm-flash/CMakeFiles/idf_idf-stm-flash.dir/main/stm_flash_http.c.obj /home/umarcc/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -I../../../components/idf-stm-flash/main -I../../../../components/newlib/platform_include -I../../../../components/freertos/FreeRTOS-Kernel/include -I../../../../components/freertos/esp_additions/include/freertos -I../../../../components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I../../../../components/freertos/esp_additions/include -I../../../../components/esp_hw_support/include -I../../../../components/esp_hw_support/include/soc -I../../../../components/esp_hw_support/include/soc/esp32 -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/hal/platform_port/include -I../../../../components/esp_rom/include -I../../../../components/esp_rom/include/esp32 -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/include/private -I../../../../components/esp32/include -I../../../../components/xtensa/include -I../../../../components/xtensa/esp32/include -I../../../../components/driver/include -I../../../../components/driver/esp32/include -I../../../../components/driver/deprecated -I../../../../components/esp_pm/include -I../../../../components/esp_ringbuf/include -I../../../../components/efuse/include -I../../../../components/efuse/esp32/include -I../../../../components/vfs/include -I../../../../components/esp_wifi/include -I../../../../components/esp_event/include -I../../../../components/esp_netif/include -I../../../../components/esp_eth/include -I../../../../components/tcpip_adapter/include -I../../../../components/esp_phy/include -I../../../../components/esp_phy/esp32/include -I../../../../components/app_trace/include -I../../../../components/esp_timer/include -I../../../../components/esp_http_client/include -I../../../../components/nghttp/port/include -I../../../../components/nghttp/nghttp2/lib/includes -I../../../../components/esp-tls -I../../../../components/esp-tls/esp-tls-crypto -I../../../../components/mbedtls/port/include -I../../../../components/mbedtls/mbedtls/include -I../../../../components/mbedtls/esp_crt_bundle/include -I../../../../components/spiffs/include -I../../../../components/spi_flash/include -I../../../../components/nvs_flash/include -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 -mlongcalls -Wno-frame-address -Og -fmacro-prefix-map=/home/umarcc/esp/esp-idf/iot/fyrtur-esp/esp32=. -fmacro-prefix-map=/home/umarcc/esp/esp-idf=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0-dev-676-g5c33570524\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/idf-stm-flash/CMakeFiles/idf_idf-stm-flash.dir/main/stm_flash_http.c.obj -MF esp-idf/idf-stm-flash/CMakeFiles/idf_idf-stm-flash.dir/main/stm_flash_http.c.obj.d -o esp-idf/idf-stm-flash/CMakeFiles/__idf_idf-stm-flash.dir/main/stm_flash_http.c.obj -c /home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c In file included from /home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_pro_mode.h:12, from /home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash.h:4, from /home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.h:1, from /home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c:1: /home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c: In function 'download_file': ../../../../components/log/include/esp_log.h:277:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Werror=format=]

define LOG_COLOR(COLOR) "\033[0;" COLOR "m"

                       ^~~~~~~~~

../../../../components/log/include/esp_log.h:280:27: note: in expansion of macro 'LOG_COLOR'

define LOG_COLOR_E LOG_COLOR(LOG_COLOR_RED)

                       ^~~~~~~~~

../../../../components/log/include/esp_log.h:294:37: note: in expansion of macro 'LOG_COLOR_E'

define LOG_FORMAT(letter, format) LOGCOLOR ## letter #letter " (%u) %s: " format LOG_RESET_COLOR "\n"

                                 ^~~~~~~~~~

../../../../components/log/include/esp_log.h:423:86: note: in expansion of macro 'LOG_FORMAT' if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##VA_ARGS__); } \ ^~~~~~ ../../../../components/log/include/esp_log.h:445:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##VA_ARGS__); \ ^~~~~ ../../../../components/log/include/esp_log.h:355:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'

define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)

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

/home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c:126:13: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "HTTP chunk encoding Status = %d, content_length = %d", ^~~~ ../../../../components/log/include/esp_log.h:277:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Werror=format=]

define LOG_COLOR(COLOR) "\033[0;" COLOR "m"

                       ^~~~~~~~~

../../../../components/log/include/esp_log.h:281:27: note: in expansion of macro 'LOG_COLOR'

define LOG_COLOR_W LOG_COLOR(LOG_COLOR_BROWN)

                       ^~~~~~~~~

../../../../components/log/include/esp_log.h:294:37: note: in expansion of macro 'LOG_COLOR_W'

define LOG_FORMAT(letter, format) LOGCOLOR ## letter #letter " (%u) %s: " format LOG_RESET_COLOR "\n"

                                 ^~~~~~~~~~

../../../../components/log/include/esp_log.h:424:86: note: in expansion of macro 'LOG_FORMAT' else if (level==ESP_LOG_WARN ) { esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##VA_ARGS__); } \ ^~~~~~ ../../../../components/log/include/esp_log.h:445:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##VA_ARGS__); \ ^~~~~ ../../../../components/log/include/esp_log.h:355:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'

define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)

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

/home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c:126:13: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "HTTP chunk encoding Status = %d, content_length = %d", ^~~~ /home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c:128:1: error: format '%d' expects argument of type 'int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Werror=format=] esp_http_client_get_content_length(client)); ^
../../../../components/log/include/esp_log.h:294:59: note: in definition of macro 'LOG_FORMAT'

define LOG_FORMAT(letter, format) LOGCOLOR ## letter #letter " (%u) %s: " format LOG_RESET_COLOR "\n"

                                                       ^~~~~~

../../../../components/log/include/esp_log.h:445:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^~~~~ ../../../../components/log/include/esp_log.h:355:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'

define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)

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

/home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c:126:13: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "HTTP chunk encoding Status = %d, content_length = %d", ^~~~ /home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c:128:1: error: format '%d' expects argument of type 'int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Werror=format=] esp_http_client_get_content_length(client)); ^
../../../../components/log/include/esp_log.h:294:59: note: in definition of macro 'LOG_FORMAT'

define LOG_FORMAT(letter, format) LOGCOLOR ## letter #letter " (%u) %s: " format LOG_RESET_COLOR "\n"

                                                       ^~~~~~

../../../../components/log/include/esp_log.h:445:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \ ^~~~~ ../../../../components/log/include/esp_log.h:355:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'

define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)

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

/home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c:126:13: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "HTTP chunk encoding Status = %d, content_length = %d", ^~~~ ../../../../components/log/include/esp_log.h:277:27: error: format '%d' expects argument of type 'int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Werror=format=]

define LOG_COLOR(COLOR) "\033[0;" COLOR "m"

                       ^~~~~~~~~

../../../../components/log/include/esp_log.h:282:27: note: in expansion of macro 'LOG_COLOR'

define LOG_COLOR_I LOG_COLOR(LOG_COLOR_GREEN)

                       ^~~~~~~~~

../../../../components/log/include/esp_log.h:294:37: note: in expansion of macro 'LOG_COLOR_I'

define LOG_FORMAT(letter, format) LOGCOLOR ## letter #letter " (%u) %s: " format LOG_RESET_COLOR "\n"

                                 ^~~~~~~~~~

../../../../components/log/include/esp_log.h:427:86: note: in expansion of macro 'LOG_FORMAT' else { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##VA_ARGS__); } \ ^~~~~~ ../../../../components/log/include/esp_log.h:445:41: note: in expansion of macro 'ESP_LOG_LEVEL' if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##VA_ARGS__); \ ^~~~~ ../../../../components/log/include/esp_log.h:355:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'

define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)

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

/home/umarcc/esp/esp-idf/iot/components/idf-stm-flash/main/stm_flash_http.c:126:13: note: in expansion of macro 'ESP_LOGI' ESP_LOGI(TAG, "HTTP chunk encoding Status = %d, content_length = %d", ^~~~ cc1: some warnings being treated as errors ninja: build stopped: subcommand failed. ninja failed with exit code 1

arturdd commented 2 years ago

fatal error: mqtt_config.h: No such file or directory I can confirm this issue, tested on Windows & Ubuntu with ESP-IDF versions: 4.2 4.3-dev 4.3 4.4

carstenkoester commented 2 years ago

As a quick hack, blatantly stealing the file from https://github.com/UCTRONICS/UCTRONICS_ESP32/blob/master/tools/sdk/include/mqtt/mqtt_config.h and dropping it in components\esp-wifi-manager\src seems to do the trick at least for the first error (around mqtt_config.h).