Eclipse CDT: "Cannot find source file" during debugging

I am using Eclipse with CDT for C ++ development. However, I have to use ASCII characters in the path to my source files in order to successfully debug my programs. When the source files are in folders with non-English characters in their names, Eclipse reports an error:

Cannot find the source file in "/home/\321\202\320\265\321\201\321\202/1.cpp" Find the file or edit the source search path to include its location.

Is there any parameter that allows Eclipse to do proper Unicode processing?

+7
source share
3 answers

Perhaps move your code to a workspace that is in the root, as in the file / workspace / projectName / src / 1.cpp

If you cannot know exactly why and solve this problem, the next best thing is to work around ...

+3
source

Here is your answer: http://www.eclipse.org/forums/index.php/t/57027/

I had the same problem and this solution worked for me.

0
source

I know this is an old question. For me, this was some weird behavior in eclipse, so the beginning of an eclipse is like:

./eclipse -clean -clearPersistedState -refresh 

removed the problem for me

0
source

All Articles