用Code::Blocks写插件正常编译,无法运行
大家好,我在做毕设,需要用Code::Blocks开发一个单元测试的插件,但是现在用CB开发一个简单的插件都出现了问题。
我已经编译好了CodeBlocks和wxWidgets库,并设好了全局变量。我写的一个插件特别简单,并且成功的编译过去了,可是执行的时候却出现了问题,很懊恼,我照着网上上的教程http://www.cppblog.com/lymons/archive/2010/04/17/112850.html一步步走的。却还是出错。
我把执行时出错的异常窗口的内容给摘下来了:
Cannot find resources...
Code::Blocks was configured to be installed in
'G:\codeblocks-10.05-src\codeblocks-10.05-release\src\devel/share
codeblocks'.
Please use the command-line switch '--prefix' or set the
CODEBLOCKS_DATA_DIR environment variable to point where
Code::Blocks is installed,
or try re-installing the application
这些就是执行时出现的异常情况。请教各位CB大神,怎样解决问题,让我的插件可以正常运行。