[GEM-dev] [ pd-gem-Bugs-3453593 ] plugins don't work with MinGW builds

SourceForge.net noreply at sourceforge.net
Thu Jan 12 19:11:37 CET 2012


Bugs item #3453593, was opened at 2011-12-07 06:14
Message generated for change (Settings changed) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3453593&group_id=64325

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: build-system
Group: win32
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Nobody/Anonymous (nobody)
Summary: plugins don't work with MinGW builds

Initial Comment:
when building Gem with MinGW, the resulting Gem.dll cannot use any of the resulting plugins (e.g. gem_imageSGI.dll)
uncommenting the debugging printout in PluginFactoryTIMPL.h reveals, that Gem and the plugin see _different_ pluginfactories! (at least their addresses differ)

system:
- Gem-0.93git59cc4030375e20
- Windows7
- MinGW/MSYS
- g++-4.6.1

----------------------------------------------------------------------

Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2011-12-14 07:53

Message:
ah, it seems that MinGW needs the same things when it comes to cross-dll
template instantiation: we haveto omit the PluginFactory<> implementation
in the plugins and (only) provide it in the host.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3453593&group_id=64325



More information about the GEM-dev mailing list