Paco1
17-08-2010 19:30:03
Hi everybody,
first off, I'm new to Mogre, so please bear with me if you saw my problem too many times already
(although I couldn't find anything about it on Google or this forum's search).
I tried to assemble the program for the Basic Tutorial 0 in the Wiki, but encountered this error after hitting F5:
"Microsoft Visual C++ Runtime Library"
Assertion failed!
Program: ...
File: ..\..\ogre\OgreMain\src\OgreRoot.cpp
Line: 112
Expression: ms_Singleton
The window also says to press Retry to debug the app (JIT is enabled, I pressed Retry and nothing happened).
The Mogre init window is already on the screen and froze while "Creating the root object".
I also tried the program for the Basic Tutorial 6 since I read that my error may be related to a wrong version
of MogreFramework.dll, but the error appears even without it.
System-specs are Visual Studio 2008 + SP1 on Windows 7 x64 (target platform of the project is x86 though,
as I got a BadImageFormatException that was resolved by this setting).
Even though I installed vcredist_x86.exe aswell, the dependency checker didn't detect it during install
I hope that's not a problem as re-install of Mogre and vcredist didn't fix it - I have no idea what to try next
Best regards,
Paco1
// EDIT
Okay, it looks like my computer is really trying to make me go nuts. I swear to god, this
did not work when I tried it earlier, but of course it does now that I wrote this novel... Sorry for wasting space here
first off, I'm new to Mogre, so please bear with me if you saw my problem too many times already
(although I couldn't find anything about it on Google or this forum's search).
I tried to assemble the program for the Basic Tutorial 0 in the Wiki, but encountered this error after hitting F5:
"Microsoft Visual C++ Runtime Library"
Assertion failed!
Program: ...
File: ..\..\ogre\OgreMain\src\OgreRoot.cpp
Line: 112
Expression: ms_Singleton
The window also says to press Retry to debug the app (JIT is enabled, I pressed Retry and nothing happened).
The Mogre init window is already on the screen and froze while "Creating the root object".
I also tried the program for the Basic Tutorial 6 since I read that my error may be related to a wrong version
of MogreFramework.dll, but the error appears even without it.
System-specs are Visual Studio 2008 + SP1 on Windows 7 x64 (target platform of the project is x86 though,
as I got a BadImageFormatException that was resolved by this setting).
Even though I installed vcredist_x86.exe aswell, the dependency checker didn't detect it during install
I hope that's not a problem as re-install of Mogre and vcredist didn't fix it - I have no idea what to try next
Best regards,
Paco1
// EDIT
Okay, it looks like my computer is really trying to make me go nuts. I swear to god, this
NOTE: If you get a line 80 or a line 100 exception after build, try to copy your build exe into the appropiate Debug or Release folder in your MogreSDK library (default: C:\MogreSDK\bin\(Debug or Release) and run it.
did not work when I tried it earlier, but of course it does now that I wrote this novel... Sorry for wasting space here
