toghian
08-10-2009 09:50:44
Hi
when I want to run my app this exception occurs.How can I solve it?
OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library c:/MogreSDK/RenderSystem_Direct3D. System Error: The specified module could not be found.
in DynLib::load at ..\src\OgreDynLib(line 80)
In addition I installed DIrectx2009.
Thanks.
luismesas
08-10-2009 10:15:46
You have to include that file from Ogre binaries onto your app directory or remove the line that request it on the resources.cfg file.
toghian
08-10-2009 15:11:11
Hi
I tried to add RenderSystem_Direct3D_d.dll to my project but it was impossible.Additionally in the resources.cfg there wasn't entry for using that assembly.
luismesas
08-10-2009 15:19:50
Sorry, it's plugins config file.
To add it to your project, drag-drop the file to root folder of your project, and on properties select "Content" and "Copy if Newer" on first two options.
toghian
08-10-2009 17:29:52
Hi again
What do you mean by "properties" exactly? "Project->MyApp Properties" in the Menu bar or the properties in the Solution Explorer.By the way I coudn't find the "Content" and "Copy if Newer" !
luismesas
08-10-2009 17:45:13
On solution explorer, over the name of the file you added, right click > properties
toghian
10-10-2009 05:44:15
Unfortunately, didnt work
toghian
12-10-2009 14:23:04
Hi friends
I need help,NO one can help?
luismesas
12-10-2009 14:42:09
Did you copy RenderSystem_Direct3D.dll file to your application directory?
Check on Plugins.cfg file where is Ogre trying to find it.
toghian
13-10-2009 04:52:16
Hi guys
thanks for your guides. I corrected the plugins.cfg file to c:\MogreSDK\bin\release and then this error rised:
OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library c:/MogreSDK/bin/release/Plugin_CgProgramManager. System Error: The specified module could not be found.
in DynLib::load at ..\src\OgreDynLib(line 80)
even that file existed in the specified folder, I commented this entry and my app loaded:
Plugin=Plugin_CgProgramManager
now,will I run into a problem in future?