Linking the plugin to a Nightly Build
This article describes how to link your plugin against the dll's shipped with codeblocks on windows.
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 codeblocks. This is a simple procedure that many people doesn't know at first, and that will help you accelerate your development in many ways. Enjoy :)
Here are the instructions divided in steps for the easy navigation of our eyes.
Download and install the latest nightly found on this forum http://forums.codeblocks.org/index.php/board,20.0.html Also you will need the Code::Blocks SDK so checkout the sources on berlios.de using svn.
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 with out 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. Good Luck!