Hi there,
I'm having trouble again compiling a sketch with the Create editor:
fatal error: thatFile.h: No such file or directory
#include "thatFile.h"
^
compilation terminated.
exit status 1
Of course, that file is in the sketch, on the next tab.
It works straight away if I download the whole sketch and import it into the classic IDE.
I had the same bug on monday evening, and the next day it was OK.
What's wrong??
mdelain
February 9, 2018, 10:04pm
2
So I used the Java IDE as I did previously this week --> It thrown an error clearly defined (I forgot to rename a variable).
I reported the fix in the online editor, and now it's going better - with a strange red line at the end though:
./opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -build-path /tmp/099108270/build -hardware opt/arduino-builder/hardware -hardware ./opt/cores -tools opt/arduino-builder/tools -tools ./opt/tools -built-in-libraries opt/libraries/latest -libraries /tmp/099108270/pinned -libraries /tmp/099108270/custom -fqbn arduino:avr:uno -build-cache /tmp -logger humantags -verbose=false /tmp/099108270/turnoutController
open /home/admin/builder/opt/libraries/latest/microdebug-1-1-0: no such file or directory
Just for fun, I tried a 2nd compilation: back to step 1, same error as above >:(
mdelain
February 9, 2018, 10:18pm
3
complete verbose output follows
./opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -build-path /tmp/630860969/build -hardware opt/arduino-builder/hardware -hardware ./opt/cores -tools opt/arduino-builder/tools -tools ./opt/tools -built-in-libraries opt/libraries/latest -libraries /tmp/630860969/pinned -libraries /tmp/630860969/custom -fqbn arduino:avr:uno -build-cache /tmp -logger humantags -verbose=true /tmp/630860969/turnoutController
Using board 'uno' from platform in folder: /home/admin/builder/opt/cores/arduino/avr
Using core 'arduino' from platform in folder: /home/admin/builder/opt/cores/arduino/avr
Detecting libraries used...
"/home/admin/builder/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/admin/builder/opt/cores/arduino/avr/cores/arduino" "-I/home/admin/builder/opt/cores/arduino/avr/variants/standard" "/tmp/630860969/build/sketch/turnoutController.ino.cpp" -o "/dev/null"
/tmp/630860969/turnoutController/turnoutController.ino:1:25: fatal error: thatFile.h: No such file or directory
#include "thatFile.h"
^
compilation terminated.
exit status 1
mdelain
February 9, 2018, 10:42pm
4
I deleted the sketch and re-imported the one I've exported to work with in the classic IDE --> works perfectly now...
I'm having this issue occasionally as well.
So your solution is to just re-upload the whole sketch every single time? Seems inconvenient...
If you could post a link to the sketch that has issues it would be nice.
Not having access to the sketch makes it a little awkward to see if its something simple or an actual editor issue.
Usually find the editor better than the desktop for most things as the libs are so easy to get and integrate.