Re: [osg-users] [build] Multi-threading crashing on start-up (2.8.3, XP, VS2008)

2011-04-27 Thread Robert Osfield
Hi Michele, Am I correct in understanding that you've built OpenThreads to use QT's inbuilt threading support, i which case you must have set the BUILD_OPENTHREADS_WITH_QT to ON via ccmake or CMakeSetup. Is this correct? I didn't implement and have not personally used the Qt build of

Re: [osg-users] [build] Multi-threading crashing on start-up (2.8.3, XP, VS2008)

2011-04-27 Thread fiorentino
hi, yes, i checked BUILD_OPENTHREADS_WITH_QT to TRUE to get the error i mentioned. I could run my application just commenting all inside the function and returning a -1, but it's just a daily fix. With such hack using OSGART i got crashes when using DSVL multithread library for Augmented

Re: [osg-users] [build] Multi-threading crashing on start-up (2.8.3, XP, VS2008)

2011-04-26 Thread Robert Osfield
Hi Tom, There isn't an build option to enable multi-threading of the viewer, the OSG will always build with OpenThreads and have a multi-thread capable viewer, the only limitation is on how the graphics contexts are created - you have to use the OSG's native creation of graphics contexts to do

Re: [osg-users] [build] Multi-threading crashing on start-up (2.8.3, XP, VS2008)

2011-04-26 Thread Rob Radtke
Does your application use Qt? If so, then that could be (at least) part of the issue. It's been a while since I've tested it out, but I've always had to use SingleThreaded with Qt. On 4/25/2011 6:13 PM, Tom Appollo wrote: Hi All, I had been running my app based on OSG 2.8.3 on a VS2003

Re: [osg-users] [build] Multi-threading crashing on start-up (2.8.3, XP, VS2008)

2011-04-26 Thread fiorentino
Hi, Today I compiled the daily svn trunk using Qt 4.6 on Vs9 (2008) and windows Xp and using the flag QtTreads. I crashed my test app videobackground of OSGART and finish in debugging some FIXME code in Opentreads ( possible evidence that Qt does not provide any automatic thread

Re: [osg-users] [build] Multi-threading crashing on start-up (2.8.3, XP, VS2008)

2011-04-26 Thread Michele Fiorentino
Hi, i detail the error... //- // // Description: set processor affinity for the thread // // Use: public // int Thread::setProcessorAffinity(unsigned int cpunum) { --- QtThreadPrivateData* pd =

[osg-users] [build] Multi-threading crashing on start-up (2.8.3, XP, VS2008)

2011-04-25 Thread Tom Appollo
Hi All, I had been running my app based on OSG 2.8.3 on a VS2003 build (XP machine) for a while. However, I'm now moving the app to VS2008 so, I got a clean 2.8.3 source, pulled the latest 3rd party VS2008 binaries and configured CMake to build it. No problems with the build. (NOTE: Not ready