Bugs item #3453593, was opened at 2011-12-07 06:14 Message generated for change (Comment added) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3453593...
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: Pending 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...