2025-04-10 3:28 PM
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?
Solved! Go to Solution.
2025-04-10 5:41 PM
Change it in the Debug or Run Configuration tab.
2025-04-10 4:21 PM - edited 2025-04-10 4:22 PM
>>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.
2025-04-10 5:41 PM
Change it in the Debug or Run Configuration tab.
2025-04-10 6:14 PM - edited 2025-04-10 6:15 PM
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.
2025-04-11 2:39 AM
Thanks, that worked, the error is gone.