You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error while building a piece of code;
No matter how long or short the actual code is, I keep getting "Command line too long" in step 3 of the building process.
When I look in the output (debug) then I indeed see a commandline which contains 8496(!) characters!
Strangely enough I can't find anything on this subject...could be my search skills, but it definitely doesn't seem to be a common issue!
I tried to move the build folder and sketch folder, but no success. Also a clean install of ST and Stino didn't help.
Annoyingly enough I can compile and upload perfectly though the Arduino IDE, VScode and VS, however I -of course- would like to work with ST3 / Stino.
Extra info:
Device: M5Stack (various versions)
Platform: ESP32
Sublime Text version: 3 (latest version)
OS: Windows 10 (x64)
If anyone can set me onto the right path... thanks!!
Re-Install Arduino Platform or copy folder "...\AppData\Local\Arduino15" to "...\SublimeText\Arduino15"
Now, you only need put SublimeText folder in short link, the command can shorter for compile.
Example: "C:\SublimeText", "D:\SublimeText", ...
Hello everybody,
I get an error while building a piece of code;
No matter how long or short the actual code is, I keep getting "Command line too long" in step 3 of the building process.
When I look in the output (debug) then I indeed see a commandline which contains 8496(!) characters!
Strangely enough I can't find anything on this subject...could be my search skills, but it definitely doesn't seem to be a common issue!
I tried to move the build folder and sketch folder, but no success. Also a clean install of ST and Stino didn't help.
Annoyingly enough I can compile and upload perfectly though the Arduino IDE, VScode and VS, however I -of course- would like to work with ST3 / Stino.
Extra info:
Device: M5Stack (various versions)
Platform: ESP32
Sublime Text version: 3 (latest version)
OS: Windows 10 (x64)
If anyone can set me onto the right path... thanks!!
The output (debug):
[1.2%] Compiling Sketch.ino.cpp..."C:/Users/secc/AppData/Local/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-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 "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/config" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/app_trace" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/app_update" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/asio" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/bootloader_support" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/bt" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/coap" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/console" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/driver" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp-tls" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp32" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp_adc_cal" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp_event" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp_http_client" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp_http_server" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp_https_ota" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp_ringbuf" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/ethernet" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/expat" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/fatfs" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/freemodbus" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/freertos" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/heap" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/idf_test" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/jsmn" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/json" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/libsodium" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/log" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/lwip" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/mbedtls" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/mdns" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/micro-ecc" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/mqtt" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/newlib" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/nghttp" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/nvs_flash" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/openssl" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/protobuf-c" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/protocomm" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/pthread" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/sdmmc" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/smartconfig_ack" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/soc" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/spi_flash" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/spiffs" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/tcp_transport" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/tcpip_adapter" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/ulp" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/vfs" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/wear_levelling" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/wifi_provisioning" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/wpa_supplicant" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/xtensa-debug-module" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp-face" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp32-camera" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/esp-face" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/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 -MMD -c -DF_CPU=240000000L -DARDUINO=20000 -DARDUINO_M5STACK_FIRE -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="M5STACK_FIRE" -DARDUINO_VARIANT="m5stack_fire" -DESP32 -DCORE_DEBUG_LEVEL=0 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue "-ID:/Sketch" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/variants/m5stack_fire" "-IC:/Users/secc/Documents/Arduino/libraries/M5Stack/src" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/FS/src" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SPI/src" "-IC:/Users/secc/Documents/Arduino/libraries/M5Stack/src/utility" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/Wire/src" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SD/src" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/HTTPClient/src" "-IC:/Users/secc/Documents/Arduino/libraries/M5Stack/src/Fonts" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SPIFFS/src" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi/src" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFiClientSecure/src" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/AzureIoT/src/az_iot/c-utility/inc/azure_c_shared_utility" "-IC:/Users/secc/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/AzureIoT/src/az_iot/c-utility/inc" "C:/Users/secc/AppData/Local/Arduino15/build/Sketch/sketch/Sketch.ino.cpp" -o "C:/Users/secc/AppData/Local/Arduino15/build/Sketch/sketch/Sketch.ino.cpp.o" The command line is too long.
The text was updated successfully, but these errors were encountered: