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

Reply via email to