ottijp blog

.ctagsがあるとArudino IDEでエラーメッセージなしのエラーが発生する

環境

  • Arduino IDE 1.8.19
  • macOS 12.3 (Monterey)

現象

ArduinoでESP32のhttpカメラサーバのスケッチをコンパイルした所,次のようなエラーが発生しました. エラーになっているにも関わらず,エラーメッセージがなにも無いので,困りました.

Arduino: 1.8.19 (Mac OS X), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 80MHz, 115200, None"











/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/otti/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/otti/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/otti/Documents/Arduino/libraries -fqbn=esp32:esp32:esp32wrover:PartitionScheme=huge_app,FlashMode=qio,FlashFreq=80,UploadSpeed=115200,DebugLevel=none -ide-version=10819 -build-path /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217 -warnings=default -build-cache /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_cache_264210 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=/Users/otti/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-97-gc752ad5-5.2.0.path=/Users/otti/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.esptool_py.path=/Users/otti/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=/Users/otti/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0 -prefs=runtime.tools.mkspiffs.path=/Users/otti/Library/Arduino15/packages/esp32/tools/mkspiffs/0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=/Users/otti/Library/Arduino15/packages/esp32/tools/mkspiffs/0.2.3 -verbose /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_modified_sketch_216744/CameraWebServer.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/otti/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/otti/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/otti/Documents/Arduino/libraries -fqbn=esp32:esp32:esp32wrover:PartitionScheme=huge_app,FlashMode=qio,FlashFreq=80,UploadSpeed=115200,DebugLevel=none -ide-version=10819 -build-path /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217 -warnings=default -build-cache /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_cache_264210 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=/Users/otti/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-97-gc752ad5-5.2.0.path=/Users/otti/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.esptool_py.path=/Users/otti/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=/Users/otti/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0 -prefs=runtime.tools.mkspiffs.path=/Users/otti/Library/Arduino15/packages/esp32/tools/mkspiffs/0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=/Users/otti/Library/Arduino15/packages/esp32/tools/mkspiffs/0.2.3 -verbose /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_modified_sketch_216744/CameraWebServer.ino
Using board 'esp32wrover' from platform in folder: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6
Using core 'esp32' from platform in folder: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6
bash -c "[ ! -f \"/var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_modified_sketch_216744\"/partitions.csv ] || cp -f \"/var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_modified_sketch_216744\"/partitions.csv \"/var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217\"/partitions.csv"
bash -c "[ -f \"/var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217\"/partitions.csv ] || cp \"/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6\"/tools/partitions/huge_app.csv \"/var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217\"/partitions.csv"
Detecting libraries used...
/Users/otti/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/config -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_trace -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_update -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/asio -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bootloader_support -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bt -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/coap -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/console -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/driver -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/efuse -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-tls -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_adc_cal -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_event -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_client -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_server -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_ota -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_server -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_ringbuf -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_websocket_client -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/espcoredump -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ethernet -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/expat -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fatfs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freemodbus -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freertos -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/heap -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/idf_test -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/jsmn -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/json -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/libsodium -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/log -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/lwip -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mbedtls -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mdns -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/micro-ecc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mqtt -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/newlib -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nghttp -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nvs_flash -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/openssl -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protobuf-c -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protocomm -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/pthread -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/sdmmc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/smartconfig_ack -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/soc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spi_flash -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spiffs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcp_transport -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcpip_adapter -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ulp -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/unity -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/vfs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wear_levelling -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wifi_provisioning -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wpa_supplicant -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/xtensa-debug-module -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32-camera -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/variants/esp32 /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217/sketch/CameraWebServer.ino.cpp -o /dev/null
Alternatives for WiFi.h: [WiFi@1.0]
ResolveLibrary(WiFi.h)
  -> candidates: [WiFi@1.0]
