[1/9] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/hello_world_main.cpp.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/hello_world_main.cpp.obj 
ccache C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DESP_PLATFORM -DIDF_VER=\"-128-NOTFOUND\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DMD5_ENABLED=1 -DSERIAL_FLASHER_BOOT_HOLD_TIME_MS=50 -DSERIAL_FLASHER_RESET_HOLD_TIME_MS=100 -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IC:/Users/User/workspace/hello_world/build/config -IC:/Espressif/frameworks/esp-idf-v5.1/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.1/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.1/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/freertos/esp_additions/arch/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.1/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.1/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.1/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.1/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/lwip/port/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/lwip/port/freertos/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/lwip/port/esp32xx/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/lwip/port/esp32xx/include/arch -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_ringbuf/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/efuse/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/efuse/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/deprecated -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/analog_comparator/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/dac/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/gpio/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/gptimer/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/i2c/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/i2s/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/ledc/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/mcpwm/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/parlio/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/pcnt/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/rmt/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/sdio_slave/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/sdmmc/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/sigma_delta/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/spi/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/temperature_sensor/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/touch_sensor/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/twai/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/uart/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/usb_serial_jtag/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/driver/touch_sensor/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_pm/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/mbedtls/port/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/mbedtls/mbedtls/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/mbedtls/mbedtls/library -IC:/Espressif/frameworks/esp-idf-v5.1/components/mbedtls/esp_crt_bundle/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/mbedtls/mbedtls/3rdparty/everest/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/mbedtls/mbedtls/3rdparty/p256-m -IC:/Espressif/frameworks/esp-idf-v5.1/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_app_format/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/bootloader_support/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/bootloader_support/bootloader_flash/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_partition/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/app_update/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_mm/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/spi_flash/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/pthread/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_timer/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/app_trace/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_event/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/nvs_flash/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_phy/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_phy/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/vfs/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_netif/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/wpa_supplicant/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/wpa_supplicant/port/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/wpa_supplicant/esp_supplicant/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_coex/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_wifi/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_wifi/wifi_apps/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/unity/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/unity/unity/src -IC:/Espressif/frameworks/esp-idf-v5.1/components/cmock/CMock/src -IC:/Espressif/frameworks/esp-idf-v5.1/components/console -IC:/Espressif/frameworks/esp-idf-v5.1/components/http_parser -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp-tls -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp-tls/esp-tls-crypto -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_adc/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_adc/interface -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_adc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_adc/deprecated/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_eth/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_gdbstub/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_hid/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/tcp_transport/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_http_client/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_http_server/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_https_ota/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_psram/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_lcd/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_lcd/interface -IC:/Espressif/frameworks/esp-idf-v5.1/components/protobuf-c/protobuf-c -IC:/Espressif/frameworks/esp-idf-v5.1/components/protocomm/include/common -IC:/Espressif/frameworks/esp-idf-v5.1/components/protocomm/include/security -IC:/Espressif/frameworks/esp-idf-v5.1/components/protocomm/include/transports -IC:/Espressif/frameworks/esp-idf-v5.1/components/protocomm/include/crypto/srp6a -IC:/Espressif/frameworks/esp-idf-v5.1/components/protocomm/proto-c -IC:/Espressif/frameworks/esp-idf-v5.1/components/esp_local_ctrl/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/espcoredump/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/espcoredump/include/port/xtensa -IC:/Espressif/frameworks/esp-idf-v5.1/components/wear_levelling/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/sdmmc/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/fatfs/diskio -IC:/Espressif/frameworks/esp-idf-v5.1/components/fatfs/vfs -IC:/Espressif/frameworks/esp-idf-v5.1/components/fatfs/src -IC:/Espressif/frameworks/esp-idf-v5.1/components/idf_test/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/idf_test/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1/components/ieee802154/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/json/cJSON -IC:/Espressif/frameworks/esp-idf-v5.1/components/mqtt/esp-mqtt/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/perfmon/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/spiffs/include -IC:/Espressif/frameworks/esp-idf-v5.1/components/wifi_provisioning/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__network_provisioning/include -IC:/Users/User/workspace/hello_world/managed_components/chmorgan__esp-libhelix-mp3/libhelix-mp3/pub -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-modbus/freemodbus/common/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__libsodium/libsodium/src/libsodium/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__libsodium/port_include -IC:/Users/User/workspace/hello_world/managed_components/espressif__mdns/include -IC:/Users/User/workspace/hello_world/managed_components/joltwallet__littlefs/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/dotprod/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/support/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/support/mem/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/windows/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/windows/hann/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/windows/blackman/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/windows/blackman_harris/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/windows/blackman_nuttall/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/windows/nuttall/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/windows/flat_top/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/iir/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/fir/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/math/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/math/add/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/math/sub/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/math/mul/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/math/addc/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/math/mulc/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/math/sqrt/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/matrix/mul/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/matrix/add/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/matrix/addc/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/matrix/mulc/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/matrix/sub/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/matrix/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/fft/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/dct/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/conv/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/common/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/matrix/mul/test/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/kalman/ekf/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-dsp/modules/kalman/ekf_imu13states/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__rmaker_common/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_diagnostics/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__cbor/port/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_diag_data_store/src/rtc_store -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_diag_data_store/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_insights/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_modem/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__jsmn/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__json_parser/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__json_generator/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_schedule/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-serial-flasher/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp-serial-flasher/port -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_rcp_update/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_secure_cert_mgr/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__esp_rainmaker/include -IC:/Users/User/workspace/hello_world/managed_components/espressif__qrcode/include -IC:/Users/User/workspace/hello_world/components/arduino/variants/esp32 -IC:/Users/User/workspace/hello_world/components/arduino/cores/esp32 -IC:/Users/User/workspace/hello_world/components/arduino/libraries/ArduinoOTA/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/AsyncUDP/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/BLE/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/BluetoothSerial/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/DNSServer/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/EEPROM/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/ESP_I2S/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/ESP_NOW/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/ESP_SR/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/ESPmDNS/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/Ethernet/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/FFat/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/FS/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/HTTPClient/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/HTTPUpdate/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/Insights/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/LittleFS/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/NetBIOS/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/Network/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/OpenThread/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/PPP/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/Preferences/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/RainMaker/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/SD_MMC/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/SD/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/SimpleBLE/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/SPIFFS/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/SPI/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/Ticker/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/Update/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/USB/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/WebServer/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/NetworkClientSecure/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/WiFi/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/WiFiProv/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/Wire/src -IC:/Users/User/workspace/hello_world/components/arduino/libraries/Zigbee/src -IC:/Users/User/workspace/hello_world/components/Adafruit_BusIO -IC:/Users/User/workspace/hello_world/components/Adafruit-GFX-Library -IC:/Users/User/workspace/hello_world/components/Adafruit_SSD1306 -mlongcalls -Wno-frame-address  -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=C:/Users/User/workspace/hello_world=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.1=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu++2b -fno-exceptions -fno-rtti -DARDUINO=10812 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD=\"ESP32_DEV\" -DARDUINO_VARIANT=\"esp32\" -DESP32=ESP32 -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/hello_world_main.cpp.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\hello_world_main.cpp.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/hello_world_main.cpp.obj -c C:/Users/User/workspace/hello_world/main/hello_world_main.cpp
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp: In function 'void setup()':
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:20:5: error: 'Serial' was not declared in this scope
   20 |     Serial.begin(9600);
      |     ^~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:22:21: error: 'INPUT_PULLUP' was not declared in this scope
   22 |     pinMode(BUTTON, INPUT_PULLUP);
      |                     ^~~~~~~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:22:5: error: 'pinMode' was not declared in this scope
   22 |     pinMode(BUTTON, INPUT_PULLUP);
      |     ^~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:23:23: error: 'INPUT' was not declared in this scope
   23 |     pinMode(POTMETER, INPUT);
      |                       ^~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:25:20: error: 'OUTPUT' was not declared in this scope
   25 |     pinMode(LED_0, OUTPUT);
      |                    ^~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp: At global scope:
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:34:1: error: 'uint64_t' does not name a type
   34 | uint64_t previous = 0;
      | ^~~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:1:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
  +++ |+#include <cstdint>
    1 | #define BUTTON 21
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp: In function 'float mapf(float, float, float, float, float)':
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:40:9: error: 'log_e' was not declared in this scope
   40 |         log_e("map(): Invalid input range, min == max");
      |         ^~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp: In function 'void loop()':
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:53:5: error: 'uint64_t' was not declared in this scope
   53 |     uint64_t current = millis();
      |     ^~~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:53:5: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:54:9: error: 'current' was not declared in this scope
   54 |     if (current - previous > DELAY) {
      |         ^~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:54:19: error: 'previous' was not declared in this scope
   54 |     if (current - previous > DELAY) {
      |                   ^~~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:58:5: error: 'Serial' was not declared in this scope
   58 |     Serial.print("Level: ");;
      |     ^~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:61:17: error: 'digitalRead' was not declared in this scope
   61 |     if (tick && digitalRead(BUTTON)) {
      |                 ^~~~~~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:73:41: error: 'analogRead' was not declared in this scope
   73 |     float potmeter_value = mapf((float) analogRead(POTMETER), 0.0f, 1023.0f, 0.0f, DRAIN_SPEED);
      |                                         ^~~~~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:86:5: error: 'uint8_t' was not declared in this scope
   86 |     uint8_t display = mapf(level, MIN_LEVEL, MAX_LEVEL, 0, 5);
      |     ^~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:86:5: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:87:25: error: 'display' was not declared in this scope
   87 |     digitalWrite(LED_0, display > 0);
      |                         ^~~~~~~
C:/Users/User/workspace/hello_world/main/hello_world_main.cpp:87:5: error: 'digitalWrite' was not declared in this scope
   87 |     digitalWrite(LED_0, display > 0);
      |     ^~~~~~~~~~~~
[2/9] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\User\workspace\hello_world\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v5.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/User/workspace/hello_world/build/bootloader/bootloader.bin"

Bootloader binary size 0x6860 bytes. 0x7a0 bytes (7%) free.


ninja: build stopped: subcommand failed.
