我试图编译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
如何解决?
谢谢