[osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Sajjad
Hello forum, I am using the adapter widget to run OSG viewer with Qt. When i try to port the osgsimplifier example in the OSG Qt viewer then the program crashes with the following message: terminate called after throwing an

Re: [osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Jean-Sébastien Guay
Hello Sajjad, Any hint ? With only this information, the only hint we can give you is to use the debugger. Running in debug, and enabling exception reporting, the debugger should break exactly where the crash occurs, and you should be able to go up the stack to see the source of the

Re: [osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Sajjad
Hello Jean, Just ran the debugger. and crashes in the following line * viewer.frame(); ***' Any way to get around that ? Each frame is shown after the mesh is simplified(). In qt adapter the viewer class has two parents

Re: [osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Jean-Sébastien Guay
Hello Sajjad, Just ran the debugger. and crashes in the following line * viewer.frame(); Are you running a debug build in the debugger? Do you have the debugging symbols for OSG? That specific line is not the site of the crash, it's something that

Re: [osg-users] OSG , Qt and osgsimplifier

2010-09-29 Thread Rob Radtke
The only suggestion I can think of is to make sure you are using the single threaded threading model: setThreadingModel(osgViewer::Viewer::SingleThreaded); AFAIK, QT viewers will not work with any of OSG's multi-threaded models. Rob On 9/29/2010 9:35 AM, Sajjad wrote: Hello forum, I am