DirectX:“空样本”编译错误(x86)-1个未解决的错误

时间:2019-07-17 15:32:43

标签: c++ directx

我试图编译Direct 3D示例,称为“ EmptyProject”-我在项目链接中添加了带有库的“ Include”文件夹和“ Lib / x86”文件夹。 但是在编译时出现错误:

    Severity    Code    Description Project File    Line    Suppression State
Error   LNK2019 unresolved external symbol __vsnwprintf referenced in function "long __stdcall StringVPrintfWorkerW(unsigned short *,unsigned int,unsigned int *,unsigned short const *,char *)" (?StringVPrintfWorkerW@@YGJPAGIPAIPBGPAD@Z)    EmptyProject    C:\Microsoft DirectX SDK (June 2010)\Samples\C++\Direct3D\EmptyProject - Copy\dxerr.lib(dxerrw.obj) 1

enter image description here

如何解决?

谢谢

0 个答案:

没有答案