If you use actual trunk as sources, start the newly created from a console with the "-v" parameter and you will get more debugging output (not all will be related to your issue).
If you have older sources, change the argument for the wxDebugLog (or something similar, don't remember exactly) at the beginning of OnInit() in src/app.cpp to true (same effect, but the older revisions did not have the commandline parameter).
Start the *.dll from the console? - 'wxMathPlot' is not recognized as an internal or external command, operable program or batch file.
In OnInit() in src/app.cpp the only "wxDebug" I can find is in "void CodeBlocksApp::OnFatalException()"
My build log is:
-------------- Build: default in wxMathPlotPlugin ---------------
mingw32-g++.exe -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -Wall
-IC:\codeblocks-10.05-release\src\include
-IC:\codeblocks-10.05-release\src\sdk\wxscintilla\include
-IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\lib\gcc_dll\mswu
-IC:\codeblocks-10.05-release\src\plugins\contrib\wxSmith
-I"myfilepath\mysql-connector-c-noinstall-6.0.2-win32-vs2005\mysql-connector-c-noinstall-6.0.2-win32-vs2005\include"
-c "myfilepath\MathPLotPLugIn\wxMathPlot\mathplot.cpp" -o .objs\wxMathPlot\mathplot.o
mingw32-g++.exe -shared -Wl,--dll
-LC:\codeblocks-10.05-release\src\devel
-LC:\wxWidgets-2.8.12\lib\gcc_dll
-L"myfilepath\mysql-connector-c-noinstall-6.0.2-win32-vs2005\mysql-connector-c-noinstall-6.0.2-win32-vs2005\lib" .objs\wxMathPlot\mathplot.o -o wxMathPlot.dll -mthreads -lwxsmithlib -lcodeblocks -lwxmsw28u C:\WINDOWS\system32\sqlsrv32.dll "C:\Program Files\CodeBlocks\MinGW\lib\libodbc32.a" C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28_core.a
Output size is 759.73 KB
Running target post-build steps
zip -j9 wxMathPlot.zip manifest.xml
updating: manifest.xml (164 bytes security) (deflated 53%)
zip -j9 wxMathPlot.cbplugin wxMathPlot.dll wxMathPlot.zip
updating: wxMathPlot.dll
(164 bytes security) (deflated 70%)
updating: wxMathPlot.zip (164 bytes security) (deflated 7%)
Process terminated with status 0 (0 minutes, 6 seconds)
0 errors, 0 warnings
Thanks
-------------- Build: default in wxMathPlotPlugin ---------------
-L"myfilepath\mysql-connector-c-noinstall-6.0.2-win32-vs2005\mysql-connector-c-noinstall-6.0.2-win32-vs2005\lib" .objs\wxMathPlot\mathplot.o -o wxMathPlot.dll -mthreads -lwxsmithlib -lcodeblocks -lwxmsw28u C:\WINDOWS\system32\sqlsrv32.dll "C:\Program Files\CodeBlocks\MinGW\lib\libodbc32.a" C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28_core.a
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28_core.a
The above link library implies to me that you are using the WRONG wxWidgets Library to build the plugin.
The "gcc_lib" part means static; it has to be dynamic "gcc_dll"
The "msw28_core" part means multilib; unless you self build Code::Blocks it should likely be Monolithic buld instead.
WARNING: The plugin should be linked to the exact same wxWidgets Library version and build options as used in the building of Code::Blocks.
I follow these directions when doing it, myself.
http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build (http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build)
Tim S.