Author Topic: Plugin development with nightly build  (Read 4746 times)

Offline fiammy

  • Multiple posting newcomer
  • *
  • Posts: 46
    • Nebulagame
Plugin development with nightly build
« on: August 22, 2007, 11:35:01 am »
Hello,

I am planning the development of a plugin, and I'm using the nightly build from a few days ago. I tried the CBPluginSVN and I get te error that I don't have cbplugin.h
I guess I need some plugin SDK, but is the one that can be found on the website (the only one available If I'm not mistaken) still of any use?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Plugin development with nightly build
« Reply #1 on: August 22, 2007, 07:52:22 pm »
i assume you have been following http://wiki.codeblocks.org/index.php?title=Creating_a_simple_%22Hello_World%22_plugin

the only major difference from those instructions:

1. because there isn't a current release of the sdk, you will need to download the source from svn on the belios project page. the source itself contains the sdk (headers are located in trunk/src/include).

2. compile and build cb following the steps in the wiki at http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows (for windows)

3. make sure you set the cb global variable to \your\path\to\trunk\src. the plugin should then be able to find all the necessary includes and libs