Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: bruce on February 26, 2012, 08:40:55 am

Title: I can compile my plugin successfully, but I can't make it run! Help required.
Post by: bruce on February 26, 2012, 08:40:55 am
I have compiled the codeblocks source code and wxWidgets library, and already set the cb and wx globlal variable. I think many configurations have been made right.And  the plugin can be compile successfully, but it can't run , the error message from the error window that I copied is as below.

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

Everyone,I come across a big obstacle and I have used CB recently. I need your help!
Title: Re: I can compile my plugin successfully, but I can't make it run! Help required.
Post by: Jenna on February 26, 2012, 09:41:39 am
You get this message, if you did not run the update-script (either ./update or update.bat depending on your platform).
Title: Re: I can compile my plugin successfully, but I can't make it run! Help required.
Post by: bruce on February 26, 2012, 09:57:16 am
Thanks very much for your suggestion! I have solved my problem according to your advice!
Title: Re: I can compile my plugin successfully, but I can't make it run! Help required.
Post by: bruce on February 26, 2012, 10:05:32 am
You get this message, if you did not run the update-script (either ./update or update.bat depending on your platform).
Thanks very much for your suggestion, I have solved my problem according to your advice! Many thanks.