2009/12/14 Wouter Boelen <li...@wboelen.be>

> Hi,
>
> I just got the dubious honour of becoming the poor sap who has to test the
> viability of using OSG in an existing project. Trouble is, it's been written
> in Borland C++ builder (and uses VCL,...). And the OSG source isn't fully
> compatible with its quirks. To make matters worse, Borland uses a different
> binary format than Visual Studio (which we use on newer projects).
>
> Anyway, I guessed the first step would be to build the entire OSG library
> with C++ Builder 2007 (generated a makefile for the 2.9.5 source). For the
> past couple of hours I've been "correcting" minor build errors, but this one
> seems to demand some more knowledge of the source:
>

Ugh.

Code:

> Error E2451
> C:\Source\Libraries\OpenSceneGraph-2.9.5_BORLAND\src\osg\GraphicsContext.cpp
> 624: Undefined symbol 'iterator
> ' in function GraphicsContext::remove(Operation *)
>

Try adding:
typedef std::list< osg::ref_ptr<Operation> >::iterator iterator;

to the public part of 'class OperationQueue' in

C:\Development\OpenSceneGraph-2.8.2\include\osg\OperationThread

Looking at the code I'm surprised it compiles in any other compiler.
Borland is correct; there is no OperationQueue::iterator as far as I can
tell.

-- 
http://www.ssTk.co.uk
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to