ange-yaghi / scs-2d-demo

Demo for the Simple 2D Constraint Solver.
85 stars 15 forks source link

Missing directx dll #1

Open rviertel opened 1 year ago

rviertel commented 1 year ago

After compiling I try to run the executable and get the following error message

"The code execution cannot proceed because d3dx10d_43.dll was not found. Reinstalling the program may fix this problem."

I have the latest version of DirectX runtime installed, but I have no idea where to find this dll. Googling didn't help me. Sorry if this should be obvious, I'm new to developing on Windows..

lokitkhemka commented 1 year ago

I am having the same issue. Any help??

ZIQIANG059 commented 1 year ago

Yeah, here. Same issue

ange-yaghi commented 1 year ago

As the error message implies, that particular dll is missing. It's a bit hard to find because it's part of the ancient Direct X SDK which doesn't really exist anymore. It is possible to find by installing this older SDK but it might be easier to just update the Delta engine submodule to the most recent version which doesn't depend on this DLL. I'll make this change at some point when I have time.

Komdori commented 1 year ago

I was also having the same issue. Ange's hint that "it's part of the ancient Direct X SDK" led me to google search and discover this file was part of the June 2010 DirectX SDK. And while it is certainly end of life and no longer supported, the ancient SDK is still available from Microsoft here: https://www.microsoft.com/en-us/download/details.aspx?id=6812

Installing this does seem to allow my debug build of scs-2d-demo.exe to run. However, new problem is that it only runs for a few seconds before terminating. While it's on screen for those few seconds, it's in a window approximately 1080p sized with the title "Simple 2D Constraint Solver Demo | AngeTheGreat" and the window contents is just solid white.

Update: It successfully runs in debug from within Visual Studio!! Now to dive into code to figure out controls and how to change between the various demos.