300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > CodeBlocks报错原因分析:找不到编译器 / th_en_US.idx' not found! 提示

CodeBlocks报错原因分析:找不到编译器 / th_en_US.idx' not found! 提示

时间:2019-04-18 20:44:22

相关推荐

CodeBlocks报错原因分析:找不到编译器 / th_en_US.idx' not found! 提示

找不到编译器解决方法

新装了一个CodeBlocks,无法运行程序,报错如下:

Project/Target: "ACM1 - Debug":The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.Probably the toolchain path within the compiler options is not setup correctly?!Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/mingw32-gcc.exe', but failed!Run aborted...

查了原因,如下图:

看一看自己是不是下载错了。我下载的是不带编译器的版本,换另一个就好了

codeblocks17.12安装完,有 th_en_US.idx’ not found! 的提示

在CodeBlocks(以下简称CB)菜单栏中点击“Settings”,选择“Editor…”条目,之后在左侧下拉列表栏中选择倒数第2个“SpellChecker”,随后在右侧“Path settings”中可以看到字典(Dictionaries)、(分类)辞典(Thesauri)、位图(Bitmaps)的路径所在。

因为在上述路径中,仅字典和位图存在其中,而(分类)辞典缺失,所以在CB启动后,会有楼主所述出错提示。因此,只要指定(分类)辞典位置或把(分类)辞典复制到上述位置即可。

没有(分类)辞典?

看到“Path settings”下方的“How to configure SpellChecker?”链接了吗?

点击它,浏览器转到维基“SpellChecker plugin”页面,下拉到“Dictionaries”条目,再点击其中“download”链接,网页又跳转到维基“Apache Open Office”页面。

下拉,在该页面找到“Tools for dictionary developers”栏,找到“Thesaurus”条目,再点击其中“ MyThes”链接,下载“MyThes-1.zip”文件。

下载后解压得到“MyThes-1.0”文件夹,找到其中“th_en_US_new.dat”和“th_en_US_new.idx”两个文件,将其分别改名为“th_en_US.dat”和“th_en_US.idx”(亦即把两个文件名中的_new删除)。

最后将这两个改名后的文件剪切复制到“Path settings”路径中的文件夹即可。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。