First compile works, second time fails
First compile works, second time fails
I have recently started working on my school project which involves writing some c++ for the ESP32. At school everything works fine, but at home only the first time I compile and upload the project (using the Arduino IDE), does it actually work correctly. So the communication is there, it just seems that the first compilation step does something to the program, as every time after that first compilation it refuses to compile. Here are the console outputs of the two compilations:
As you can tell, these error messages are not English, they are actually German. In the second compile step, they essentially say the following:
arduino-builder returned 2 Error during compilation of the Board ESP32 Dev Module
I am using Debian 12 (GNU/Linux) on my machine, but I don't think that this would be the issue, as I am clearly able to upload the project the first time around.
Has someone here experienced something like this before? I have looked online, and most sources say that the error code was one and not two, so this seems like a different issue.