Linking the plugin to a Nightly Build

From CodeBlocks
Revision as of 18:20, 10 September 2008 by Techtonik (Talk | contribs) (reworded introduction: TODO steps 2 and 3 with screens)

Jump to: navigation, search

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 :)


Step One

Download and install Code::Blocks release to link your plugin with. You may choose either official release available from or latest nightly from this forum -,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.

Step Two

Get the wxWidgets sources at and configure the setup.h to be compatible with the actual wxmsw28u_gcc_cb_wxXXX.dll compilation.

Step Three

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:

  • wxmsw28u_gcc_cb
  • codeblocks


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!