cancel
Showing results for 
Search instead for 
Did you mean: 

Error while compiling. Started to master STM32CUBE IDE Can't move on.

YHori.2
Associate II

c:\st\stm32cubeide_1.11.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.100.202210260954\tools\arm-none-eabi\bin\ld.exe: cannot open linker script file C:\?????????????? ?? ?????????? ????????????\LED\STM32F401CCUX_FLASH.ld: No such file or directory

make: *** [makefile:64: LED.elf] Error 1

These errors constantly appear during compilation. Tried to compile different, new projects, provided. that elementary 2.5 lines of code entered. Nothing changes. What to do? How to work further?

1 REPLY 1
KnarfB
Principal III

Avoid non-trivial ASCII characters in your project path. No umlauts, no spaces, non-ASCII, and keep the path short like C:\myproject1.

It's annoying having such limitations in times where some dream of autonomous driving, flying to Mars etc.. The mixture of Windows, gnu tools, Java (Eclipse IDE) is still a mess and you still need a biface for mastering it.

hth

KnarfB