Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Failed to compile in Windows 10 #1

Closed
stephenong opened this issue Jun 25, 2019 · 3 comments
Closed

Failed to compile in Windows 10 #1

stephenong opened this issue Jun 25, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@stephenong
Copy link

Describe the bug
Error in compiling

To Reproduce
The Blink sample app

Desktop (please complete the following information):

  • OS: Windows 10
  • Arduino IDE version: 1.8.9
  • STM32 core version: 1.6.0

Board (please complete the following information):

  • Name: BluePill

Additional context
There is a white space in my windows windows path

Error message:

c:/users/stephen ong/appdata/local/arduino15/packages/stm32/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find ong/appdata/local/arduino15/packages/stm32/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/../lib/gcc/arm-none-eabi/8.2.1/lto-wrapper.exe: No such file or directory
@fpistm
Copy link
Member

fpistm commented Jun 25, 2019

Hi @stephenong
I've reproduced.
This relies on arm none abi gcc toolchain:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89249

I've already applied a patch in the released version, unfortunately it seems it is not enough.

The only way is to install in a path without space, to do this you can use the portable feature of Arduino IDE:
https://www.arduino.cc/en/Guide/PortableIDE

Sorry for this.

@fpistm fpistm transferred this issue from stm32duino/Arduino_Core_STM32 Jun 25, 2019
@fpistm fpistm added the bug Something isn't working label Jun 25, 2019
@stephenong
Copy link
Author

The workaround of installing portable Arduino IDE works. Thanks!

@fpistm
Copy link
Member

fpistm commented Jun 27, 2019

This is now fix with new release 8.2.1-1.7:
https://github.com/stm32duino/arm-none-eabi-gcc/releases/tag/8.2.1-1.7

Available thanks 1.6.1 Core release:
https://github.com/stm32duino/Arduino_Core_STM32/releases/tag/1.6.1

@fpistm fpistm closed this as completed Jun 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants