Hello Carsten, the patch did not help. :-(
Thanks, Michael -------- Original-Nachricht -------- > Datum: Wed, 08 Aug 2012 14:57:10 -0500 > Von: Carsten Neumann <[email protected]> > An: [email protected] > Betreff: Re: [Opensg-users] OpenSG1.8 - Building with vs2010 > Hello Michael, > > On 08/07/2012 03:56 AM, Michael Raab wrote: > > their seems to be an interference between > > > > - OSGQBit.h (line 32) > > template <> > > struct FieldDataTraits1<QBit> : > > public FieldTraitsIntegralRecurseMapper<QBit> > > > > and > > > > - OSGSysFieldDataType.h (line 235) > > template <> > > struct OSG_BASE_DLLMAPPING FieldDataTraits<UInt8> : > > public FieldTraitsIntegralRecurseMapper<UInt8> > > > > The problem only occurs when trying to link the debug version of > OpenSG1.8. The release version links fine. > > I have no clue, but I guess vs2010 has some default linker settings > (that are different to the default settings in vs2005) when applying the > /DEBUG > flag... > > > > I fixed the link problem by introducing I new struct called > FieldTraitsIntegralRecurseMapper1, but I have no idea if this solution is > correct and > smart. Patch is attached. > > hmm, the FieldDataTraits1<QBit> in OSGQBit.h is missing a > OSG_SYSTEMLIB_DLLMAPPING annotation. I'm wondering if that somehow > causes the compiler to create a separate instantiation of > FieldTraitsIntegralRecurseMapper<UInt8> instead of pulling in the one > from OSGBase.dll [1]? > Would you mind giving the attached a try and see if it fixes the problem? > > Cheers, > Carsten > > [1] I *think* that is the underlying problem: there is a second > instantiation of FieldTraitsIntegralRecurseMapper<UInt8> created that > conflicts with the one from OSGBase.dll - if that's the case, the > (puzzling to me) question is of course why that happens ;) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
