Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: zmodem on February 19, 2006, 10:45:05 pm

Title: PluginWizard and latest SDK
Post by: zmodem on February 19, 2006, 10:45:05 pm
1) Grabbed latest SVN of C::B and compiled the whole thing.
2) Ran C::B and used the pluginwizard to create a new project.
3) Added simple menu item and compiled
4) It can't find cbplugin.h

So where should the CB global variable point to?  Or do I need to move the files around to make it look like the RC2 SDK directory structure?  Or is there a precompiled SVN SDK somewhere that I haven't found yet?  Or will the RC2 SDK work fine for latest SVN compiled plugin?

This should be easy, I must be dumb :)

Thanks!
Title: Re: PluginWizard and latest SDK
Post by: thomas on February 19, 2006, 10:52:50 pm
It should point to the top folder of your svn copy (the same place where CodeBlocks.cbp and tips.txt are located).

Alternatively, you can copy all headers from the folder sdk to your system include folder, but that is not recommended. You can not use the RC2 SDK.
Title: Re: PluginWizard and latest SDK
Post by: mandrav on February 19, 2006, 10:53:17 pm
The plugin's wizard generated files are not in-sync with current HEAD. I plan to update it soon though, so be patient ;)
Title: Re: PluginWizard and latest SDK
Post by: zmodem on February 19, 2006, 11:02:12 pm
That was quick guys... thanks!

--cheers