[osg-users] Potential fix for osgDB MSVC linkage issues (FORCE:MULTIPLE needed)

Robert Osfield robert.osfield at gmail.com
Tue Aug 9 02:21:10 PDT 2016


Hi James,

On 9 August 2016 at 09:08, James Turner <zakalawe at mac.com> wrote:
> I would prefer to fix the underlying issue in osgDB, rather than finding better work-arounds. My intuition, but as a non-Windows user it may be wrong, is that exporting the ctor / dtor for a class you don’t ‘own’ in a DLL is not recommended practice. Again, assuming my change does what I think it does in terms of preserving the behaviour and linkage against osgDB for the implementations of the osgDB wrapper classes.

I'd rather fix the issue directly rather than have a workaround as well.

I'm happy to merge the changes, could you raise a pull request based
on these changes?

Cheers,
Robert



More information about the osg-users mailing list