Hi,
following the tutorial on
http://www.opensg.org/wiki/Tutorial/OpenSG2/NewContainerType i created a
new field container type that is supposed to compile to a library called
"DepthPeeling". However, using Visual Studio 2010 i am unable to compile
the library because of the following error: "error C2491:
'OSG::DepthPeelingStageBase::_type' : definition of dllimport static data
member not allowed". Looking at the code i see that the generated user cpp
file (DepthPeelingStage.cpp) contains the macro #define
OSG_COMPILEDEPTHPEELINGLIB, but not the base cpp file
(DepthPeelingStageBase.cpp). My question is: Why does fcd2code not include
that macro also in the base cpp?
Kind Regards,
Alexander Lang


------------------------------------------------------------------------------
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
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to