User forums > General (but related to Code::Blocks)
Is there an instruction list to setup wxWidgets for compiling plugins?
MichaelAgarkov:
Hello, wonderful people behind Code::Blocks. I searched the wiki, but didn't find any information on how to compile wxWidgets to be able to make plugins for Code::Blocks. As I understand, it needs to be built as a monolithic unicode dll, but what version is supported? It also mentioned CodeBlocks.cbp, do I need to download the Code::Blocks source code to do it? Is there any ready precompiled setup available?
Thanks for help.
Miguel Gimenez:
You must compile the plugin with the same compiler used to compile C::B and link with the same wxWidgets used to compile C::B (shared/monolithic). This is because different compilers generate incompatible C++ DLL.
If you use the same compiler that created the release (or nightly, see compiler info in the last nightly post) you do not need to compile C::B and your plugin can be deployed in binary form.
MichaelAgarkov:
I see, thank you for help. I would also like to know if there is a ready and precompiled environment for compiling plugins for the latest stable release (20.03) available for download anywhere, since this seems to be what people would commonly want to do.
Pecan:
--- Quote from: MichaelAgarkov on September 12, 2023, 03:51:03 pm ---I see, thank you for help. I would also like to know if there is a ready and precompiled environment for compiling plugins for the latest stable release (20.03) available for download anywhere, since this seems to be what people would commonly want to do.
--- End quote ---
A new stable release will be out soon, so you might want to code for that.
See: https://forums.codeblocks.org/index.php/topic,25516.msg173682.html#msg173682 for the latest Nightly build.
There you can download a compiled CodeBlocks, wxWidgets and the compiler that builds both.
MichaelAgarkov:
Alright, thanks a lot for the help! I wish Code::Blocks will become more recognised one day, it's a really good IDE, even if it lacks some small things.
Navigation
[0] Message Index
[#] Next page
Go to full version