Hi everyone,

As already mentioned we're working on porting an OpenSG 1.8 based project to
OpenSG2.0, but we're facing several problems cause in some parts downward
compatibility is not 100% ensured. Some of the bigger ones we already
solved, but some others are still unclear to us.

Maybe the one or other of you could provide us some help :) ? Here are the
open Issues:

Our development environment is the following:
- Windows 7 Pro
- Visual Studio 2008 (+ corresponding compilers)
- CMake
- OpenSG 2.0 built as advised in <OPENSG_ROOT>\support\readme.txt,
deprecation flags on.

Problems:
Linking issue: Although every OpenSG library is linked i get the following
error:
Error    57    error LNK2001: unresolved external symbol "private: static
class OSG::RefCountPtr<class OSG::Thread,struct OSG::MemObjRefCountPolicy>
EventManager::eventRecvThread" (?eventrecvthr...@eventmanager
@@0v?$refcount...@vthread@OSG@@umemobjrefcountpol...@2@@OSG@@A)

Actually it looks like it has something to do with the threading stuff.
compiler settings for both inVRs SystemCore and OpenSG is Multi-Threaded DLL
(/MD)
=============================

#include <OpenSG/OSGImageBackground.h> cannot be found, is there any
replacement for it ?

=============================
MultiDisplayWindowBase.getServers()  takes now only an index as argument,
variant that gives the whole vector is not available any more, is it
possible to add a new server string ?
as it is done in the old (1.8) Clustering Tutorial.
Or... how else can i add a new rendering server?

=============================
GraphOpSeq / SharePtrGraphOp cannot be deleted any more (destructors are
protected, i suppose due to refcounting/garbage collection issues), can i
force them somehow to be deleted if i know they won't be needed?
same for creating (new),
how can they be handled ?

=============================
Traversal of SceneGraph:
In 1.8 the following worked perfectly:
OSG::traverse(modelTransNode,
osgTypedMethodFunctor1ObjPtrCPtrRef<Action::ResultE, OpenSGModel,
            NodePtr> (this, &OpenSGModel::traversalEnter));

As i've seen the signature of traverse stays the same, but i didn't find how
the TraverseEnterFunctor is passed in OpenSG 2.0 :)

============================
OSG::Thread::getCurrentChangeList()->clearAll();     -> clearAll doesn't
exist any more, just clear() in OpenSG 2.0?

============================
Are there equivalents to OpenSG/OSGDrawAction.h or OpenSG/OSGDynamicVolume.h
in OpenSG 2.0  ?

============================
Geometry related stuff:

When i replace older stuff with newer ones (according to both
Basics-tutorials),
like:
GeoPTypesPtr type = GeoPTypesUI8::create();
with
OSG::GeoUInt8PropertyRecPtr type = OSG::GeoUInt8Property::create();

is somehow just get GeoUInt8PropertyRecPtr is not defined , although code
completion finds them. Maybe it's Visual Studio related, but i the include
directories are set correctly as far as i've seen.


Would really appreciate help on those problems :) , maybe later someone with
deep knowledge about both versions could document the changes?
Cheers
Georg
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to