Something wrong with compiled demos[solved]

larnya

13-04-2010 14:35:41

There was no error when compling the demos.
But when I try to lauch a demo, it warns leaking OIS_d.dll, I copy a OIS_d.dll from Dependencies to bin folder.Then it warns leaking Ogre_Main_d.dll, so I copy one to bin folder(just did the same as OIS_d.dll).
Now it comes a bigger problem.Please see the warning below.

-------------------------------------------------------------
Debug Error!
Program: D:\MyGUI\bin\debug\Demo_Colour.exe
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more
information.
(Press Retry to debug the application)
-------------------------------------------------------------

My IDE is VS2008, and Ogre version is 1.7.

Who can tell me how can I solve this problem?? Any reply will be appriciated.

my.name

13-04-2010 18:17:20

1. CRT
2. service pack for studio
3. different dll and lib version

larnya

14-04-2010 03:02:33

Thank you for your reply. :)

But I'm still puzzled.

I have installed SP1 for VS2008
The Ogre_Main_d.dll produced from OgreSDK1.7
The OIS_d.dll produced from MyGUIDependencies_MSVC_20100109.zip which I downloaded from sourceforge
MYGUI version is 3.0.1(from sourceforge too)

I don't know how to set CRT :oops:

Is it posible that CMAKE couldn't find Ogre path? (But it configured successfully :?: )
Is it a necessary step that I have to copy this two dlls to run the compiled demos?

my.name

14-04-2010 10:49:21

http://msdn.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx

larnya

14-04-2010 15:19:09

Well,thank you again.
I would try it. :wink:

Altren

14-04-2010 17:51:08

Er, did you also copied RenderSystem_DirectX.dll and RenderSystem_OpenGL.dll or you forgot about those?

a122467532

15-04-2010 03:21:16

I have a the same problem.
there some pictures:
if i run from IDE VS2008
there is no rendersystem to choose.
I have copied necessary .dll to the mygui debug dir,
If i run from the debug dir,d3dx9_36.dll is required. then ,Abort appeared.

can you give us an advice on how to configure mygui.I don't use the mygui dependences, Ogre dependences instead.

larnya

15-04-2010 06:52:18

Er, did you also copied RenderSystem_DirectX.dll and RenderSystem_OpenGL.dll or you forgot about those?
Wow,that's the key point!!
Now it works!!
Thank you Altren, very very much :D

larnya

15-04-2010 06:55:44

I have a the same problem.
there some pictures:
if i run from IDE VS2008
there is no rendersystem to choose.
I have copied necessary .dll to the mygui debug dir,
If i run from the debug dir,d3dx9_36.dll is required. then ,Abort appeared.

can you give us an advice on how to configure mygui.I don't use the mygui dependences, Ogre dependences instead.


Try to copy the dlls from Ogre into the bin folder of MYGUI, just did what Altren said. :wink: