Assertion from wxDynamicLibrary call...
Brian Gaynor
briang at roadrunner.com
Wed Nov 7 17:02:28 PST 2007
On Wed, 2007-11-07 at 15:23 -0800, Carl Godkin wrote:
>
> Yes, the main program uses wxWidgets (and the same exact version as
> the plugin).
>
> However, for distribution reasons, we now build wxWidgets statically.
> Are you
> thinking that if we built wxWidgets as a shared library and used the
> same
> shared library in the main app as in the plugin, then I wouldn't have
> the
> problem?
>
> If so, that makes sense. I think I'll just avoid --no-undefined for
> plugins that
> use wxWidgets instead since our lives got a lot simpler once we
> started
> linking statically.
>
> Thanks for replying,
>
> carl
>
I ran into this problem with plugins and ended up switching from a
static library to a sared library to fix it. To keep the distribution
simple I build the shared wxWidgets library using the command line tool
as a single (MONOLITHIC) library with a custom name.
- Brian
More information about the wx-users
mailing list