/Users/otti/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/config -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_trace -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_update -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/asio -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bootloader_support -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bt -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/coap -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/console -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/driver -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/efuse -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-tls -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_adc_cal -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_event -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_client -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_server -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_ota -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_server -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_ringbuf -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_websocket_client -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/espcoredump -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ethernet -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/expat -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fatfs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freemodbus -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freertos -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/heap -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/idf_test -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/jsmn -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/json -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/libsodium -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/log -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/lwip -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mbedtls -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mdns -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/micro-ecc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mqtt -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/newlib -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nghttp -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nvs_flash -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/openssl -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protobuf-c -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protocomm -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/pthread -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/sdmmc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/smartconfig_ack -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/soc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spi_flash -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spiffs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcp_transport -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcpip_adapter -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ulp -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/unity -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/vfs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wear_levelling -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wifi_provisioning -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wpa_supplicant -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/xtensa-debug-module -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32-camera -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/variants/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217/sketch/CameraWebServer.ino.cpp -o /dev/null
/Users/otti/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/config -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_trace -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_update -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/asio -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bootloader_support -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bt -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/coap -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/console -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/driver -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/efuse -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-tls -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_adc_cal -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_event -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_client -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_server -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_ota -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_server -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_ringbuf -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_websocket_client -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/espcoredump -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ethernet -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/expat -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fatfs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freemodbus -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freertos -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/heap -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/idf_test -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/jsmn -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/json -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/libsodium -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/log -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/lwip -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mbedtls -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mdns -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/micro-ecc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mqtt -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/newlib -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nghttp -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nvs_flash -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/openssl -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protobuf-c -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protocomm -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/pthread -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/sdmmc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/smartconfig_ack -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/soc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spi_flash -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spiffs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcp_transport -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcpip_adapter -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ulp -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/unity -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/vfs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wear_levelling -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wifi_provisioning -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wpa_supplicant -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/xtensa-debug-module -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32-camera -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/variants/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217/sketch/app_httpd.cpp -o /dev/null
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/ETH.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFi.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiAP.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiClient.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiGeneric.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiMulti.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiSTA.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiScan.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiServer.cpp
Using cached library dependencies for file: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiUdp.cpp
Generating function prototypes...
/Users/otti/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/config -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_trace -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_update -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/asio -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bootloader_support -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bt -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/coap -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/console -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/driver -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/efuse -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-tls -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_adc_cal -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_event -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_client -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_server -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_ota -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_server -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_ringbuf -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_websocket_client -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/espcoredump -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ethernet -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/expat -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fatfs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freemodbus -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freertos -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/heap -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/idf_test -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/jsmn -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/json -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/libsodium -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/log -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/lwip -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mbedtls -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mdns -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/micro-ecc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mqtt -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/newlib -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nghttp -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nvs_flash -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/openssl -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protobuf-c -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protocomm -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/pthread -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/sdmmc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/smartconfig_ack -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/soc -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spi_flash -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spiffs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcp_transport -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcpip_adapter -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ulp -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/unity -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/vfs -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wear_levelling -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wifi_provisioning -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wpa_supplicant -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/xtensa-debug-module -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32-camera -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/variants/esp32 -I/Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217/sketch/CameraWebServer.ino.cpp -o /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217/preproc/ctags_target_for_gcc_minus_e.cpp
Using library WiFi at version 1.0 in folder: /Users/otti/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi 
exit status 1
Error compiling for board ESP32 Wrover Module.

原因

なんか前にも同じようなことがあったな・・・,と思い出しました. $HOME/.ctagsがあることが原因でした.(昔ctagsを勉強してたときに作っていた.)

最後の行のコマンドだけ単体で実行すると,次のようなエラー(ワーニング?)が出力されます.

$ /Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/hj/26l3gdxj1jz7bl1pmr0b_j040000gn/T/arduino_build_799217/preproc/ctags_target_for_gcc_minus_e.cpp
ctags: append mode is not compatible with tags to stdout

解決策

$HOME/.ctagsを消すことでエラーが発生せずにコンパイルできるようになりました.


ottijp
都内でアプリケーションエンジニアをしています
© 2024, ottijp