Hi Chris,

Sorry about this, a thread safety fix to osgDB's new serializers
changed the way that the BEGIN_BRACKET,END_BRACKET had to be managed.
To fix the build problem to VPB svn/trunk I have added:

#if OSG_MIN_VERSION_REQUIRED(3,1,0)
    #define IS_BEGIN_BRACKET    is.BEGIN_BRACKET
    #define IS_END_BRACKET      is.END_BRACKET
    #define OS_BEGIN_BRACKET    os.BEGIN_BRACKET
    #define OS_END_BRACKET      os.END_BRACKET
#else
    #define IS_BEGIN_BRACKET    osgDB::BEGIN_BRACKET
    #define IS_END_BRACKET      osgDB::END_BRACKET
    #define OS_BEGIN_BRACKET    osgDB::BEGIN_BRACKET
    #define OS_END_BRACKET      osgDB::END_BRACKET
#endif

This fixes the build for me.  Please update VPB to latest svn/trunk
and let me know how you get on.

Robert.


On 1 May 2012 03:41, Chris Hanson <[email protected]> wrote:
> These are the errors that Virtual Planet Builder now generates when compiled
> against OSG 3.1.3 (on Windows):
>
> ... 2>  BuildOptionsIO.cpp
> ... 2>BuildOptionsIO.cpp(494): error C2039: 'BEGIN_BRACKET' : is not a
> member of 'osgDB'
> ... 2>BuildOptionsIO.cpp(494): error C2065: 'BEGIN_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(501): error C2039: 'END_BRACKET' : is not a member
> of 'osgDB'
> ... 2>BuildOptionsIO.cpp(501): error C2065: 'END_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(509): error C2039: 'BEGIN_BRACKET' : is not a
> member of 'osgDB'
> ... 2>BuildOptionsIO.cpp(509): error C2065: 'BEGIN_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(515): error C2039: 'END_BRACKET' : is not a member
> of 'osgDB'
> ... 2>BuildOptionsIO.cpp(515): error C2065: 'END_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(525): error C2039: 'BEGIN_BRACKET' : is not a
> member of 'osgDB'
> ... 2>BuildOptionsIO.cpp(525): error C2065: 'BEGIN_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(531): error C2039: 'END_BRACKET' : is not a member
> of 'osgDB'
> ... 2>BuildOptionsIO.cpp(531): error C2065: 'END_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(538): error C2039: 'BEGIN_BRACKET' : is not a
> member of 'osgDB'
> ... 2>BuildOptionsIO.cpp(538): error C2065: 'BEGIN_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(544): error C2039: 'END_BRACKET' : is not a member
> of 'osgDB'
> ... 2>BuildOptionsIO.cpp(544): error C2065: 'END_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(557): error C2039: 'BEGIN_BRACKET' : is not a
> member of 'osgDB'
> ... 2>BuildOptionsIO.cpp(557): error C2065: 'BEGIN_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(563): error C2039: 'END_BRACKET' : is not a member
> of 'osgDB'
> ... 2>BuildOptionsIO.cpp(563): error C2065: 'END_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(572): error C2039: 'BEGIN_BRACKET' : is not a
> member of 'osgDB'
> ... 2>BuildOptionsIO.cpp(572): error C2065: 'BEGIN_BRACKET' : undeclared
> identifier
> ... 2>BuildOptionsIO.cpp(580): error C2039: 'END_BRACKET' : is not a member
> of 'osgDB'
> ... 2>BuildOptionsIO.cpp(580): error C2065: 'END_BRACKET' : undeclared
> identifier
>
>
> Is this a known problem?
>
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. [email protected]
> http://www.alphapixel.com/
> Training • Consulting • Contracting
> 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
> GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
> Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
> LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to