Skip to content
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

Home: Could not install platform #1304

Closed
ovsel43 opened this issue Jan 21, 2018 · 15 comments
Closed

Home: Could not install platform #1304

ovsel43 opened this issue Jan 21, 2018 · 15 comments

Comments

@ovsel43
Copy link

ovsel43 commented Jan 21, 2018

PIO Core Call Error: PlatformManager: Installing ststm32
Downloading...
Unpacking...
ststm32 @ 3.8.0 has been successfully installed!
PackageManager: Installing toolchain-gccarmnoneeabi @ >=1.40803.0,<1.40805.0

Downloading...
Unpacking...
Warning! Package Mirror: [Error 5]
Looking for another mirror...
Downloading...
Unpacking...
Warning! Package Mirror: [Error 5]
Looking for another mirror...

Error: Could not install 'toolchain-gccarmnoneeabi' with version requirements '>=1.40803.0,<1.40805.0' for your system 'windows_amd64'.
More details: http://bit.ly/faq-package-manager

@ivankravets
Copy link
Member

Have you tried all solutions form http://bit.ly/faq-package-manager?

@ovsel43
Copy link
Author

ovsel43 commented Jan 23, 2018 via email

@ivankravets
Copy link
Member

Hm... This issue should not be linked with Clang. Nevertheless, that is good that you found a solution.

@edogaldo
Copy link

Hi, I just installed PlatformIO over VSCode over Win10/64bit and I'm having the same error.
I'm not familiar with CLANG so I don't know how to change it.
Could you help me to solve the problem?

Thanks in advance, E.

@ivankravets
Copy link
Member

@edogaldo Have you tried all solutions form http://bit.ly/faq-package-manager?

@ovsel43
Copy link
Author

ovsel43 commented Jan 25, 2018 via email

@edogaldo
Copy link

@ivankravets: I tried solution 3 as suggested but no luck, still same error..

@ovsel43: looks like Platformio@VSCode is not using Clang, does it?

@ovsel43
Copy link
Author

ovsel43 commented Jan 26, 2018

Yes Clang not using, can not install it.
But in my case, with the Clang x64 installed, stably produces an error (see the picture): could not install toolchain-gccarmnoneeabi. I tried to install the package STM32 several times.
platformio
I do not know what causes it (Maybe just a coincidence). I do not have time to understand.
Without CLANG or with the installed CLANG x86 the installation is successful (disable the antivirus). I checked several times (once there was a problem with downloading the package).
platformio2
Most likely, the problem is not in "CLANG".
Perhaps the problem is in the antivirus (I'm using Kaspersky Endpoint Security) or another.
But during the installation of stm32 the antivirus is turned off.

@edogaldo
Copy link

edogaldo commented Jan 26, 2018

I give up: I can't disable the antivirus because it's locked at corporate level and I can't get the STM32 platform working..

@ivankravets: here the error screenshot, hope this helps
immagine

Best regards, E.

@edogaldo
Copy link

Maybe it depends on the fact that there is a strict requirement for a win_64bit version of the "toolchain-gccarmnoneeabi" package and it does not esists?!

Tejas Belagod (belagod-tejas) said on 2018-01-25: #2

Hi,

We don't build a 64-bit Windows version of the toolchain yet. I suspect you would need to start with replacing i686-w64-mingw32-gcc with x86_64-w64-mingw32-gcc and then take it from there.

Thanks,
Tejas.

@ivankravets
Copy link
Member

@edogaldo

@ivankravets: I tried solution 3 as suggested but no luck, still same error..

Did you use SYSTEM TERMINAL? Not VSCode!

@ivankravets ivankravets reopened this Jan 26, 2018
@edogaldo
Copy link

edogaldo commented Jan 26, 2018

Did you use SYSTEM TERMINAL? Not VSCode!

yes, I did.

@edogaldo
Copy link

@ivankravets
Maybe it depends on the fact that there is a strict requirement for a win_64bit version of the "toolchain-gccarmnoneeabi" package and it does not esists?!

Tejas Belagod (belagod-tejas) said on 2018-01-25: #2

Hi,

We don't build a 64-bit Windows version of the toolchain yet. I suspect you would need to start with replacing i686-w64-mingw32-gcc with x86_64-w64-mingw32-gcc and then take it from there.

Thanks,
Tejas.

@edogaldo
Copy link

edogaldo commented Jan 26, 2018

Ok, solution 4 worked!
Could successfully manually install the toolchain using package "toolchain-gccarmnoneeabi-windows-1.40804.0.tar.gz" in https://bintray.com/platformio/dl-packages/toolchain-gccarmnoneeabi/1.40804.0#files
Anyway automatic download is not working at all..

Best, E.

@ivankravets
Copy link
Member

Ok, solution 4 worked!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants