User forums > Help

MathPlot Plug-in will not install

(1/2) > >>

mechmon:
Hello All,
I cannot install the plugin MathPlot, when I go to plugin manager and add the plug in, the response is "one or more plugins were not successfully installed." I just don't know where to look for the issue.

WIN XP Pro
compiled wxWigets-2.8.12
rebuild Code::Blocks with above.
rebuild all contrib plugins from "Contrib.Workspace"
All from http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows
Everything so far compiles fine, and all tutorials from http://wiki.codeblocks.org/index.php?title=WxSmith_tutorials
compiles and runs just fine.
Followed the "Hello World" Plugin at http://wiki.codeblocks.org/index.php?title=Creating_a_simple_%22Hello_World%22_plugin
Plugin compiled and installed fine.
Follwed the tutorial adding new item to wxSmith at http://wiki.codeblocks.org/index.php?title=Creating_a_plugin_which_adds_new_item_into_wxSmith
using the sources from wxMathPLot at http://wxmathplot.sourceforge.net/
created a new plugin, code compiles fine i.e. no errors or warnings.
But when I go to install, I get the reported error.

I am assuming there is something in my setup which is preventing the plugin from installing. Where can I look?

Regards,
MechMon

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

mechmon:

--- Quote from: jens on November 16, 2011, 06:44:05 am ---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).

--- End quote ---

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:

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

--- End code ---

Thanks

Alpha:

--- Quote from: mechmon on November 16, 2011, 07:38:47 am ---
--- Quote from: jens on November 16, 2011, 06:44:05 am ---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).

--- End quote ---

Start the *.dll from the console? - 'wxMathPlot' is not recognized as an internal or external command, operable program or batch file.

--- End quote ---
That would be Code::Blocks (not the plugin) you should start from the console.

mechmon:
That makes sense.

When ran from console I get two CodeBlocks message box's stating unknown option 'v'. I get this from both the release and the debug version.

Navigation

[0] Message Index

[#] Next page

Go to full version