Hi and thanks for sharing the SimulIDE software. It is my first time running it and I think I have found a bug (at least on the Windows platform).
Conditions:
Result:
Behavior:
Workaround:
Or
Verification:
Conditions:
- Home directory on a network share
- Home directory path containing white space
Result:
- Arduino IDE will set the default Sketchbook location to a UNC path, e.g.:
\\foo.bar.inter.net\Home\username\My Documents\Arduino - SimulIDE compile command will contain an unescaped path to Sketchbook libraries, e.g.:
-libraries \\foo.bar.inter.net\Home\username\My Documents\Arduino/libraries
Behavior:
- SimulIDE will compile and report: SUCCESS!!! Compilation Ok
- No hex file is produced
- SimulIDE UpLoad will fail with error dialog about hex file not found
Workaround:
- Cut and paste SimulIDE compile command
- Manually escape -libraries path, e.g.:
-libraries "\\foo.bar.inter.net\Home\username\My Documents\Arduino/libraries" - Run escaped command from command prompt (will produce hex file)
- UpLoad now works
Or
- Move Sketchbook location to a local path without white space
- Change Sketchbook location (Arduino IDE>File>Preferences>Settings>Sketchbook location) to new path
- Restart SimulIDE and recompile (will produce hex file)
- UpLoad now works
Verification:
- Cut and paste unescaped compile command from SimulIDE and run it from a command prompt (compile will fail with error message: Parameter 'fqbn' is mandatory ...)
- Manually escape -libraries path and rerun the same compile command from a command prompt (compile will succeed)
Last edited by arcachofo on Fri Dec 24, 2021 2:49 am; edited 1 time in total (Reason for editing : Marked as solved (green color))