Author Topic: PluginWizard and latest SDK  (Read 7187 times)

zmodem

  • Guest
PluginWizard and latest SDK
« 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!

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: PluginWizard and latest SDK
« Reply #1 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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: PluginWizard and latest SDK
« Reply #2 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 ;)
Be patient!
This bug will be fixed soon...

zmodem

  • Guest
Re: PluginWizard and latest SDK
« Reply #3 on: February 19, 2006, 11:02:12 pm »
That was quick guys... thanks!

--cheers