Linking the plugin to a Nightly Build
Work in Progress!!!
This article describes how to assemble your plugin to work with officially released Code::Blocks distribution (either nightly or not) on Windows. It's accomplished by linking your plugin against the DLL's shipped with Code::Blocks.
Is useful to know how to compile Code::Blocks sources from scratch to link with our plugin, but when we want to share it with the community then we need to link it against the latest nightly build or final release of Code::Blocks. This is a simple procedure that many people don't know at first. Enjoy :)
Download and install Code::Blocks release to link your plugin with. You may choose either official release available from http://www.codeblocks.org/downloads/5 or latest nightly from this forum - http://forums.codeblocks.org/index.php/board,20.0.html You will also need the Code::Blocks SDK sources to build your plugin, so checkout them from SVN if you haven't done this already.
Get the wxWidgets sources at http://wxwidgets.org and configure the setup.h to be compatible with the actual wxmsw28u_gcc_cb_wxXXX.dll compilation.
After having your plugin up and running you will need to edit the compiler options and add the directory where your nightly is residing to the linker. Then add the needed libraries to the linker to compile the plugin that usually are wxmsw28u_gcc_cb.dll and libcodeblocks.dll. You don't need to write the .dll extension or the lib word so they will look like this on the linker Options:
You should now be able to compile the plugin and load it to the current nightly without the symbols error. A problem that many developers confront after compiling the plugin with a compilation that differs from the official one.
This was a quick howto so is maybe missing info, I will update it later as add some images. Good Luck!