Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

error when executing

(1/2) > >>

mrkcc:
It is that to compile the example plugin of works all right, but to do this, or install the plugin, it tells me this message that does not work.



http://img854.imageshack.us/i/errorcodeblocs.jpg/

But when compiling an example a bit more elaborate also tells me this message.

|10|warning: C:\cb_svn\trunk\src\include/sdk.h.gch: not used because `wxPG_USE_WXMODULE' not defined|
|10|warning: C:\cb_svn\trunk\src\include/sdk.h.gch: not used because `wxPG_USE_WXMODULE' not defined|
|10|warning: C:\cb_svn\trunk\src\include/sdk.h.gch: not used because `wxPG_USE_WXMODULE' not defined|
ld.exe||cannot find -lwxmsw28u_gcc_cb|

and I'm using
g++ (TDM-2 mingw32) 4.4.1

I hope your answers.

stahta01:

--- Code: ---warning: C:\cb_svn\trunk\src\include/sdk.h.gch: not used because `wxPG_USE_WXMODULE' not defined

--- End code ---

You can ignore this warning the errors and warning on CB startup you need to fix.

What version of the Code::Blocks SDK are you using?
What version of Code::Blocks are you trying to use the Plug-In with?
The above two version not being the same causes the message you linked to pop up.

The wx library link issue has multiple fixes depending on what you are trying to do.

Tim S.

mrkcc:
follow the steps of the wiki to compile everything and I went well.

I'm using the current version 10.5.

and I am compiling the example of Hello world of wiki page.

stahta01:
What is the version of the Code::Blocks SDK?

NOTE: The versions MUST MATCH or you get the error!!!

Read this; if you know programming it should help you to link to the wxWidgets DLL and might get ride of the CB SDK version issue.
http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build

NOTE: If you want to use the plugin with Code::Blocks version 10.05
The directions for "Step Two - Get Sources" are NOT the right directions.
http://svn.berlios.de/svnroot/repos/codeblocks/branches/release-10.05/

Do you understand what the Code::Blocks SDK is?

Tim S.

mrkcc:
   
If you use the daily version or Nightly_Build

Navigation

[0] Message Index

[#] Next page

Go to full version