MrYsLab / telemetrix

A user-extensible replacement for StandardFirmata. All without the complexity of Firmata!
GNU Affero General Public License v3.0
68 stars 26 forks source link

Compiling Error #81

Closed NotTraduce closed 7 months ago

NotTraduce commented 7 months ago

Hi, I've received this error while uploading to the Arduino UNO and I'm not very skilled in Arduino language so I'm not sure what it mean's and how to fix it, can anybody help?

Error:

C:\Users\soham\AppData\Local\Temp\cchSFvcE.ltrans0.ltrans.o: In function `twi_disable':
C:\Users\soham\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\utility/twi.c:117: undefined reference to `digitalWrite'
C:\Users\soham\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\utility/twi.c:118: undefined reference to `digitalWrite'
C:\Users\soham\AppData\Local\Temp\cchSFvcE.ltrans0.ltrans.o: In function `twi_init':
C:\Users\soham\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\utility/twi.c:88: undefined reference to `digitalWrite'
C:\Users\soham\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\utility/twi.c:89: undefined reference to `digitalWrite'
C:\Users\soham\AppData\Local\Temp\cchSFvcE.ltrans0.ltrans.o:(.rodata+0x6): undefined reference to `Print::write(unsigned char const*, unsigned int)'
c:/users/soham/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

Board: Arduino Uno

MrYsLab commented 7 months ago

What are you using to compile (the Arduino IDE, VS Code, or something else)? If you use the Arduino IDE, which version and version number are you using?

Can you compile something simple, such as the blink sketch under the basics category in the examples provided with the IDE?

If you can compile Blink, can you compile the StandardFirmata sketch under the Fimata category in the examples?