-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[Bug] Windows Store version: collect2.exe: error: ld returned 5 exit status #5845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Almost duplicate of #2989, but it's the first time it happens on something different from WinXP. Are you sure you are on Win7 and not on Win10? |
My God - I'm so sorry - it is Windows 10 x64 of course (as reported in the attached output section). Just corrected. I'm working parallel on 4 machines and somehow it came on hurry. Sorry for the mistake again. |
@facchinm I have seen multiple reports on the forum of this issue occurring with the Windows Store version of the Arduino IDE, including IDE versions previous to 1.8.1 that were released there. Every time when they switch to the standard(non-Windows Store) IDE version the problem goes away. I can provide links to those threads if it's helpful. |
Well, indeed it seems to be Windows Store version problem only. Regular (manually downloaded distribution) from Adruio website compiles exactly the same file, without any problems. |
@per1234 , if you could provide the references to the threads it would be great! Long paths (or commandlines) are most likely the culprit here, since the standalone version is going go be installed it a much shorter path than |
In case you need some more information or I can do the tests, let me know, please. Regards, P. |
I'm have the same issue. |
Can someone check if the build provided here |
I can do it, but how do I install it over the Windows Store? |
@pczekalski I'm uploading the appx for testing, it will be live in a couple of minutes. |
Same problem - empty sketch only with "delay(1)" in loop is enought for the error message : Arduino: 1.8.1 (Windows XP), Board: "Arduino/Genuino Uno" PLEASE HELP |
@BugAA and everyone, please try the build here -> #5863 (comment) |
Thank you Cmaglie, but I received positive result just now - it is enough to put first line to that "empty sketch" : int X1 = 0; int X2 = 0; Due to this declaration problem disappeared. |
Problem again, that declaration (int X1 = 0; int X2 = 0;) helps only in that empty sketch. Others Producer of ARDUINO please HELP. |
@BugAA , are you using the build in #5863 (comment) ? |
Thank you Mr. Facchin for your mail,
I read your recomended link, but excuse me I do not understand what should
be done.
Inspite of it - behaviour of that error is like random. Yesterday a sketch
gave error and closing PC for 10 second had not efect.
Today the same sketch goes O.K. immediately after start of PC, but after
approx. 30 min the error comes again.
It looks that a reason comes from "Temporary" files ???
Luis
…---------- Původní zpráva ----------
Od: Martino Facchin <[email protected]>
Komu: arduino/Arduino <[email protected]>
Datum: 2. 2. 2017 10:00:04
Předmět: Re: [arduino/Arduino] [Bug] Windows Store version: collect2.exe:
error: ld returned 5 exit status (#5845)
"
@BugAA(https://github.com/BugAA) , are you using the build in #5863
(comment)
(#5863 (comment)) ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
(#5845 (comment)), or
mute the thread
(https://github.com/notifications/unsubscribe-auth/AYFViI2Rbo5Oa-uuXMrI6tHhQVZmsykgks5rYZsOgaJpZM4Livem)
.
"=
|
Next good result - reinstallation IDE. First step - the IDE 1.8.1 which had been installed by Windows to Second step - the IDE install file "arduino-1.6.7-windows.zip" Third step - the IDE 1.6.7 is running from that D:\Arduino\ "arduino.exe" After this reinstallation the Arduino is running without error. I hope it is end of problem. Luis |
One thing to note, which could be a factor, or may not :) I noticed that during the download, the store app freezes for a few seconds, then says something like "restoring from ..." (too quick to really see). Could this be causing a corrupt exe? I know that TCP will resend the packet if it's lost, but that doesn't mean it can't be corrupt. May be nothing, may be something. For me this issue happens randomly. When it happens I compile again and eventually after any number of random tries, it compiles just fine. Just to be clear, this is a compilation issue, nothing to do with uploading to the board. |
Fixed on IDE 1.8.2 (and AVR core 1.6.18). |
Dear Contributors,
Thank you for your great work. I've found an error that appears in Windows store 1.8.1.0 version but does not appear when using version downloaded from the acrudino website.
When I try to compile sample code for the SSD1331 library for the 0.96 inch OLDE display (the BMP Example) triggers following error:
Please mind it happens OLNY in the version downloaded through the Windows Store.
The operating system is Windows 10 x64 Pro.
The verbose output of the compiler is provided below:
The text was updated successfully, but these errors were encountered: