The previous article said to modify the project's dependent library, so as to run the program, but you are not the program compiled through, link also passed, but the start of the time there is a problem. ...... Anyway, I was there, but the problem was fixed within 24, until 2 o'clock in the morning.
If a memory access error occurs when the program starts, it is interrupted, and the debug stays in the Load module failed, the log in Ogre.log is displayed: Compiler error:unknown error in Rtshadersystem.material (Bayi): Token "Rtshader_system" is not recognized. Well, the following I said the method may be able to help you.
This error is obviously not imported by the resource or module. First, look at the directory where you generated the EXE has a resources_d.cfg file, if you do not copy it from the Ogresdk/bin/debug, and then run, there are problems to see below.
Then open the Resources_d.cfg file to see if there are any corresponding resource files in the path where they are written, and if not, you can modify the path or copy the resource file to the path where the file is written.
So, you continue to run the program, is not still error. Also reported wrong words estimate is the plug-in, the Ogresdk/bin/debug under the Plugins_d.cfg file copied again, and then modify the contents of the content, for the use of the module with the # Number of comments off. This should be a success.
Finally, I'll say what's happening on my machine. My Ogre1.7.1 is installed on C:/ogresdk,cegui installed in C:/cegui. My project output directory is set to C:/cegui/bin, so for the DLL in Ogre I have to copy to C:/cegui/bin, I copied 2 basic DLLs and 5 modules, so in plugins_d.cfg I put the corresponding 5 modules to use, the other is # The number is commented out.
Well, if you have any questions, you can discuss them together. These are easy to say, also took me 3 days of time, all spent on this, but also very grateful to Lin Gong and group of people actively discussed.
One of the error hints
A successful interface ~
Original address: http://www.beyondc.cn/cegui-error-when-the-load-module-failed.html