idcsteve
15-08-2012 12:20:14
Hi guys,
I have a really strange problem. I compiled Mogre and Ogre in x64 and everything has been working fine. It works from Visual Studio in Debug and Release modes, but when I try to run the file normally, I get the following error:
The error does not seem to be caused by any specific file - sometimes the log cuts out in one folder, sometimes in another.
To make things stranger, I managed to stop it happening all the time (it still happens sometimes) by altering code in a parallel task that should have nothing to do with Mogre.
By commenting the last two lines of the delegate below, it stops happening so regularly. This class does not reference Mogre itself, and although some of it's child classes do, they only use the vectors and quaternions.
I think I've read all the other threads relating to this problem, but they seem to deal with problems that are occurring in the debugger - this problem goes away whenever I try to look at it. It's a genuine Heisenbug http://en.wikipedia.org/wiki/Heisenbug
I'm completely clueless about what could be happening here - any suggestions are welcome, no matter how outlandish.
Regards,
Steve
I have a really strange problem. I compiled Mogre and Ogre in x64 and everything has been working fine. It works from Visual Studio in Debug and Release modes, but when I try to run the file normally, I get the following error:
OGRE EXCEPTION(5:ItemIdentityException): Cannot find an archive factory to deal with archive of type in ArchiveManager::load at ...
The error does not seem to be caused by any specific file - sometimes the log cuts out in one folder, sometimes in another.
To make things stranger, I managed to stop it happening all the time (it still happens sometimes) by altering code in a parallel task that should have nothing to do with Mogre.
By commenting the last two lines of the delegate below, it stops happening so regularly. This class does not reference Mogre itself, and although some of it's child classes do, they only use the vectors and quaternions.
_mainTask = new Task(() =>
{
_footProvider = new ProjectionKinectFootProvider();
_footProvider.FootFrameChanged += OnFootProviderFrameChanged;
InitGuiElements();
SetRanges(_footProvider.Source);
while (!_readyToShutdown) Application.DoEvents();//Comment this line
FootProvider.Dispose();//Comment this line
});
I think I've read all the other threads relating to this problem, but they seem to deal with problems that are occurring in the debugger - this problem goes away whenever I try to look at it. It's a genuine Heisenbug http://en.wikipedia.org/wiki/Heisenbug
I'm completely clueless about what could be happening here - any suggestions are welcome, no matter how outlandish.
Regards,
Steve