lgt8fx icon indicating copy to clipboard operation
lgt8fx copied to clipboard

Linking problem on Arduino 1.8.19

Open tistructor opened this issue 2 years ago • 6 comments

Linking problem under arduino 1.8.19:

/mnt/DFA9A0176612163D/DATA/ProgramsLinux/Arduino/ArduinoIde/hardware/tools/avr/bin/../ lib / gcc / avr / 7.3.0 /../../../../ avr / bin / ld: / mnt / DFA9A0176612163D / DATA / ProgramsLinux / Arduino / ArduinoIde / hardware / tools / avr / bin /../libexec/gcc/avr/7.3.0/liblto_plugin.so: error loading plugin: / mnt/DFA9A0176612163D/DATI/ProgrammiLinux / Arduino / ArduinoIde / hardware / tools / avr / bin /../libexec/gcc/avr/7.3.0/liblto_plugin.so: file too short collect2: error: ld returned 1 exit status exit status 1 Error filling for board LGT8F328.

tistructor avatar May 25 '22 14:05 tistructor

I have trouble complicating the mouse example with arduino 1.8.12. which version of arduino ide should be used?

tistructor avatar May 25 '22 15:05 tistructor

So far no one has reported such a problem with this LGT8Fx package. I found some similar issues with google. Some files may be duplicated when you upgraded the IDE. Try uninstalling all versions of the Arduino IDE. After that reinstall the newest Arduino IDE, the necessay libraies and board definitions in Boards Manager URL.

LaZsolt avatar May 25 '22 15:05 LaZsolt

I am using it under linux. As I have a moment of time I test.

tistructor avatar May 25 '22 17:05 tistructor

With arduino 1.8.12 I do not find problems but with version 1.8.19 I find compilation problems.

tistructor avatar May 25 '22 19:05 tistructor

No, it's my problem. I downloaded version 1.8.19 with clean installation and I have no compilation problems. I will have garbage somewhere in the installations. Strange however with other devices I have never encountered problems. Thanks

tistructor avatar May 25 '22 19:05 tistructor

I understand the problem. If you change the warnings of the compiler other than none, the compilation is not successful.

tistructor avatar May 25 '22 19:05 tistructor

It appears this was an issue with the users environment and not this library, correct? If so, we should close this.

dwillmore avatar Jan 12 '23 18:01 dwillmore

True. Please reopen otherwise @tistructor

dbuezas avatar Jan 12 '23 18:01 dbuezas