Hi,

i have create a linux makefile.
http://rapidshare.com/files/408563046/QtOSGTestPassive2.zip

to compile the project you have to do the following steps:
// Do once:
$ make directories
$ make uicbuild
// To make a release build:
$ make
// To make a debug build:
$ make debug/QtOSGTestPassive

You also need a server, compiled from the server-mono or server-stereo file. 
Thought you can simply use g++ to compile the single files.
Here is the gdb backtrace at the moment while the program stops:
(gdb) bt
#0  0x00007f11bb6bbdd3 in select () from /lib/libc.so.6
#1  0x00007f11bdbfd3c5 in osg::SocketSelection::select () from 
/usr/lib/libOSGBase.so
#2  0x00007f11bdbfd472 in osg::SocketSelection::select () from 
/usr/lib/libOSGBase.so
#3  0x00007f11bdbef826 in osg::GroupSockConnection::wait () from 
/usr/lib/libOSGBase.so
#4  0x00007f11bcadafcb in osg::MultiDisplayWindow::clientSwap () from 
/usr/lib/libOSGSystem.so
#5  0x00007f11bcaacc06 in osg::ClusterWindow::swap () from 
/usr/lib/libOSGSystem.so
#6  0x00007f11bcaad066 in osg::ClusterWindow::render () from 
/usr/lib/libOSGSystem.so
#7  0x0000000000435a3a in osg::CAVESceneManager::redraw (this=0x8e8d90) at 
CAVESceneManager-1.0/src/OSGCAVESceneManager.cpp:1542
#8  0x0000000000423f99 in OpenSGWidget::paintGL (this=0x8aaa40) at 
OpenSGWidget.cpp:92
#9  0x00007f11bfae827a in QGLWidget::glDraw () from /usr/lib/libQtOpenGL.so.4
#10 0x00007f11bfae70c9 in QGLWidget::paintEvent () from 
/usr/lib/libQtOpenGL.so.4
#11 0x00007f11bf18a495 in QWidget::event () from /usr/lib/libQtGui.so.4
#12 0x00007f11bfaea438 in QGLWidget::event () from /usr/lib/libQtOpenGL.so.4
#13 0x00007f11bf13c54f in QApplicationPrivate::notify_helper () from 
/usr/lib/libQtGui.so.4
#14 0x00007f11bf141125 in QApplication::notify () from /usr/lib/libQtGui.so.4
#15 0x00007f11bec7f109 in QCoreApplication::notifyInternal () from 
/usr/lib/libQtCore.so.4
#16 0x00007f11bf192c3c in ?? () from /usr/lib/libQtGui.so.4
#17 0x00007f11bf18d771 in QWidgetPrivate::drawWidget () from 
/usr/lib/libQtGui.so.4
#18 0x00007f11bf2d6703 in QWidget::repaint () from /usr/lib/libQtGui.so.4
#19 0x00007f11bf2d689b in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f11bf18a277 in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0x00007f11bfaea438 in QGLWidget::event () from /usr/lib/libQtOpenGL.so.4
#22 0x00007f11bf13c54f in QApplicationPrivate::notify_helper () from 
/usr/lib/libQtGui.so.4

I hope this will help to fix this problem.

Thanks, Johannes.

> -----Ursprüngliche Nachricht-----
> Von: Schaefer Johannes [mailto:johannes.schae...@ipk.fraunhofer.de]
> Gesendet: Mittwoch, 21. Juli 2010 09:36
> An: opensg-users@lists.sourceforge.net
> Betreff: Re: [Opensg-users] Problems with MultiDisplayWindow andQt-
> Application
> 
> Hi Carsten,
> 
> sorry for the file hoster, last time I use it, it was a clean hoster.
> 
> I forget to wrote, that I startup the server manually.
> server-mono -geometry 500x500+20+20 -display :0 -a localhost -w front
> 
> Furthermore I have tried to disable the simple scene manager (only
> running the cave scene manager). But there is the same behavior. But
> it's a good idea to add the local window to the MultiDisplayWindow.
> 
> It would be very nice if you try to compile and test my program.
> 
> Thanks, Johannes.
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Carsten Neumann [mailto:carsten_neum...@gmx.net]
> > Gesendet: Dienstag, 20. Juli 2010 22:30
> > An: opensg-users@lists.sourceforge.net
> > Betreff: Re: [Opensg-users] Problems with MultiDisplayWindow andQt-
> > Application
> >
> >     Hello Johannes,
> >
> > Schaefer Johannes wrote:
> > > I'm using osg 1.8 (self compiled from cvs, checkout date 11.05.2010
> )
> > under windows xp together with a qt application in combination with a
> > osg cave scene manager from the invrs project ( http://www.invrs.org/
> > ).
> > > The invrs immersive tutorial is working fine (
> > http://trac.invrs.org/wiki/tutorials/inVRsGoingImmersive ). but in
> > combination with my qt application the program stops at the startup.
> I
> > thought the problem is the same like in this post http://www.mail-
> > archive.com/opensg-users@lists.sourceforge.net/msg13011.html . my
> > program also stops in the clientswap() and is waiting forever.
> > >
> > > I have create a test application to show this problem.
> > http://www.files.to/get/908988/k1uiupn4mr
> >
> > uhm, would you please consider using a different file sharing service
> > in
> > the future, I don't think the kind of advertising used by this one is
> > appropriate for this mailing list. Thank you.
> >
> > > There is the server under CAVESceneManager-1.0\renderserver-src an
> a
> > qt 4 test application.
> > >
> > > Has anybody a suggestion how to fix this problem?
> >
> > hm, in the code you sent in appctrl.cpp the startServers() function
> for
> > #ifdef WIN32 is commented out, but I suppose you start them by some
> > other means if it gets to the point where it wants to do a
> > clientSwap().
> >
> > Another thing I've noticed is that in OpenSGWidget::paintGL() you
> call
> > redraw() on the CAVEManager and the SimpleSceneManager. To get a
> local
> > rendering on the machine running the Qt app you should add the
> passive
> > window as client window to the MultiDisplayWindow and only call
> redraw
> > for the CAVEManager - not sure if that would solve the problem
> though.
> >
> > In order to try this I'll have to figure out how to build your code
> on
> > linux or build the necessary stuff for windows (OpenSG 1.x, Qt),
> either
> > way it may take me a while...
> >
> >     Cheers,
> >             Carsten
> >
> > ---------------------------------------------------------------------
> --
> > -------
> > This SF.net email is sponsored by Sprint
> > What will you do first with EVO, the first 4G phone?
> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> > _______________________________________________
> > Opensg-users mailing list
> > Opensg-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/opensg-users
> 
> -----------------------------------------------------------------------
> -------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to