Hi Mke, I haven't heard anyone trying to do this, stripping out OpenGL is quite a major change and would be a lot of work. Perhaps what you could do is create a dummy OpenGL library that provides the headers and an non op implementation. One might even be able to do all this with just macros.
W.r.t viewers just don't bother compiling osgViewer or other libs you don't need. Robert. On Nov 12, 2007 10:09 PM, Mike Wozniewski <[EMAIL PROTECTED]> wrote: > Hi all, > > I have an simple OSG application that I'm trying to port to a small > mobile device (Gumstix), and I'm trying to cross-compile a small subset > of the OSG library. I don't have OpenGL or X11 available on the device, > but I don't need that, because I'm only using OSG for basic scene graph > organization and 3D geometry. > > *** I don't need to create windows or render anything *** > > So my questions are: > > - First, is this possible? > - Has anyone built a subset of OSG and could provide me with a template > for doing so? > - Does anyone have a basic makefile (not cmake) that I can modify to > generate a subset of libosg that doesn't link with libGL, libX11, etc. > - I don't really understand the cmake system, so can anyone point me to > the place where libosg is built? ... or provide me with some basic info > about changing compilers and preventing cmake from looking in the > regular locations (eg, /usr/include, /usr/lib, etc)? > > The classes I need are the very basic scene graph management stuff: > - osg::Node > - osg::PositionAttitudeTransform > - osg::Group > - osg::Matrix > - osg::Quat > - osg::Vec3 > - etc. > > Thanks in advance, > -Mike > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

