hello all.
i just install Ogre distrib and compile it entirely (no errors, some lill warn)
but when i try to run a sample (like demo_water or others) prog crash (with each rendering method)
Any ideas ?
AMD 3000+ 512mo
Radeon 9800 Pro
sys Windows XP
Compilo VC6++ compiled in Release Mode
T i A
Help needed - ogremain crash
- DWORD
- OGRE Retired Moderator
- Posts: 1365
- Joined: Tue Sep 07, 2004 12:43 pm
- Location: Aalborg, Denmark
- Contact:
I think you need to provide more details. You should run the demos from the ogrenew/Samples/Common/bin/Release or Debug folder, otherwise they can't find the necessary files.
If that's not the problem, try building in debug mode, and see if that gives some more information when running. Try posting the log from a debug run.
If that's not the problem, try building in debug mode, and see if that gives some more information when running. Try posting the log from a debug run.
-
- Gnoblar
- Posts: 2
- Joined: Sun Jan 09, 2005 2:31 am
Hi, I am a newbie as well setting up for the first time.
I also got the same error when running from inside VS7.
It throws an uncaught exception when trying to open "ogre.cfg".
When you run the exe directly from its directory it works fine - however you loose the convenience of running it straight from VS. Is this normal?
-----------------------------
12:33:59: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ConfigFile::load
Description: 'ogre.cfg' file not found!.
File: c:\ogre\ogremain\src\ogreconfigfile.cpp
Line: 48
Stack unwinding: <<beginning of stack>>
-----------------------------
Kingsley
I also got the same error when running from inside VS7.
It throws an uncaught exception when trying to open "ogre.cfg".
When you run the exe directly from its directory it works fine - however you loose the convenience of running it straight from VS. Is this normal?
-----------------------------
12:33:59: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ConfigFile::load
Description: 'ogre.cfg' file not found!.
File: c:\ogre\ogremain\src\ogreconfigfile.cpp
Line: 48
Stack unwinding: <<beginning of stack>>
-----------------------------
Kingsley
-
- Google Summer of Code Student
- Posts: 228
- Joined: Mon Mar 17, 2003 12:02 am
- Location: San Jose, CA, USA
kingsley:
Pressing ctrl F5 will still throw this exception but it won't ask you about it and if you're trying to debug by pressing F5, just click continue instead of break when it asks you and the demo will start just fine.
PS: I always forget stuff After you run a demo once, ogre.cfg will be created so it won't throw that exception anymore.
Pressing ctrl F5 will still throw this exception but it won't ask you about it and if you're trying to debug by pressing F5, just click continue instead of break when it asks you and the demo will start just fine.
PS: I always forget stuff After you run a demo once, ogre.cfg will be created so it won't throw that exception anymore.