cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect path .elf file

freddy
Associate II

Recently I changed from Windows to Linux. Now I'm working on a older project and when debugging I got the message "program file does not exist" wit the details:
.../Projects/VxxT/VxxT_firmware/Debug\VxxT.elf not found
I've found that the problem is the backslash in the path and that this is an artifact of changing operating systems.
My question is how to correct this so the IDE looks for the right file?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Change it in the Debug or Run Configuration tab.

TDK_0-1744332060094.png

 

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

4 REPLIES 4

>>My question is how to correct this so the IDE looks for the right file?

The software engineer in me says write a small app or script..

Check other project files which are working, against those that fail, compare and contrast.

Do I think that ST should sanity check this, and fix it, yes sure, but it would annoy me to edit a project file more than once to fix it.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

Change it in the Debug or Run Configuration tab.

TDK_0-1744332060094.png

 

If you feel a post has answered your question, please click "Accept as Solution".
Pavel A.
Evangelist III

Please review the project settings for the build artifact(s) and ensure that all slashes are / not  \, this will work even on Windows. Eclipse on Windows will take care to substitute these slashes, but it cannot always guess for the opposite direction. If you are brave, open .cproject and .launch files in a text editor and replace all backslashes there.

 

freddy
Associate II

Thanks, that worked, the error is gone.