Skip to content

Code not compiling if there is a space in the link #1829

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

Closed
codejunkes opened this issue Sep 14, 2022 · 1 comment
Closed

Code not compiling if there is a space in the link #1829

codejunkes opened this issue Sep 14, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@codejunkes
Copy link

codejunkes commented Sep 14, 2022

I am using STM32 MCU based boards by STMicroelectronics version 2.3.0.

the code failed to compile as the compiler cannot resolve a link with spaces in it.

Error in Arduino:
arm-none-eabi-g++: error: lab\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0=.: No such file or directory
exit status 1
Error compiling for board Generic STM32F4 series.

The link to the hardware files is "C:\Users\pqm lab\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0", but it is unable to take the space in the user name "pqm lab".

@fpistm
Copy link
Member

fpistm commented Sep 14, 2022

Hi, it is already know and fixed thanks #1759

Fix will be available in the 2.40 release.
Simply replace C:\Users\pqm lab\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0\system\extras\prebuild.sh by this file while 2.4.0 is not released:
https://github.com/stm32duino/Arduino_Core_STM32/blob/main/system/extras/prebuild.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants