I´m trying to build a Game with DirectX 11 on Windows 7.
I have downloaded the DX-SDK June 2010 and build a DXUT.lib from the code in Samples/C++/DXUT11/Core.
When using any DXUT-Function the linker throws the error:
LNK2001: unresolved extern symbol "_D3DXSaveSurfaceToFileW@20"
The way i´m linking the lib is:
#pragma comment (lib, "DXUT.lib")
Also i´m including the DXUT.h from the DX SDK folder.
Does anybody know how to fix this problem?
You should link d3dx9.lib, and include D3dx9tex.h, please see the MSDN page for function D3DXSaveSurfaceToFile