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...
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?
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 ...
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...
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 ...
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 ...
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.
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...
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 ...
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...
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...
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.
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