Quick follow up: The error seems to occur when linking using GCC 4.4.2, which is part of the tool chain I use. When I use my distro's GCC 4.7 to do a static build with the same CMake settings, I don't get the error. To get around it in 4.4.2, I explicitly defined requestRedraw() in GraphicsWindowEmbedded and had it call GraphicsWindow::requestRedraw(). I don't know if this creates any new problems since I still haven't gotten osg working, but it looks like it shouldn't do anything evil and may be worth changing in source if someone else can confirm its a bug with older compilers.
Status so far: I can deploy an app with osg to the PlayBook but it instantly crashes. Right now I'm basically sifting through core dumps and seeing what else I can do to try and get it to work. Preet On Thu, May 31, 2012 at 12:07 PM, Thomas Hogarth <[email protected]> wrote: > Hi Preet > > Not too sure what exactly your issue is but the error > > (.rodata._ZTVN9osgViewer22GraphicsWindowEmbeddedE[_ZTVN9osgViewer22GraphicsWindowEmbeddedE]+0xcc):-1: > error: undefined reference to `non-virtual thunk to > osgViewer::GraphicsWindow::requestRedraw()' > > Suggests that your osgViewer lib isn't linked or GraphicsWindow.cpp wasn't > compiled into your lib. > > Setting the windowing system to "None" is correct but it may be that it needs > to be set before you run cmake. Look at osgViewers CMakeLists.txt and see how > it's done on Android. > > Cheers > Tom > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=47975#47975 > > > > > > _______________________________________________ > 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

