求助,使用 Clion调试rust代码,报错了

我是新手,参考网上帖子里说的方法分别安装了 Rust,MingW64,Clion开发工具,直接运行代码没问题,但是调试会报错,求帮助。

I think GDB might not like the C:\Rust?? directory. Maybe an ASCII directory name would work? For instance, putting it in C:/Rust/Demo/ without the other two characters.

Unfortunately, GNU tooling on Windows often fails on filenames containing non-ASCII characters, like chinese characters.

I used google translate on your post to understand. I hope it's OK if I reply in English. Let me know if this helps!

4 Likes

非常感谢!我先试一试。抱歉,我的英语水平很差,所以索性直接用中文写了

1 Like

非常感谢!按照你的方法,将中文路径改成全英文路径,果然成功了!现在可以正常调试程序了

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.