Skip to main content
YHori.2
Associate
March 5, 2023
Question

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

  • March 5, 2023
  • 1 reply
  • 750 views

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?

This topic has been closed for replies.

1 reply

KnarfB
Super User
March 5, 2023

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