Linking with d3d11.dll/lib

John Burton john.burton at jbmail.com
Thu Feb 23 15:03:20 PST 2012


I'm trying to use the d3d11 bindings in
http://www.dsource.org/projects/bindings/wiki/DirectX to call
direct3d11 functions from my D program.

I've managed to get the code to compiler but when it links I get
this error -

Error 42 Symbol Undefined _D3D11CreateDeviceAndSwapChain at 48

I have copied the D3D11.lib from the D3D SDK into my project and
then run "COFFIMPLIB d3d11.lib -f" to convert it and included the
library in my project settings.

Is there something else I need to do to make this link? Any help
appreciated.


More information about the Digitalmars-d-learn mailing list