d3d10.dll missing starting debug samples
Forum » User forums / Bugs and issues » d3d10.dll missing starting debug samples
Started by: ZerdZerd
On: 1254339068|%e %b %Y, %H:%M %Z|agohover
Number of posts: 7
rss icon RSS: New posts
d3d10.dll missing starting debug samples
ZerdZerd 1254339068|%e %b %Y, %H:%M %Z|agohover

Hi there,

I just wanted to get started with your promising looking engine. (edit: I'm using the current svn snapshot and build the librarys by myself without any problem)
Unfortunately I can't start the examples (on Windows XP 64 Professional) because it tells me the d3d10.dll is missing. Since WinXP doesn't support dx10 I am a little confused why it is required in the first place?

I also can't start the release samples because I get the following error on startup:

Welcome to nGENE Tech

Logging system started...
It is now 21:27:30 30-09-2009

EVENT: Initializing utilities in nGENE::Engine::InitUtilities() function in .\Engine.cpp at line 88
GAME MESSAGE: CPU Vendor is: AuthenticAMD in nGENE::Engine::InitCPU() function in .\Engine.cpp at line 108
GAME MESSAGE: SIMD supported in nGENE::Engine::InitCPU() function in .\Engine.cpp at line 114
FATAL ERROR: Unhandled exception!!! Writing crash dump file. in nGENE::Application::createCrashDump() function in .\CrashDump.cpp at line 33

Since I can'T debug I am not able to solve this problem…
Do you have any tips for me how I can get rid of this problem?

My System:
AMD Athlon 64 X2 Dual 4400+
4gb of RAM
GeForce 8800GTS
WinXP 64 Professional
I'm using Visual Studio 2008 Professional

last edited on 1254339365|%e %b %Y, %H:%M %Z|agohover by Zerd + show more
unfold d3d10.dll missing starting debug samples by ZerdZerd, 1254339068|%e %b %Y, %H:%M %Z|agohover
Re: d3d10.dll missing starting debug samples
wtomanwtoman 1254389026|%e %b %Y, %H:%M %Z|agohover

Hi!

First check the newest version from the SVN (today commit). Maybe it'll help.

Have you rebuilt the samples as well? Also ensure there is something like "d3dx10_41.dll;d3d10.dll;" in Linker -> Input -> Delay Loaded DLLs field for nGENE Proj project (don't think it should be in any other project too). If you're using DX SDK newer than that of March 2009 you should probably replace d3dx10_41.dll with its newer version (_42 I guess?). I build the code on Vista with DX10 support so the binaries might require this step.

I also can't start the release samples because I get the following error on startup:

It seems, it crashes on initializing renderer (it should be the next message). For some reason it probably tries to use DX10 renderer and load its dlls which of course can't be found I guess. I hope you choose default (DirectX 9) renderer?

Since I can'T debug I am not able to solve this problem…

Why? Do you get any specific errors?

Let me know if it helps. If not we'll try to find a solution.

unfold Re: d3d10.dll missing starting debug samples by wtomanwtoman, 1254389026|%e %b %Y, %H:%M %Z|agohover
Re: d3d10.dll missing starting debug samples
ZerdZerd 1254403617|%e %b %Y, %H:%M %Z|agohover

Thank you for your reply!

Yes I built the samples and the tutorials by myself as well, I got the same problems (either dll missing in debug or crash on release)

I hope you choose default (DirectX 9) renderer?

Where would I have to choose this? You mean at the settings dialog when I start the examples? Yes I choose DirectX9.

Why? Do you get any specific errors?

Well yes, I can't debug because of the dll error on startup ;)

I'll check your suggestions out (I hope I find some time tonight) and let you know if it worked!

Thx again!

unfold Re: d3d10.dll missing starting debug samples by ZerdZerd, 1254403617|%e %b %Y, %H:%M %Z|agohover
Re: d3d10.dll missing starting debug samples
ZerdZerd 1254428521|%e %b %Y, %H:%M %Z|agohover

I tried your suggestions, but it didn't fix the problem.

But I think I know where it crashes. So first, here is what I did to be able to debug the Samples:

I removed all DX10 related files by setting some #ifdef around the DX10 using files.
Then I removed the lib and dll files from the project settings. After building the lib, framework and samples in debug mode I finally was able to debug the sample without the disturbing d3d19.dll missing message.

By stepping through the code I figured out there seems to be a problem with the lua system.
It crashes here:

    void ScriptSystemLua::init()
    {
        m_pLuaVM = lua_open(); // this call failes

The Message is

Unhandled exception at 0x7d4e237e in FurryBunny_VS_9.exe: 0xC06D007E: Module not found.

Might it be a problem that the lua51.dll is loaded after a delay?

unfold Re: d3d10.dll missing starting debug samples by ZerdZerd, 1254428521|%e %b %Y, %H:%M %Z|agohover
Re: d3d10.dll missing starting debug samples
wtomanwtoman 1254472009|%e %b %Y, %H:%M %Z|agohover

Thanks for you help.

Might it be a problem that the lua51.dll is loaded after a delay?

I have another idea. Probably the lua51.dll version I provided works only for x86… especially as there is version dedicated for x64…

I'm not sure if it would make any difference (at least it makes sense) but here are lua binaries downloads:

http://luabinaries.luaforge.net/download.html

You should download x64 version and replace dlls in bin/debug and bin/release folders with the ones from the download. I'd be grateful if you could test it (I do not own x64 system nor CPU) and let me know. If it helps, I'll add them to the SVN repository

unfold Re: d3d10.dll missing starting debug samples by wtomanwtoman, 1254472009|%e %b %Y, %H:%M %Z|agohover
Re: d3d10.dll missing starting debug samples
ZerdZerd 1254505340|%e %b %Y, %H:%M %Z|agohover

My earlier post wasn't exactly the right position. The error I get is coming from delayhlp.cpp (which is part of the VC library)

So I guess it must be a problem with the delayed loading of the dll. Why are you loading those dll's delayed?
I also don't really understand why it would act different on a x64 system…

I'll try to find a way to fix this…

*edit*

Ok I recently found an older post with a similar problem: http://ngene.wikidot.com/forum/t-142637
I followed the mentioned steps and it seems to work (replace lua51.lib with lua.x86.debug.lib (or lua.x86.release.lib) and delete delayed loading lua51.dll)

I could send you my projectfiles If you want to add a special x64 configuration to the repository

last edited on 1254506354|%e %b %Y, %H:%M %Z|agohover by Zerd + show more
unfold Re: d3d10.dll missing starting debug samples by ZerdZerd, 1254505340|%e %b %Y, %H:%M %Z|agohover
Re: d3d10.dll missing starting debug samples
wtomanwtoman 1254565248|%e %b %Y, %H:%M %Z|agohover

I could send you my projectfiles If you want to add a special x64 configuration to the repository

Thanks, I'd be grateful for that.

My mail is: moc.liamg|wnamot#moc.liamg|wnamot

last edited on 1254565266|%e %b %Y, %H:%M %Z|agohover by wtoman + show more
unfold Re: d3d10.dll missing starting debug samples by wtomanwtoman, 1254565248|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License