Closed Kashouryo closed 5 years ago
I check it, it's just a problem of 1.9.0 beta. Simply, you have to download older (non-beta) version of IDE.
Tested on Linux (Debian): Same error: 1.9.0 (beta) x64 Working: 1.8.9 x64
Maybe it's a bug in 1.9.0 or they changed something in IDE.
Thank you~ I switched back to Arduino IDE 1.8.10 And It works~
I can not compile the default empty sketch (that only contains setup() and loop()) with sduino. I am using Arduino 1.9.0 on a windows 10 1803.
Here's the error log that I think is important to address this issue.
"C:\Software\Arduino IDE\portable\packages\sduino\tools\STM8Tools\2019.02.05/win/busybox" ash "C:\Software\Arduino IDE\portable\packages\sduino\tools\STM8Tools\2019.02.05/wrapper/sdcc.sh" "C:\Software\Arduino IDE\portable\packages\sduino\tools\sdcc\build.11242/bin/sdcc" "C:\Users\think\AppData\Local\Temp\arduino_build_786390\sketch\sketch_sep15a.ino.cpp" "C:\Users\think\AppData\Local\Temp\arduino_build_786390\sketch\sketch_sep15a.ino.cpp.o" re2 -MMD -c -Ddouble=float -DUSE_STDINT -DPROG_TYPES_COMPAT --less-pedantic -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10900 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 "-IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0\cores\sduino" "-IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0\variants\standard" "-IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0/STM8S_StdPeriph_Driver/inc" "-IC:\Software\Arduino IDE\portable\packages\sduino\tools\sdcc\build.11242/include" C:\Software\Arduino IDE\portable\packages\sduino\tools\sdcc\build.11242/bin/sdcc C:\Users\think\AppData\Local\Temp\arduino_build_786390\sketch\sketch_sep15a.ino.cpp C:\Users\think\AppData\Local\Temp\arduino_build_786390\sketch\sketch_sep15a.ino.cpp.o re2 -MMD -c -Ddouble=float -DUSE_STDINT -DPROG_TYPES_COMPAT --less-pedantic -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10900 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 -IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0\cores\sduino -IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0\variants\standard -IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0/STM8S_StdPeriph_Driver/inc -IC:\Software\Arduino IDE\portable\packages\sduino\tools\sdcc\build.11242/include Mark re2:C:\Software\Arduino IDE\portable\packages\sduino\tools\sdcc\build.11242/bin/sdcc -MMD -c -Ddouble=float -DUSE_STDINT -DPROG_TYPES_COMPAT --less-pedantic -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10900 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 -IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0\cores\sduino -IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0\variants\standard -IC:\Software\Arduino IDE\portable\packages\sduino\hardware\stm8\0.5.0/STM8S_StdPeriph_Driver/inc -IC:\Software\Arduino IDE\portable\packages\sduino\tools\sdcc\build.11242/include C:\Users\think\AppData\Local\Temp\arduino_build_786390\sketch\sketch_sep15a.ino.cpp -o C:\Users\think\AppData\Local\Temp\arduino_build_786390\sketch\sketch_sep15a.ino.cpp.o cpp gefunden C:\Users\think\AppData\Local\Temp\arduino_build_786390\sketch\sketch_sep15a.ino.c:2: syntax error: token -> '.' ; column 14
exit status 1