Why wlink does not find symbols IID_ID3D11Texture2D and IID_IDXGISurface1 in dxguid.lib in DXSDK June 2010? #1454
RodionKarimov
started this conversation in
General
Replies: 1 comment 9 replies
-
I don't know what ow_portable_v2_stable is. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I compile project, that uses DX11 from DXSDK June 2010 - it compiles fine, but on linking stage it does not find symbols IID_ID3D11Texture2D and IID_IDXGISurface1 in dxguid.lib .
wlink system nt_win option q option map name nova95.exe file {...} libpath ... lib ddraw.lib lib dxguid.lib lib dxgi.lib lib d3d11.lib lib d3dx11d.lib lib d3dcompiler.lib lib winmm.lib
Error! E2028: IID_ID3D11Texture2D is an undefined reference
Error! E2028: IID_IDXGISurface1 is an undefined reference
file winobjsr\GraphicsEngine.obj(...): undefined symbol IID_ID3D11Texture2D
file winobjsr\GraphicsEngine.obj(...): undefined symbol IID_IDXGISurface1
I replaced __uuidof () in :
SwapChain -> GetBuffer ( 0, __uuidof (IDXGISurface1), ( void ** ) & pSurface1 );
SwapChain -> GetBuffer ( 0, __uuidof ( ID3D11Texture2D ), ( LPVOID * ) & BackBuffer );
with :
SwapChain -> GetBuffer ( 0, IID_IDXGISurface1, ( void ** ) & pSurface1 );
SwapChain -> GetBuffer ( 0, IID_ID3D11Texture2D, ( LPVOID * ) & BackBuffer );
.
Everything compiles and all other symbols are defined; only these two from __uuidof () replacement are not found.
I open dxguid.lib as text and symbols IID_IDXGISurface1 and IID_ID3D11Texture2D are present there. So, it seems, that wlink does not find them.
I use ow_portable_v2_stable.
Beta Was this translation helpful? Give feedback.
All reactions