Hi Holger, Wrapping up high level OSG calls with C function entry points would be possible, but unless you are very modular in the way you manage your application you may end up have to expose more and more OSG classes via C functions and structures, and could up with far more work than you bargained for.
On Tue, Oct 12, 2010 at 1:46 PM, Holger Carsten Krumm > Don't ask why I do not migrate > the whole source: it is a pretty big bunch of C code and porting it is not an option at the >moment... Porting well written C code to compile with C++ compiler is pretty straight forward in most cases. I've just integrated parts of GLU into the OSG's build, the GLU code was written in C, and as part of the OSG it's now compiled as C++. The biggest code change was fixing the warnings that the C++ compiler emited due to it's stricter type checking, this is no bad thing, and doesn't preclude still compiling the code with C compiler later. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

