Hi Chris,
I have seen something similar:
Here is a post I put into submissions a while back that may help or be
related...
Hi,
Yes I can confirm I get the error in VS2008.
I think it's all down to the standard of C++.
It works fine with VS2010 and up which why most people may have not noticed
the error.
To me it looks like the standard of C++, .data must be implemented in a
later version.
VS2008 must support C++98 and VS2010 C++03/0x and VS2012 C+11, so the
deduction is, .data is implemented in a later version of C++(0x/011).
You may be better of with:
_document = _dae-openFromMemory(fileURI, buffer.front()); But It don't know
much about dae.
Does OSG stick to a C++ standard such as C++98, or am i talking gibberish!
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Chris
Hanson
Sent: 05 January 2013 20:48
To: OpenSceneGraph Users
Subject: Re: [osg-users] Problems building OSC plugin on VS2008
Actually it fails on VS2010 on a clean SVN pull as well:
This is the version it is building:
#define OPENSCENEGRAPH_MAJOR_VERSION3
#define OPENSCENEGRAPH_MINOR_VERSION1
#define OPENSCENEGRAPH_PATCH_VERSION4
#define OPENSCENEGRAPH_SOVERSION94
Anyone have any ideas? I could just refrain from building this plugin, but I
like to provide the most complete builds I can.
On Sat, Jan 5, 2013 at 12:35 PM, Chris Hanson xe...@alphapixel.com wrote:
Anyone else encountering this? I have no clue, we're just trying to
batch-build.
d:\osg\trunk_vs9_x64_debug\src\osg\trunk\build\product\src\osgplugins\osc\os
c\OscOutboundPacketStream.h(101) : error C2535: 'osc::OutboundPacketStream
osc::OutboundPacketStream::operator (osc::int32)' : member function
already defined or declared
...
d:\osg\trunk_vs9_x64_debug\src\osg\trunk\build\product\src\osgplugins\osc\os
c\OscOutboundPacketStream.h(97) : see declaration of
'osc::OutboundPacketStream::operator '
.\daeReader.cpp(298) : error C2039: 'data' : is not a member of
'std::vector_Ty'
... with
... [
... _Ty=char
... ]
--
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
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
@alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775)
623-PIXL [7495]
--
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
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
@alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775)
623-PIXL [7495]
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org