Author Topic: Is there an instruction list to setup wxWidgets for compiling plugins?  (Read 91 times)

Online MichaelAgarkov

  • Single posting newcomer
  • *
  • Posts: 5
  • Highly sensitive programmer and graphic designer.
    • My Creative Avenue
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.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1421
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.

Online MichaelAgarkov

  • Single posting newcomer
  • *
  • Posts: 5
  • Highly sensitive programmer and graphic designer.
    • My Creative Avenue
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.