Hello,
I had exactly the same problem earlier. For me it occured only when building from SVN repository.
The problem comes from TinyXML library: when saving the wxs file (XML format), the plugin wxSmith calls TinyXMLDoc->Accept (or something like that). TinyXML is statically linked to wxSmithLib and to the codeblocks dll. It seems that the function to call can be either called in wxSmithlib, or in codeblocks.dll - and mixing the two results in crash.
The solution:
1 - download SVN snapshot from codeblocks + plugins
2 - compile codeblocks using these directions:
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows 3- before doing the step called "Compile contributed (or your own) plugins", do the following:
a - open the Contrib plugin workspace "ContribPlugins.workspace" (in dir "src")
b - activate "wxSmith" project (double-click on it in the tree)
c - go in menu "project" -> "build options", click on tab "linkers settings"
d - remove the line "txml" from the left pane. Make sure it does not appear in other sub-projects as well (wxPropertyGrid, wxSmithLib
, wxSmith) - see the screenshot (after removing the culprit line)
e - save the project (file - save project)
f - select menu "build - build workspace" and follow the instructions from the wiki
It worked like a charm for me (although it was not easy to find).
Maybe the Devs (which have done a great work by the way) will update the project options in SVN.
Good luck !
Sebastien
[attachment deleted by admin]