FYI: The design of Code::Blocks requires wxWidgets to be Shared. The Code::Blocks plugins need to use the same Shared wxWidgets. So, you would have to do the plugins in a static method also to do wxWidgets static
Can you explain what exactly requires wxWidgets to be a shared library?
It just so happens that we use it as shared library because it's the easiest thing to manage, and results in much less total executable size. Also, wxWidgets can be a real pain to use as shared library.
However, I don't see why it should be impossible by design to build with static libs if someone absolutely wants to do that (for whatever reason).
I was assuming that the Plugins and the SDK needs to link to the same wxWidgets for the plugins to work right. Are you saying that this is not required?
They could use multiple static wxWidgets and things would work right?
Tim S
PS: I am going to try it under windows, but it won't mean much for Linux if it fails under windows because Linux has slightly better linking and other OS support.
I gave up wxScintilla, as DLL build, has linking issues against static wxWidgets.