Hello Thiago,
Thiago Bastos wrote:
> We started to get the following error when we upgraded from 1724 to 1748:
>
> Linking CXX shared library ..\..\..\..\..\bin\OSGEffectGroups.dll
> OSGShadowStageData.cpp.obj : error LNK2005: "public: static unsigned
> int const OSG::ShadowStageData::ShadowMapElem::DepthShadowMap"
> (?depthshadow...@shadowmapelem@shadowstaged...@osg@@2IB) already
> defined in OSGDitherShadowMapHandler.cpp.obj
>
> OSGShadowStageData.cpp.obj : error LNK2005: "public: static unsigned
> int const OSG::ShadowStageData::ShadowMapElem::ColorShadowMap"
> (?colorshadow...@shadowmapelem@shadowstaged...@osg@@2IB) already
> defined in OSGDitherShadowMapHandler.cpp.obj
>
> Creating library ..\..\..\..\..\bin\OSGEffectGroups.lib and object
> ..\..\..\..\..\bin\OSGEffectGroups.exp
>
> ..\..\..\..\..\bin\OSGEffectGroups.dll : fatal error LNK1169: one or
> more multiply defined symbols found
can you please try r1749, Patrick backed out a change introduced in 1737
relating to these static members and I believe (though I haven't tried
it) that it should fix the link issue you are seeing.
Cheers,
Carsten
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core