Thanks Robert, I'm working on getting ahold of Alok.  In the meantime I've 
gotten most of OSG to compile using the PPAPI (Pepper) toolchain and would like 
to discuss some of the changes.

1) The most prevalent was the usage of "memory.h".  This header isn't available 
but its functionality is present in "string.h" so in cases where I couldn't 
eliminate it completely, I've substituted it with "string.h".  Is "string.h" or 
"cstring" that right thing to include in all builds in lieu of "memory.h"?

2) "dlfcn.h": This header is not available and seems like we shouldn't try to 
include it for a static build anyway.  I wasn't sure the right way to handle 
some of these cases and so just commented them out with the exception of the 
one in GLExtensions.cpp where I added a precompiler code branch using 
OSG_GL_LIBRARY_STATIC.

3) OpenThreads: pthread_cleanup_push and pthread_cleanup_pop are not available 
so I've used a method from the work at NaClPorts which adds a new 
PThreadCleanup class to store the handler and call it ("pop").

Thoughts?
Michael

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to