News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Plugin development with nightly build

Started by fiammy, August 22, 2007, 11:35:01 AM

Previous topic - Next topic

fiammy

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?

dmoore

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
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]