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 Reply Children
  • Hello,

    That's what I supposed first, but after rename all the files/params in Keil and Cube, in the errors it still trying to remove the file with "é"..

    After too much time wasted on this project, I decided to remake it from scratch.
    And the error disappear.. I did nothing different !

    Thank you, I will not know what's went wrong. :-)

  • 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.

  • I understand..
    Only my file titles were in french. I modified in project settings too, but forget to see in xml files.

    Thank you for your adivse.