Hi Fintan,
The change I made to VPB would probably be appropriate to osgCompute,
the change allows it to compile against OSG svn/trunk or 3.0.x. See:
http://www.openscenegraph.org/projects/VirtualPlanetBuilder/changeset/1048/trunk
Robert.
On 4 May 2012 08:53, Fintan Wilson
Hi,
I'm having the same issue in linux using CMAKE. Can you perhaps advise on a fix?
Here is the compile output.
Code:
/home/fino/working_dir/osgCompute/src/osgCudaSerializer/Program.cpp: In
function ‘bool writeResources(osgDB::OutputStream, const osgCuda::Program)’:
...@lists.openscenegraph.org] On Behalf Of Chris
Hanson
Sent: 01 May 2012 03:42
To: OpenSceneGraph Users
Subject: [osg-users] VPB build errors
These are the errors that Virtual Planet Builder now generates when compiled
against OSG 3.1.3 (on Windows):
... 2 BuildOptionsIO.cpp
... 2BuildOptionsIO.cpp(494
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_BRACKETis.BEGIN_BRACKET
These are the errors that Virtual Planet Builder now generates when
compiled against OSG 3.1.3 (on Windows):
... 2 BuildOptionsIO.cpp
... 2BuildOptionsIO.cpp(494): error C2039: 'BEGIN_BRACKET' : is not a
member of 'osgDB'
... 2BuildOptionsIO.cpp(494): error C2065: 'BEGIN_BRACKET' :
undeclared
5 matches
Mail list logo