User forums > Help

MathPlot Plug-in will not install

<< < (2/2)

stahta01:

--- Quote from: mechmon on November 16, 2011, 07:38:47 am ---

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

--- End code ---

--- End quote ---


--- Code: ---C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28_core.a

--- End code ---

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

Tim S.

mechmon:
I will check on the computer I'm building on tomorrow.

I compiled the wx libraries, code::blocks all as per first post.

mechmon:

--- Quote from: stahta01 on November 19, 2011, 04:54:00 am ---


--- Code: ---C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib\libwxmsw28_core.a

--- End code ---

Tim S.

--- End quote ---

This was the error, it must have been left over from one of the tutorials. Thank you.

Navigation

[0] Message Index

[*] Previous page

Go to full version