From: Daniel W. <dwi...@gm...> - 2007-03-28 11:49:38
|
Hi Andreas, your project files worked fine for me, too. Thanks a lot, Daniel On 27/03/07, Andreas Zieringer <am...@vr...> wrote: > Hi Daniel, > > I checked in an updated project file works fine for me. > > Andreas > > > Hi Volker, > > > > thanks for your help! Unfortunately it didn't get me very far :-( > > > > with the definition of OSG_DISABLE_DEPRECATED commented out like this: > > > > //#define OSG_DISABLE_DEPRECATED 1 > > > > I get loads of linker errors: > > > > 2>Verkn=FCpfen... > > 2>OSGManipulator.obj : warning LNK4075: /EDITANDCONTINUE wird aufgrund > > der Angabe von /INCREMENTAL:NO ignoriert. > > 2> Bibliothek ".\..\lib\dbg/OSGSystemD.lib" und Objekt > > ".\..\lib\dbg/OSGSystemD.exp" werden erstellt. > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""private: static class osg::FieldContainerType > > osg::ShaderParameterMIntBase::_type" > > (?_type@ShaderParameterMIntBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""private: static class osg::FieldContainerType > > osg::ShaderParameterMIntBase::_type" > > (?_type@ShaderParameterMIntBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""private: static class osg::FieldContainerType > > osg::ShaderParameterMRealBase::_type" > > (?_type@ShaderParameterMRealBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""private: static class osg::FieldContainerType > > osg::ShaderParameterMRealBase::_type" > > (?_type@ShaderParameterMRealBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""private: static class osg::FieldContainerType > > osg::ShaderParameterMVec2fBase::_type" > > (?_type@ShaderParameterMVec2fBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""private: static class osg::FieldContainerType > > osg::ShaderParameterMVec2fBase::_type" > > (?_type@ShaderParameterMVec2fBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""private: static class osg::FieldContainerType > > osg::ShaderParameterMVec3fBase::_type" > > (?_type@ShaderParameterMVec3fBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""private: static class osg::FieldContainerType > > osg::ShaderParameterMVec3fBase::_type" > > (?_type@ShaderParameterMVec3fBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""private: static class osg::FieldContainerType > > osg::ShaderParameterMVec4fBase::_type" > > (?_type@ShaderParameterMVec4fBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGSHLChunk.obj : error LNK2019: Verweis auf nicht aufgel=F6stes > > externes Symbol ""private: static class osg::FieldContainerType > > osg::ShaderParameterMVec4fBase::_type" > > (?_type@ShaderParameterMVec4fBase@osg@@0VFieldContainerType@2@A)" in > > Funktion ""public: static class osg::FCPtr<class osg::FCPtr<class > > osg::AttachmentContainerPtr,class osg::ShaderParameter>,class > > osg::ShaderParameterBool> __cdecl > > osg::ShaderParameterBoolBase::create(void)" > > (?create@ShaderParameterBoolBase@osg@@SA?AV?$FCPtr@V?$FCPtr@VAttachment= ContainerPtr@osg@@VShaderParameter@2@@osg@@VShaderParameterBool@2@@2@XZ)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""private: static class osg::FieldContainerType > > osg::ShaderParameterMMatrixBase::_type" > > (?_type@ShaderParameterMMatrixBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""private: static class osg::FieldContainerType > > osg::ShaderParameterMMatrixBase::_type" > > (?_type@ShaderParameterMMatrixBase@osg@@0VFieldContainerType@2@A)". > > 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht > > aufgel=F6stes externes Symbol ""protected: __thiscall > > osg::ShaderParameterMInt::ShaderParameterMInt(void)" > > (??0ShaderParameterMInt@osg@@IAE@XZ)" in Funktion ""protected: static > > void __cdecl osg::FieldContainer::newPtr<class osg::FCPtr<class > > osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMInt> >(class > > osg::FCPtr<class osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMInt> &)" > > (??$newPtr@V?$FCPtr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParame= ter@2@@osg@@VShaderParameterMInt@2@@osg@@@FieldContainer@osg@@KAXAAV?$FCPtr= @V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParameter@2@@osg@@VShaderPara= meterMInt@2@@1@@Z)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""protected: __thiscall > > osg::ShaderParameterMInt::ShaderParameterMInt(void)" > > (??0ShaderParameterMInt@osg@@IAE@XZ)". > > 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht > > aufgel=F6stes externes Symbol ""protected: __thiscall > > osg::ShaderParameterMReal::ShaderParameterMReal(void)" > > (??0ShaderParameterMReal@osg@@IAE@XZ)" in Funktion ""protected: static > > void __cdecl osg::FieldContainer::newPtr<class osg::FCPtr<class > > osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMReal> >(class > > osg::FCPtr<class osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMReal> &)" > > (??$newPtr@V?$FCPtr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParame= ter@2@@osg@@VShaderParameterMReal@2@@osg@@@FieldContainer@osg@@KAXAAV?$FCPt= r@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParameter@2@@osg@@VShaderPar= ameterMReal@2@@1@@Z)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""protected: __thiscall > > osg::ShaderParameterMReal::ShaderParameterMReal(void)" > > (??0ShaderParameterMReal@osg@@IAE@XZ)". > > 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht > > aufgel=F6stes externes Symbol ""protected: __thiscall > > osg::ShaderParameterMVec2f::ShaderParameterMVec2f(void)" > > (??0ShaderParameterMVec2f@osg@@IAE@XZ)" in Funktion ""protected: > > static void __cdecl osg::FieldContainer::newPtr<class osg::FCPtr<class > > osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMVec2f> >(class > > osg::FCPtr<class osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMVec2f> &)" > > (??$newPtr@V?$FCPtr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParame= ter@2@@osg@@VShaderParameterMVec2f@2@@osg@@@FieldContainer@osg@@KAXAAV?$FCP= tr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParameter@2@@osg@@VShaderPa= rameterMVec2f@2@@1@@Z)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""protected: __thiscall > > osg::ShaderParameterMVec2f::ShaderParameterMVec2f(void)" > > (??0ShaderParameterMVec2f@osg@@IAE@XZ)". > > 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht > > aufgel=F6stes externes Symbol ""protected: __thiscall > > osg::ShaderParameterMVec3f::ShaderParameterMVec3f(void)" > > (??0ShaderParameterMVec3f@osg@@IAE@XZ)" in Funktion ""protected: > > static void __cdecl osg::FieldContainer::newPtr<class osg::FCPtr<class > > osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMVec3f> >(class > > osg::FCPtr<class osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMVec3f> &)" > > (??$newPtr@V?$FCPtr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParame= ter@2@@osg@@VShaderParameterMVec3f@2@@osg@@@FieldContainer@osg@@KAXAAV?$FCP= tr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParameter@2@@osg@@VShaderPa= rameterMVec3f@2@@1@@Z)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""protected: __thiscall > > osg::ShaderParameterMVec3f::ShaderParameterMVec3f(void)" > > (??0ShaderParameterMVec3f@osg@@IAE@XZ)". > > 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht > > aufgel=F6stes externes Symbol ""protected: __thiscall > > osg::ShaderParameterMVec4f::ShaderParameterMVec4f(void)" > > (??0ShaderParameterMVec4f@osg@@IAE@XZ)" in Funktion ""protected: > > static void __cdecl osg::FieldContainer::newPtr<class osg::FCPtr<class > > osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMVec4f> >(class > > osg::FCPtr<class osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMVec4f> &)" > > (??$newPtr@V?$FCPtr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParame= ter@2@@osg@@VShaderParameterMVec4f@2@@osg@@@FieldContainer@osg@@KAXAAV?$FCP= tr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParameter@2@@osg@@VShaderPa= rameterMVec4f@2@@1@@Z)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""protected: __thiscall > > osg::ShaderParameterMVec4f::ShaderParameterMVec4f(void)" > > (??0ShaderParameterMVec4f@osg@@IAE@XZ)". > > 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht > > aufgel=F6stes externes Symbol ""protected: __thiscall > > osg::ShaderParameterMMatrix::ShaderParameterMMatrix(void)" > > (??0ShaderParameterMMatrix@osg@@IAE@XZ)" in Funktion ""protected: > > static void __cdecl osg::FieldContainer::newPtr<class osg::FCPtr<class > > osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMMatrix> >(class > > osg::FCPtr<class osg::FCPtr<class osg::AttachmentContainerPtr,class > > osg::ShaderParameter>,class osg::ShaderParameterMMatrix> &)" > > (??$newPtr@V?$FCPtr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParame= ter@2@@osg@@VShaderParameterMMatrix@2@@osg@@@FieldContainer@osg@@KAXAAV?$FC= Ptr@V?$FCPtr@VAttachmentContainerPtr@osg@@VShaderParameter@2@@osg@@VShaderP= arameterMMatrix@2@@1@@Z)". > > 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgel=F6stes externes Symbol > > ""protected: __thiscall > > osg::ShaderParameterMMatrix::ShaderParameterMMatrix(void)" > > (??0ShaderParameterMMatrix@osg@@IAE@XZ)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""public: static unsigned __int64 const > > osg::ShaderParameterMIntBase::ValueFieldMask" > > (?ValueFieldMask@ShaderParameterMIntBase@osg@@2_KB)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""public: static unsigned __int64 const > > osg::ShaderParameterMRealBase::ValueFieldMask" > > (?ValueFieldMask@ShaderParameterMRealBase@osg@@2_KB)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""public: static unsigned __int64 const > > osg::ShaderParameterMVec2fBase::ValueFieldMask" > > (?ValueFieldMask@ShaderParameterMVec2fBase@osg@@2_KB)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""public: static unsigned __int64 const > > osg::ShaderParameterMVec3fBase::ValueFieldMask" > > (?ValueFieldMask@ShaderParameterMVec3fBase@osg@@2_KB)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""public: static unsigned __int64 const > > osg::ShaderParameterMVec4fBase::ValueFieldMask" > > (?ValueFieldMask@ShaderParameterMVec4fBase@osg@@2_KB)". > > 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgel=F6stes > > externes Symbol ""public: static unsigned __int64 const > > osg::ShaderParameterMMatrixBase::ValueFieldMask" > > (?ValueFieldMask@ShaderParameterMMatrixBase@osg@@2_KB)". > > 2>..\lib\dbg\OSGSystemD.dll : fatal error LNK1120: 18 nicht aufgel=F6st= e > > externe Verweise. > > 2>Das Buildprotokoll wurde unter > > "file://c:\trunk\OpenSG\VSBuild\VS8\SystemLib\Debug\BuildLog.htm" > > gespeichert. > > 2>SystemLib - 31 Fehler, 34 Warnung(en) > > > > > > I also tried this: #define OSG_DISABLE_DEPRECATED 0 > > > > but that results in the same errors I had before: > > > > OSGSurface.cpp > > 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cp= p(2256) > > : error C2039: 'getValue': Ist kein Element von > > 'osg::MField<FieldTypeT>' > > 2> with > > 2> [ > > 2> FieldTypeT=3Dosg::Pnt4f > > 2> ] > > 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cp= p(2258) > > : error C2039: 'getValue': Ist kein Element von > > 'osg::MField<FieldTypeT>' > > 2> with > > 2> [ > > 2> FieldTypeT=3Dosg::Pnt4f > > 2> ] > > 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cp= p(2258) > > : error C2039: 'getValue': Ist kein Element von > > 'osg::MField<FieldTypeT>' > > 2> with > > 2> [ > > 2> FieldTypeT=3Dosg::Pnt4f > > 2> ] > > 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cp= p(2259) > > : error C2039: 'getValue': Ist kein Element von > > 'osg::MField<FieldTypeT>' > > 2> with > > 2> [ > > 2> FieldTypeT=3Dosg::Pnt4f > > 2> ] > > 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cp= p(2259) > > : error C2039: 'getValue': Ist kein Element von > > 'osg::MField<FieldTypeT>' > > 2> with > > 2> [ > > 2> FieldTypeT=3Dosg::Pnt4f > > 2> ] > > 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cp= p(2260) > > : error C2039: 'getValue': Ist kein Element von > > 'osg::MField<FieldTypeT>' > > 2> with > > 2> [ > > 2> FieldTypeT=3Dosg::Pnt4f > > 2> ] > > 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cp= p(2260) > > : error C2039: 'getValue': Ist kein Element von > > 'osg::MField<FieldTypeT>' > > 2> with > > 2> [ > > 2> FieldTypeT=3Dosg::Pnt4f > > 2> ] > > > > > > Does anyone have an idea what to do? > > > > Cheers, > > Daniel > > > > > > > > > > > > > > > > > > > > On 22/03/07, Volker Settgast <v.s...@cg...> wrote: > > > >>Daniel Wickeroth wrote: > >> > >>>Everything seemed to be fine in the beginning. The BaseLib was > >>>compiled without any errors or warnings. But during the compilation of > >>>the systemLib I get the following error: > >>> > >>>OSGSurface.cpp > >>>2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.c= pp(2256) > >>>: error C2039: 'getValue': Ist kein Element von > >>>'osg::MField<FieldTypeT>' > >>>2> with > >>>2> [ > >>>2> FieldTypeT=3Dosg::Pnt4f > >>>2> ] > >>>.....2> ] > >>> > >>>Does anybody know what's wrong? > >>>What really gets me, is that the same sources compile just fine using > >>>cygwin with the VS8 compiler. > >>> > >>> > >> > >>Hi, > >> > >>that is a problem connected to OSG_DISABLE_DEPRECATED. In OSGMFiled.h I > >>found > >> > >>#ifndef OSG_DISABLE_DEPRECATED > >> reference getValue (const UInt32 index); > >> const_reference getValue (const UInt32 index) const; > >>#endif > >> > >>and for the VS8 project files OSG_DISABLE_DEPRECATED is defined. A fast > >>hack fix would be to find that define in OSFConfigured.h (located in > >>OpenSG/VSBuilds/VS8. > >> > >>The other solution would be to fix the NURBS core .... > >> > >>cheers > >>-Volker- > >> > >> > >>-- > >> > >>------------------------------------------------------- > >>Volker Settgast > >>Computer Graphics tel: +43 316 873-5406 > >>TU Graz fax: +43 316 873-5402 > >>Inffeldgasse 16c eMail: v.s...@cg... > >>A-8010 Graz > >> > >> > >>-----------------------------------------------------------------------= -- > >>Take Surveys. Earn Cash. Influence the Future of IT > >>Join SourceForge.net's Techsay panel and you'll get the chance to share= your > >>opinions on IT & business topics through brief surveys-and earn cash > >>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV > >>_______________________________________________ > >>Opensg-users mailing list > >>Ope...@li... > >>https://lists.sourceforge.net/lists/listinfo/opensg-users > >> > > > > > > > > > -- > VREC > Robert-Bosch-Stra=DFe 7 > D-64293 Darmstadt > Tel. 06151-4921035 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Opensg-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensg-users > --=20 Daniel Wickeroth Moltkestra=DFe 88 50674 K=F6ln Home 0221 3569325 Work 0221 478 86504 Mobil 0176 700 40 252 |