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üpfen...
> 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östes
> externes Symbol ""private: static class osg::FieldContainerType
> osg::ShaderParameterMIntBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""private: static class osg::FieldContainerType
> osg::ShaderParameterMIntBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""private: static class osg::FieldContainerType
> osg::ShaderParameterMRealBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""private: static class osg::FieldContainerType
> osg::ShaderParameterMRealBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""private: static class osg::FieldContainerType
> osg::ShaderParameterMVec2fBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""private: static class osg::FieldContainerType
> osg::ShaderParameterMVec2fBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""private: static class osg::FieldContainerType
> osg::ShaderParameterMVec3fBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""private: static class osg::FieldContainerType
> osg::ShaderParameterMVec3fBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""private: static class osg::FieldContainerType
> osg::ShaderParameterMVec4fBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGSHLChunk.obj : error LNK2019: Verweis auf nicht aufgelöstes
> externes Symbol ""private: static class osg::FieldContainerType
> osg::ShaderParameterMVec4fBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@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)"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL 
> PROTECTED]@@osg@@[EMAIL PROTECTED]@@[EMAIL PROTECTED])".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""private: static class osg::FieldContainerType
> osg::ShaderParameterMMatrixBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""private: static class osg::FieldContainerType
> osg::ShaderParameterMMatrixBase::_type"
> ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)".
> 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht
> aufgelöstes externes Symbol ""protected: __thiscall
> osg::ShaderParameterMInt::ShaderParameterMInt(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])" 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> &)"
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@osg@@[EMAIL 
> PROTECTED]@@osg@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@@[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]@@1@@Z)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""protected: __thiscall
> osg::ShaderParameterMInt::ShaderParameterMInt(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])".
> 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht
> aufgelöstes externes Symbol ""protected: __thiscall
> osg::ShaderParameterMReal::ShaderParameterMReal(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])" 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> &)"
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@osg@@[EMAIL 
> PROTECTED]@@osg@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@@[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]@@1@@Z)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""protected: __thiscall
> osg::ShaderParameterMReal::ShaderParameterMReal(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])".
> 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht
> aufgelöstes externes Symbol ""protected: __thiscall
> osg::ShaderParameterMVec2f::ShaderParameterMVec2f(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])" 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> &)"
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@osg@@[EMAIL 
> PROTECTED]@@osg@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@@[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]@@1@@Z)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""protected: __thiscall
> osg::ShaderParameterMVec2f::ShaderParameterMVec2f(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])".
> 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht
> aufgelöstes externes Symbol ""protected: __thiscall
> osg::ShaderParameterMVec3f::ShaderParameterMVec3f(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])" 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> &)"
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@osg@@[EMAIL 
> PROTECTED]@@osg@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@@[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]@@1@@Z)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""protected: __thiscall
> osg::ShaderParameterMVec3f::ShaderParameterMVec3f(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])".
> 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht
> aufgelöstes externes Symbol ""protected: __thiscall
> osg::ShaderParameterMVec4f::ShaderParameterMVec4f(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])" 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> &)"
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@osg@@[EMAIL 
> PROTECTED]@@osg@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@@[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]@@1@@Z)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""protected: __thiscall
> osg::ShaderParameterMVec4f::ShaderParameterMVec4f(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])".
> 2>OSGShaderParameterChunk.obj : error LNK2019: Verweis auf nicht
> aufgelöstes externes Symbol ""protected: __thiscall
> osg::ShaderParameterMMatrix::ShaderParameterMMatrix(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])" 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> &)"
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@osg@@[EMAIL 
> PROTECTED]@@osg@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@@[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]@@1@@Z)".
> 2>OSGSHLChunk.obj : error LNK2001: Nicht aufgelöstes externes Symbol
> ""protected: __thiscall
> osg::ShaderParameterMMatrix::ShaderParameterMMatrix(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""public: static unsigned __int64 const
> osg::ShaderParameterMIntBase::ValueFieldMask"
> ([EMAIL PROTECTED]@osg@@2_KB)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""public: static unsigned __int64 const
> osg::ShaderParameterMRealBase::ValueFieldMask"
> ([EMAIL PROTECTED]@osg@@2_KB)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""public: static unsigned __int64 const
> osg::ShaderParameterMVec2fBase::ValueFieldMask"
> ([EMAIL PROTECTED]@osg@@2_KB)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""public: static unsigned __int64 const
> osg::ShaderParameterMVec3fBase::ValueFieldMask"
> ([EMAIL PROTECTED]@osg@@2_KB)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""public: static unsigned __int64 const
> osg::ShaderParameterMVec4fBase::ValueFieldMask"
> ([EMAIL PROTECTED]@osg@@2_KB)".
> 2>OSGShaderParameterChunk.obj : error LNK2001: Nicht aufgelöstes
> externes Symbol ""public: static unsigned __int64 const
> osg::ShaderParameterMMatrixBase::ValueFieldMask"
> ([EMAIL PROTECTED]@osg@@2_KB)".
> 2>..\lib\dbg\OSGSystemD.dll : fatal error LNK1120: 18 nicht aufgelöste
> 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.cpp(2256)
> : error C2039: 'getValue': Ist kein Element von
> 'osg::MField<FieldTypeT>'
> 2>        with
> 2>        [
> 2>            FieldTypeT=osg::Pnt4f
> 2>        ]
> 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cpp(2258)
> : error C2039: 'getValue': Ist kein Element von
> 'osg::MField<FieldTypeT>'
> 2>        with
> 2>        [
> 2>            FieldTypeT=osg::Pnt4f
> 2>        ]
> 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cpp(2258)
> : error C2039: 'getValue': Ist kein Element von
> 'osg::MField<FieldTypeT>'
> 2>        with
> 2>        [
> 2>            FieldTypeT=osg::Pnt4f
> 2>        ]
> 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cpp(2259)
> : error C2039: 'getValue': Ist kein Element von
> 'osg::MField<FieldTypeT>'
> 2>        with
> 2>        [
> 2>            FieldTypeT=osg::Pnt4f
> 2>        ]
> 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cpp(2259)
> : error C2039: 'getValue': Ist kein Element von
> 'osg::MField<FieldTypeT>'
> 2>        with
> 2>        [
> 2>            FieldTypeT=osg::Pnt4f
> 2>        ]
> 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cpp(2260)
> : error C2039: 'getValue': Ist kein Element von
> 'osg::MField<FieldTypeT>'
> 2>        with
> 2>        [
> 2>            FieldTypeT=osg::Pnt4f
> 2>        ]
> 2>c:\trunk\opensg\source\system\nodecores\drawables\nurbs\osgsurface.cpp(2260)
> : error C2039: 'getValue': Ist kein Element von
> 'osg::MField<FieldTypeT>'
> 2>        with
> 2>        [
> 2>            FieldTypeT=osg::Pnt4f
> 2>        ]
> 
> 
> Does anyone have an idea what to do?
> 
> Cheers,
> Daniel
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On 22/03/07, Volker Settgast <[EMAIL PROTECTED]> 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.cpp(2256)
>>>: error C2039: 'getValue': Ist kein Element von
>>>'osg::MField<FieldTypeT>'
>>>2>        with
>>>2>        [
>>>2>            FieldTypeT=osg::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:    [EMAIL PROTECTED]
>>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=join.php&p=sourceforge&CID=DEVDEV
>>_______________________________________________
>>Opensg-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/opensg-users
>>
> 
> 
> 


-- 
VREC
Robert-Bosch-Straße 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 your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to