Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: [SOLVED] Engine Rendering Setup Error

Started 1 month, 3 weeks ago by BeyondAphelion
Good day, I've been setting up a test application using the Ogre Application Wizard that I have manually installed. After fixing a bunch of minor deprecation issues upon building, I tried fixing the Post-Build Event copy problem that many people seem to get. That problem kept re-occuring, but exluding that from the build did not cause any problems. When running the test application the Engine...
Site: Ogre Forums  Ogre Forums - site profile
Forum: Help  Help - forum profile
Total authors: 3 authors
Total thread posts: 12 posts
Thread activity: no new posts during last week
Domain info for: ogre3d.org

Other posts in this thread:

spacegaier replied 1 month, 3 weeks ago
This F:/ drive got nothing to do with your PC, but the one Ogre was developped on. Just ignore this path. Concerning the crash:Is there an Ogre.log file created with some additional information? Did you debug and can tell us in which line this error is caused?

BeyondAphelion replied 1 month, 3 weeks ago
Here is my Ogre log file: Code: Select all 14:25:46: Creating resource group General 14:25:46: Creating resource group Internal 14:25:46: Creating resource group Autodetect 14:25:46: SceneManagerFactory for type 'DefaultSceneManager' registered. 14:25:46: Registering ResourceManager for type Material 14:25:46: Registering ResourceManager for type Mesh 14:25:46: Registering ResourceManager ...

spacegaier replied 1 month, 3 weeks ago
Okay, now it's clear. In the same location where your .EXE is in, there should be two files named plugins.cfg and resources.cfg. These files tell Ogre which Plugins (e.g. the renderes) should be loaded and in which locations Ogre can find the needed media files (textures, materials, shader, ...). I guess that for the beginning you can just copy these files over from the OgreSDK "bin" folder. If...

haffax replied 1 month, 3 weeks ago
On a more general note: Don't use wizards that generate stuff you don't understand yet. A better way to learn C++ and Ogre is to dissect the example framework (e.g. with the help of one of the wiki articles about it) till you understand what it is doing. Building an Ogre project from an empty project is the way to go for the beginning. Here is what the Pragmatic Programmers have to say about ...

BeyondAphelion replied 1 month, 3 weeks ago
I copied the .cfg files, and I was still getting the same error. I decided to start a new project from scratch, since I'd been fiddling with settings to get things working up to this point, and now I knew what needed to be adjusted for sure. However, now I have a much more cryptic and evil error and I can't even get past the build stage: fatal error LNK1000: Internal error during ...

haffax replied 1 month, 3 weeks ago
I get this sometimes not only with Ogre but with other projects too. This is a bug inside VC. Usually it goes away on a clean rebuild. Clean your solution, then rebuild. If it doesn't help, but samples build ok for you, then check, item for item, what you are doing differently compared to Ogre sample projects.

BeyondAphelion replied 1 month, 3 weeks ago
Okay, that was a stupid fix. I turned off Incremental Linking in the project properties. Now I'm taking it one step at at time. After building I got the error that it couldn't find resources.cfg, so I added it. After that, I now get this error: My Ogre log now looks like this: Code: Select all 15:59:49: Creating resource group General 15:59:49: Creating resource group Internal 15:59...

BeyondAphelion replied 1 month, 3 weeks ago
Just a quick update: I added the plugins.cfg and I'm still getting that archive error.

spacegaier replied 1 month, 3 weeks ago
That means that the archive isn't in one of the locations specified in the resources.cfg file.

BeyondAphelion replied 1 month, 3 weeks ago
Oh HEY! It's working now. I forgot what you said about copying the media directory from the OgreSDK location. One thing to note though is that it belonged in the grandparent directory and not in the actually directory of the .exe. Thanks for all your help, and one last question: Is it possible to configure these directories and files to be in default OGRE SDK application so I do not have to ...

 

Top contributing authors

Name
Posts
BeyondAphelion
6
user's latest post:
[SOLVED] Engine Rendering Setup...
Published (2009-11-08 00:06:00)
Oh HEY! It's working now. I forgot what you said about copying the media directory from the OgreSDK location. One thing to note though is that it belonged in the grandparent directory and not in the actually directory of the .exe. Thanks for all your help, and one last question: Is it possible to configure these directories and files to be in default OGRE SDK application so I do not have to do all this every time I start a new project? Or...
spacegaier
4
user's latest post:
[SOLVED] Engine Rendering Setup...
Published (2009-11-08 01:00:00)
BeyondAphelion wrote: It's working now. I forgot what you said about copying the media directory from the OgreSDK location. One thing to note though is that it belonged in the grandparent directory and not in the actually directory of the .exe. Depends on what is listed in your resources.cfg. I personally removed the links to the parent directory and directly put the media folder in the one, my EXE is in. You can customize that, as you...
haffax
2
user's latest post:
[SOLVED] Engine Rendering Setup...
Published (2009-11-07 23:50:00)
I get this sometimes not only with Ogre but with other projects too. This is a bug inside VC. Usually it goes away on a clean rebuild. Clean your solution, then rebuild. If it doesn't help, but samples build ok for you, then check, item for item, what you are doing differently compared to Ogre sample projects.

Related threads on "Ogre Forums":

Related threads on other sites:

Thread profile page for "[SOLVED] Engine Rendering Setup Error" on http://www.ogre3d.org. This report page is a snippet summary view from a single thread "[SOLVED] Engine Rendering Setup Error", located on the Message Board at http://www.ogre3d.org. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity