Re: [osg-users] Problems building OSC plugin on VS2008

2013-01-06 Thread Martin Naylor
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


Re: [osg-users] Build Install OpenSceneGraph-3.1.3 give me a No WindowSystemInterface error ?

2013-01-06 Thread Philip Lamb
If you'd like a more recent Mac OSG binary which includes a user-runnable 
installer, OSG Frameworks supporting both 32 and 64-bit archs, etc. you can use 
the one published by ARToolworks:

http://www.artoolworks.com/dist/openscenegraph/3.1.x/

It doesn't include the COLLADA (.dae) plugin but most other plugins are present.

Regards,
Phil.

On 6/01/2013, at 12:18 PM, Chris Hanson xe...@alphapixel.com wrote:

 You can get an OSG 3.0.1 pre-built OSX binary from my site:
 http://alphapixel.com/osg/downloads/free-openscenegraph-binary-downloads
 
 You'll need a 7zip extractor to uncompress them:
 http://www.macupdate.com/app/mac/19139/ez7z
 
 I can't help you a whole lot as I am not a Mac developer myself, but see if 
 those will run for you.
 
 
 On Sat, Jan 5, 2013 at 2:10 PM, Mohamed Alji osgfo...@tevs.eu wrote:
 Hi,
 
 I would like to use pre-binaries if possible but I could not make it work. I 
 used MacPort to install OSG ...
 
 Do you advise me to try somehow different ?
 
 
 
 
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG COLLADA build problem, Windows, vs2008

2013-01-06 Thread Aurelien Albert
Hi,

I've sent a fix for that :

http://forum.openscenegraph.org/viewtopic.php?t=11204


The fix is not yet merged into trunk.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51798#51798





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Build Install OpenSceneGraph-3.1.3 give me a No WindowSystemInterface error ?

2013-01-06 Thread Mohamed Alji
Excellent Philip your solution worked !


Mohamed ALJI
Blog http://aljilogy.blogspot.fr


--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51799#51799




___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Loading an osgb file from a statically linked application

2013-01-06 Thread Thilo Weigel
Hi,

With the following lines added to my code everything works as expected:

USE_SERIALIZER_WRAPPER(DefaultUserDataContainer)
USE_SERIALIZER_WRAPPER(StringValueObject)

Interestingly, these macros aren't used in osgstaticviewer.

Cheers,
Thilo

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51800#51800





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org