Hi all,
I am just trying to put CEGUI into a DirectX 9 project (the simple sample project you get from the direct x sample browser)
however when i try to run it i get the error that the d3dx9d_40.dll was not found.
I am using CEGUI 0.6.2 and i am running visual studio's 2008.
Has anyone got any ideas? btw the error only started when i added the CEGUI DX 9 renderer.
Regards
Mark
DLL error when trying to run my project
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 8
- Joined: Thu Apr 01, 2010 12:23
Re: DLL error when trying to run my project
You need to update your DirectX runtime.
-
- Just popping in
- Posts: 8
- Joined: Thu Apr 01, 2010 12:23
Re: DLL error when trying to run my project
Hi,
I have updated the runtime and the sdk to the latest and yet i still have the same issue. any thoughts?
Regards
Mark
I have updated the runtime and the sdk to the latest and yet i still have the same issue. any thoughts?
Regards
Mark
Re: DLL error when trying to run my project
Oh, sorry I didn't notice that was the debug DLL. I'm not absolutely sure, but i think you need to link d3dx9.lib instead of d3dx9d.lib in your project.
EDIT: It seems the debug DLLs are included in DX SDK, so I guess the best option would be to use them. Just copy them to a place where your program can find them. I've never use the debug libraries myself, I just always link the retail libraries cause I'm lazy.
EDIT: It seems the debug DLLs are included in DX SDK, so I guess the best option would be to use them. Just copy them to a place where your program can find them. I've never use the debug libraries myself, I just always link the retail libraries cause I'm lazy.
-
- Just popping in
- Posts: 8
- Joined: Thu Apr 01, 2010 12:23
Re: DLL error when trying to run my project
Hi Timo,
What i have noticed is that it is asking for the _40.dll but i only have the _41.dll. Could it possibly be that the CEGUI dx9 render interface is made for a different version of the DX sdk?
Regards
Mark
What i have noticed is that it is asking for the _40.dll but i only have the _41.dll. Could it possibly be that the CEGUI dx9 render interface is made for a different version of the DX sdk?
Regards
Mark
Re: DLL error when trying to run my project
markblue777 wrote:Hi Timo,
What i have noticed is that it is asking for the _40.dll but i only have the _41.dll. Could it possibly be that the CEGUI dx9 render interface is made for a different version of the DX sdk?
Regards
Mark
If you're using the precompiled CEGUI binaries then I suppose it might require a debug DLL supplied with older version of the DXSDK. But if you compile CEGUI yourself it should work with any relatively new DXSDK version.
-
- Just popping in
- Posts: 8
- Joined: Thu Apr 01, 2010 12:23
Re: DLL error when trying to run my project
OK mate. i'll give it a go and see what happens. Thanks for the help man
Regards
Mark
Regards
Mark
-
- Just popping in
- Posts: 8
- Joined: Thu Apr 01, 2010 12:23
Re: DLL error when trying to run my project
still no joy after building them on my machine. any other ideas?
Regards
Mark
Regards
Mark
Re: DLL error when trying to run my project
So it still asks _40.dll after compiling CEGUI with latest DXSDK?
-
- Just popping in
- Posts: 8
- Joined: Thu Apr 01, 2010 12:23
Re: DLL error when trying to run my project
Well that's really weird. If you did build it then it should now use D3dx9d_42.dll. (or whatever version you have)
So, all I can say is, make sure you built the right configuration (debug vs. debug_static), and that your project is actually using the new lib/dll you built.
So, all I can say is, make sure you built the right configuration (debug vs. debug_static), and that your project is actually using the new lib/dll you built.
-
- Just popping in
- Posts: 8
- Joined: Thu Apr 01, 2010 12:23
Re: DLL error when trying to run my project
ok then mate, cheers. I will give it another go and see what i can do.
Regards
Mark
Regards
Mark
Who is online
Users browsing this forum: No registered users and 12 guests