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

James Turner zakalawe at mac.com
Tue Aug 9 01:08:11 PDT 2016


> On 8 Aug 2016, at 09:57, Trajce Nikolov NICK <trajce.nikolov.nick at gmail.com> wrote:
> 
> this was discussed while ago for different versions of Visual Studio and there was a work around (which was not forcing to use force:multiple). Might be worth to look in the archive
> 

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.

Kind regards,
James




More information about the osg-users mailing list