Hi,
I'm testing out SimulIDE 1.0.0-SR0 with Arduino Uno/Nano running the Arduino IDE v2.1.0.
Regardless of the test program I'm running, I get an error like below:
-------------------------------------------------------
File: E:/Controler/test2.ino
Found Arduino Version 2
Arduino Compiler successfully loaded.
-------------------------------------------------------
-------------------------------------------------------
Executing:
"C:/Program Files/Arduino IDE/resources/app/node_modules/arduino-ide-extension/build/arduino-cli.exe" compile --no-color --fqbn=arduino:avr:uno --build-path "C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno/build" --build-cache-path "C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno/cache" "E:/Controler/test2.ino"
Build folder: C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno
SketchBook:
Arduino Board "arduino:avr:uno"
Error opening sketch: main file missing from sketch: E:\Controler\Controler.ino
-------------------------------------------------------
One of the issues I can see is this last error where it is looking for a file called "E:\Controler\Controler.ino". The project file is "E:/Controler/test2.ino" and there is no other reference to this "controler.ino" other form the fact that the test files are stored in the "E:/Controler" folder.
I see a similar issue when my files were on OneDrive where the name of the file that it fails on seems to be repeating/duplicating the text after the last "/" sign in the path.
-------------------------------------------------------
File: C:/Users/Jacques/OneDrive/Projects/Drone Timer Project/Arduino Code 2.0.cpp
-------------------------------------------------------
-------------------------------------------------------
No Compiler Defined
Found Arduino Version 2
Arduino Compiler successfully loaded.
-------------------------------------------------------
Executing:
"C:/Program Files/Arduino IDE/resources/app/node_modules/arduino-ide-extension/build/arduino-cli.exe" compile --no-color --fqbn=arduino:avr:uno --build-path "C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno/build" --build-cache-path "C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno/cache" "C:/Users/Jacques/OneDrive/Projects/Drone Timer Project/Arduino Code 2.0.cpp"
Build folder: C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno
SketchBook:
Arduino Board "arduino:avr:uno"
Error opening sketch: main file missing from sketch: C:\Users\Jacques\OneDrive\Projects\Drone Timer Project\Arduino Code 2.0.cpp\Arduino Code 2.0.cpp.ino
-------------------------------------------------------
Is this an SimulIDE issue or Arduino IDE issue?
Any help will be greatly appreciated.
Thanks
Jacques
I'm testing out SimulIDE 1.0.0-SR0 with Arduino Uno/Nano running the Arduino IDE v2.1.0.
Regardless of the test program I'm running, I get an error like below:
-------------------------------------------------------
File: E:/Controler/test2.ino
Found Arduino Version 2
Arduino Compiler successfully loaded.
-------------------------------------------------------
-------------------------------------------------------
Executing:
"C:/Program Files/Arduino IDE/resources/app/node_modules/arduino-ide-extension/build/arduino-cli.exe" compile --no-color --fqbn=arduino:avr:uno --build-path "C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno/build" --build-cache-path "C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno/cache" "E:/Controler/test2.ino"
Build folder: C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno
SketchBook:
Arduino Board "arduino:avr:uno"
Error opening sketch: main file missing from sketch: E:\Controler\Controler.ino
-------------------------------------------------------
One of the issues I can see is this last error where it is looking for a file called "E:\Controler\Controler.ino". The project file is "E:/Controler/test2.ino" and there is no other reference to this "controler.ino" other form the fact that the test files are stored in the "E:/Controler" folder.
I see a similar issue when my files were on OneDrive where the name of the file that it fails on seems to be repeating/duplicating the text after the last "/" sign in the path.
-------------------------------------------------------
File: C:/Users/Jacques/OneDrive/Projects/Drone Timer Project/Arduino Code 2.0.cpp
-------------------------------------------------------
-------------------------------------------------------
No Compiler Defined
Found Arduino Version 2
Arduino Compiler successfully loaded.
-------------------------------------------------------
Executing:
"C:/Program Files/Arduino IDE/resources/app/node_modules/arduino-ide-extension/build/arduino-cli.exe" compile --no-color --fqbn=arduino:avr:uno --build-path "C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno/build" --build-cache-path "C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno/cache" "C:/Users/Jacques/OneDrive/Projects/Drone Timer Project/Arduino Code 2.0.cpp"
Build folder: C:/Users/Jacques/AppData/Local/simulide/codeeditor/buildIno
SketchBook:
Arduino Board "arduino:avr:uno"
Error opening sketch: main file missing from sketch: C:\Users\Jacques\OneDrive\Projects\Drone Timer Project\Arduino Code 2.0.cpp\Arduino Code 2.0.cpp.ino
-------------------------------------------------------
Is this an SimulIDE issue or Arduino IDE issue?
Any help will be greatly appreciated.
Thanks
Jacques