You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a d3dcompiler_47.dll under windows\system32. Not sure where the d3dcompiler_47.lib is expected to be.
Is there a specific version of the Windows SDK that should be installed?
The metadata indicates the name of the DLL that exports the given function, but Rust doesn't yet support DLL imports and expects a LIB file to resolve those imports. If you have the Windows SDK installed, there will usually be a LIB file by the right name that Rust can use but this is not guaranteed. There are a few edge cases like this one where this doesn't quite line up. I considered generating my own LIB files for the windows crate #142 but we have some folks looking into implementing DLL imports for Rust and I'm hopeful that will arrive soon.
I am trying to use the DirectML api by translating this example to Rust. Unfortunately I am getting a linker error:
In the generated bindings file
windows.rs
I noticed the following:There is a
d3dcompiler_47.dll
underwindows\system32
. Not sure where thed3dcompiler_47.lib
is expected to be.Is there a specific version of the Windows SDK that should be installed?
Here are the bindings I am trying to use:
Here is a minimal failing test:
The text was updated successfully, but these errors were encountered: