My application does not start after updating osgEarth
I've an application which works correctly with osgEarth (master 14.04.2016). After upgrading to osgEarth latest version, my application does not start. The debugger does not go into the main function of my application. I found a commit after which my application does not work.
This is the 06d4795e3a15197e32b2e26ca99a4ce3522bbbd3 committe (https://github.com/gwaldron/osgearth/commit/06d4795e3a15197e32b2e26ca99a4ce3522bbbd3) (Registry: add an async operations queue and thread pool). If in Registry.cpp I comment the line t-> start (), then my application starts successfully.
// create the thread pool and tie it to the queue.
for (unsigned i = 0; i < _threadPoolSize; ++i)
osg::OperationThread* t = new osg::OperationThread();
// t->start(); // this is my comment
In the latest version of osgEarth, these functions are in ElevationPool.cpp.
The problem is reproduced only on Windows. My application starts successfully on Linux. I use VS2010 and OSG 3.4.0.