This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error while deleting .d file

Hi all,

I have a problem in my code compilation, my stuffs are STM32F107RB, Keil, CubeMX.

Cube allows me to get files usable with Keil V5.

When I tried to compile, these errors appear:

compiling stm32f1xx_hal_uart.c...
"no source": Error: #219: error while deleting file "carteconnectée\stm32f1xx_hal_uart.d: No such file or directory
../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c: 0 warnings, 1 error

This for each file.

I checked the paths, all are good. I tried with no antivirus or any firewall, I got the same problem.

Somebody have an idea?

Thanks by advance, Etienne.

Parents
  • You can't just rename files on disk to solve the issue - the project file contains the original name. So you need to rename the target directory in the project settings - or diretly in the project XML file.

    Most companies have policies that all source code should be written in english, while only having international text/graphics for end-user interfaces. Besides reducing issues with tools, it also makes it easier to share the code with international teams of developers.

Reply
  • You can't just rename files on disk to solve the issue - the project file contains the original name. So you need to rename the target directory in the project settings - or diretly in the project XML file.

    Most companies have policies that all source code should be written in english, while only having international text/graphics for end-user interfaces. Besides reducing issues with tools, it also makes it easier to share the code with international teams of developers.

Children