Eclipse CDT: 'can't find a source file' while debugging

13,980

Perhaps move your code to a workspace that sits at root, as in /workspace/projectName/src/1.cpp

If you can't find out exactly why and solve it, the next best thing is to circumvent...

Share:
13,980
Igor Shalyminov
Author by

Igor Shalyminov

Updated on July 20, 2022

Comments

  • Igor Shalyminov
    Igor Shalyminov almost 2 years

    I'm using Eclipse with CDT for C++ development. However, I'm forced to use ASCII-symbols in paths to my source files to succesfully debug my programs. When source files are located in folders with non-English characters in their names, Eclipse gives an error:

    Can't find a source file at "/home/\321\202\320\265\321\201\321\202/1.cpp" Locate the file or edit the source lookup path to include its location.

    Is there any option that enables Eclipse to do proper Unicode processing?

  • Igor Shalyminov
    Igor Shalyminov over 9 years
    Thank you! I don't use Eclipse CDT anymore, so I hope someone will have a chance to check this solution and comment on it here)
  • Akaisteph7
    Akaisteph7 almost 5 years
    You should explain what the link you pointed to is describing, not just add the link.