Arduino IDE error compiling after first compile attempt

Hi all,
I have an issue trying to compile my project and any other project using the ESP32/ LOLIN D32 for that matter, I can do this once when first opening the IDE but further atempts trying to compile the project results in the same error, Verbose output doesnt seem to tell me alot. When first opening the IDE i can compile and upload but if there is an error in my code. I have to close the IDE then re-open to try again otherwise the 'error compiling' error will prevent me from doing so.

I have uninstalled the IDE and reinstalled, at the same time, removed the AppData/local/Arduino15 and reinstalled from scratch.
IDE version 1.8.13

Arduino: 1.8.13 (Windows 10), Board: "LOLIN D32 PRO, Disabled, Default, 80MHz, 115200, None"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\James\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\James\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries G:\Users\James\Documents\Arduino\libraries -fqbn=esp32:esp32:d32_pro:PSRAM=disabled,PartitionScheme=default,FlashFreq=80,UploadSpeed=115200,DebugLevel=none -ide-version=10813 -build-path C:\Users\James\AppData\Local\Temp\arduino_build_331473 -warnings=all -build-cache C:\Users\James\AppData\Local\Temp\arduino_cache_299092 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-80-g6c4433a-5.2.0.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0 -prefs=runtime.tools.esptool_py.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1 -prefs=runtime.tools.esptool_py-2.6.1.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1 -prefs=runtime.tools.mkspiffs.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -verbose G:\Users\James\Documents\Projects\Arduino\In Progress\Outside_sensor_Node_Red\Outside_sensor_Node_Red.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\James\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\James\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries G:\Users\James\Documents\Arduino\libraries -fqbn=esp32:esp32:d32_pro:PSRAM=disabled,PartitionScheme=default,FlashFreq=80,UploadSpeed=115200,DebugLevel=none -ide-version=10813 -build-path C:\Users\James\AppData\Local\Temp\arduino_build_331473 -warnings=all -build-cache C:\Users\James\AppData\Local\Temp\arduino_cache_299092 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-80-g6c4433a-5.2.0.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0 -prefs=runtime.tools.esptool_py.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1 -prefs=runtime.tools.esptool_py-2.6.1.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1 -prefs=runtime.tools.mkspiffs.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\James\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -verbose G:\Users\James\Documents\Projects\Arduino\In Progress\Outside_sensor_Node_Red\Outside_sensor_Node_Red.ino

Using board 'd32_pro' from platform in folder: C:\Users\James\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4

Using core 'esp32' from platform in folder: C:\Users\James\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4

Detecting libraries used...

Error compiling for board LOLIN D32 PRO.

Packages:
https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json
http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://dl.espressif.com/dl/package_esp32_index.json
https://raw.githubusercontent.com/dabshield/WeMos/master/package_wemos_index.json
https://dl.espressif.com/dl/package_esp32_dev_index.json

Does this error suggest it cannot detect the libraries used? if so, how can it do it once but not twice (or more) in a row?

Can anyone help me pinpoint the issue or suggestions as to how i can procede further to identify the issue.

2 posts were split to a new topic: Problems with my code

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.