[SOLVED] Fixing POCO build errors with r440

fratouille

23-07-2014 18:05:51

I was having some build errors when using POCO threading with the latest SVN version.

The implementation for Updater::run is missing. I managed to fix it by adding the bold part in OgreOggSoundManager.h


# ifdef POCO_THREAD
Poco::Thread *OgreOggSound::OgreOggSoundManager::mUpdateThread = 0;
OgreOggSound::OgreOggSoundManager::Updater* OgreOggSound::OgreOggSoundManager::mUpdater = 0;
void OgreOggSound::OgreOggSoundManager::Updater::run() { OgreOggSound::OgreOggSoundManager::threadUpdate(); }
Poco::Mutex OgreOggSound::OgreOggSoundManager::mMutex;
Poco::Mutex OgreOggSound::OgreOggSoundManager::mSoundMutex;
Poco::Mutex OgreOggSound::OgreOggSoundManager::mResourceGroupNameMutex;
# else


It has been deleted during the patch history. Not exactly sure when or why.

stickymango

31-07-2014 23:06:38

Not sure how/when that happened either, fixed now, I assume you meant OgreOggSoundManager.cpp not .h :wink:

Thanks!