User forums > Help
Custom plugin not using wx31
BlueHazzard:
Can you make a rebuild and post the log:
Build->Rebuild
This only shows, that compilation was successful and everything should work...
What error do you get? Simply "does not work" is not really a error description...
stahta01:
A common mistake is using a different compiler version in building a plugin than was used in the building of the Code::Blocks.
Another one is linking to a different wxWidgets version than was used to build the Code::Blocks.
Tim S.
AndrewCot:
The project file included in the zip from reply #2 above has a bunch of issues and inconsistencies. Cannot get it working as there are missing files and it's been hacked without a deep understanding of how C::B projects work.
First lets go back to square 1:
* What OS are you using?
* What version of C::B are you using?
* Where did you download C::B from?
* If you are using Windows then what compiler are you using?
* Finally why did you pick source code that is from 2006 for your first plugin!!!! This is asking to get hurt IMHO.
* Have you looked at the https://wiki.codeblocks.org/index.php/Managing_Plug-in_Resources page? Just checking on this one.
* Have you built C::B from source? Just checking.
* Have you build wxWidgets from source? Just checking.
* Now for a hopefully stupid question. When you start C::B are there any error shown? Just checking.
* How did you compile the source when the MyChart.cpp includes MyChart.h, but MyChart.h is not in the zip file!!!! There is also no manifest.xml file!!!!!
* Have you looked at the following page for dev links and info as a starting point?
* I would suggest you start with a simple plugin. See https://wiki.codeblocks.org/index.php/Creating_a_simple_%22Hello_World%22_plugin for how it was done a while ago.When starting out I would advise starting simple and build from there. I would start as follows:
* Ensure you can build C::B from the SF SVN trunk on the OS of your choice. Linux and Windows are easier than Mac OS.
* Ensure you can debug the C::B you built using C::B
* Modify an exiting plugin and check the change worked.
* Create a simple hello world plugin and get it working.
* Now start with the plugin you want to do, but be aware that using 14 year old code is not a good starting point.
Aronimo:
People let's forget about this, i've been trying to setup a plugin to help me develop more easily, but after one entire week I will just move out of Code::Blocks and build GUI apps on code with no GUI builder (by that i mean im going visual studio). But anyway much thanks for trying to help me but i cant keep with this, literally one entire week to get nothing out of this...
Navigation
[0] Message Index
[*] Previous page
Go to full version