当我构建我的解决方案时,我得到了这些构建时间错误。
1>DDSTextureLoader.obj : 错误 LNK2019:函数“long __cdecl CreateTextureFromDDS(struct ID3D11Device *,struct DDS_HEADER *,unsigned char *,unsigned int,struct ID3D11ShaderResourceView * ,bool)" (?CreateTextureFromDDS@@YAJPAUID3D11Device@@PAUDDS_HEADER@@PAEIPAPAUID3D11ShaderResourceView@@_N@Z) 1>mainInvoke.obj:错误 LNK2019:无法解析的外部符号“void __stdcall DXUTSetCallbackFrameMove(void (__stdcall )(double,float,void *),void )" (?DXUTSetCallbackFrameMove@@YGXP6GXNMPAX@Z0@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“无效 __stdcall DXUTSetCallbackMsgProc(long (__stdcall)(struct HWND *,unsigned int,unsigned int,long,bool *,void *),void )" (?DXUTSetCallbackMsgProc@@YGXP6GJPAUHWND__@@IIJPA_NPAX@Z2@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“void stdcall DXUTSetCallbackDeviceChanging(bool (__stdcall )(struct DXUTDeviceSettings *,void *),void )”(?DXUTSetCallbackDeviceChanging@@YGXP6G_NPAUDXUTDeviceSettings@@PAX@Z1@Z) 在函数 _wWinMain@16 1>mainInvoke 中引用.obj : 错误 LNK2019: 无法解析的外部符号 "void __stdcall DXUTSetCallbackD3D11DeviceAcceptable(bool (__stdcall )(class CD3D11EnumAdapterInfo const *,unsigned int,class CD3D11EnumDeviceInfo const *,enum DXGI_FORMAT,bool,void *),void)" (?DXUTSetCallbackD3D11DeviceAcceptable@@YGXP6G_NPBVCD3D11EnumAdapterInfo@@IPBVCD3D11EnumDeviceInfo@@W4DXGI_FORMAT@@_NPAX@Z4@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:无法解析的外部符号“void __stdcall(dlong(__Callbackd3D1 )1 ) struct ID3D11Device *,struct DXGI_SURFACE_DESC const *,void *),void )" (?DXUTSetCallbackD3D11DeviceCreated@@YGXP6GJPAUID3D11Device@@PBUDXGI_SURFACE_DESC@@PAX@Z2@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:无法解析的外部符号“void __stdcall DXUTSetCallbackD3D11SwapChainResized(long (__stdcall )(struct ID3D11Device *,struct IDXGISwapChain *,struct DXGI_SURFACE_DESC const *,void *),void)" (?DXUTSetCallbackD3D11SwapChainResized@@YGXP6GJPAUID3D11Device@@PAUIDXGISwapChain@@PBUDXGI_SURFACE_DESC@@PAX@Z3@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“void __stdcall DXUTSetCallbackD3D11(FrameRender(void__stcall )) struct ID3D11Device *,struct ID3D11DeviceContext *,double,float,void *),void )" (?DXUTSetCallbackD3D11FrameRender@@YGXP6GXPAUID3D11Device@@PAUID3D11DeviceContext@@NMPAX@Z2@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019 :未解析的外部符号“void __stdcall DXUTSetCallbackD3D11SwapChainReleeasing(void (__stdcall )(void *),void)" (?DXUTSetCallbackD3D11SwapChainReleeasing@@YGXP6GXPAX@Z0@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“void __stdcall DXUTSetCallbackD3D11DeviceDestroyed(void (__stdcall )(void *),void *)”( ?DXUTSetCallbackD3D11DeviceDestroyed@@YGXP6GXPAX@Z0@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“long __stdcall DXUTInit(bool,bool,wchar_t *,bool)”(?DXUTInit@@YGJ_N0PA_W0@ Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“long __stdcall DXUTCreateWindow(wchar_t const *,struct HINSTANCE*,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YGJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解决的外部函数 _wWinMain@16 1>mainInvoke.obj 中引用的符号“long stdcall DXUTCreateDevice(enum D3D_FEATURE_LEVEL,bool,int,int)”(?DXUTCreateDevice@@YGJW4D3D_FEATURE_LEVEL@@_NHH@Z):错误 LNK2019:未解析的外部符号“long __stdcall DXUTMainLoop (struct HACCEL *)" (?DXUTMainLoop@@YGJPAUHACCEL__@@@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“longstdcall DXUTToggleFullScreen(void)" (?DXUTToggleFullScreen@@YGJXZ) 在函数 "void __stdcall OnGUIEvent(unsigned int,int,class CDXUTControl *,void *)" (?OnGUIEvent@@YGXIHPAVCDXUTControl@@PAX@Z) 1>mainInvoke 中引用。 obj:错误 LNK2019:无法解析的外部符号“void __stdcall DXUTSetCursorSettings(bool,bool)”(?DXUTSetCursorSettings@@YGX_N0@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:无法解析的外部符号“void __stdcall DXUTSetIsInGammaCorrectMode( bool)" (?DXUTSetIsInGammaCorrectMode@@YGX_N@Z) 在函数 _wWinMain@16 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“struct DXGI_SURFACE_DESC const * __stdcall DXUTGetDXGIBackBufferSurfaceDesc(void)”(?DXUTGetDXGIBackBufferSurfaceDesc@@YGPBUDXGI_SURFACE_DESC@@XZ) 在函数“void __stdcall OnFrameMove(double,float,void *)”(?OnFrameMove@@YGXNMPAX@Z) 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“struct ID3D11Device * __stdcall DXUTGetD3D11Device(void)" (?DXUTGetD3D11Device@@YGPAUID3D11Device@@XZ) 在函数 "void __stdcall OnFrameMove(double,float,void *)" (?OnFrameMove@@YGXNMPAX@Z) 1>mainInvoke.obj 中引用:错误 LNK2019 :未解析的外部符号“wchar_t const * __stdcall DXUTGetFrameStats(bool)”(?DXUTGetFrameStats@@YGPB_W_N@Z) 在函数“void __cdecl RenderText(void)”(?RenderText@@YAXXZ) 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“wchar_t const * __stdcall DXUTGetDeviceStats(void)”(?DXUTGetDeviceStats@@YGPB_WXZ) 在函数“void __cdecl RenderText(void)”(?RenderText@@YAXXZ) 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“bool __stdcall DXUTIsVsyncEnabled(void)”(?DXUTIsVsyncEnabled@@ YG_NXZ) 在函数“void __cdecl RenderText(void)”(?RenderText@@YAXXZ) 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“int __stdcall DXUTGetExitCode(void)”(?DXUTGetExitCode@@YGHXZ) 在函数中引用_wWinMain@16 1>mainInvoke.obj:错误 LNK2019:未解析的外部符号“long __stdcall DXUTTrace(char const *,unsigned long,long,wchar_t const *,bool)”(?DXUTTrace@@YGJPBDKJPB_W_N@Z) 在函数“long __cdecl CompileGaussianFilterEffects(struct ID3D11Device *,struct DXGI_SURFACE_DESC const *)"(?CompileGaussianFilterEffects@@YAJPAUID3D11Device@@PBUDXGI_SURFACE_DESC@@@Z) 1>SkyBox11.obj:错误 LNK2001:未解析的外部符号“long __stdcall DXUTTrace(char const *,unsigned long,long,wchar_t const *,bool)”(?DXUTTrace @@YGJPBDKJPB_W_N@Z) 1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall CBaseCamera::SetProjParams(float,float,float,float)" (?SetProjParams@CBaseCamera@@UAEXMM@Z) 引用在函数“long __stdcall OnD3D11ResizedSwapChain(struct ID3D11Device *,struct IDXGISwapChain *,struct DXGI_SURFACE_DESC const *,void *)”(?OnD3D11ResizedSwapChain@@YGJPAUID3D11Device@@PAUIDXGISwapChain@@PBUDXGI_SURFACE_DESC@@PAX@Z) 1>mainInvoke. :未解析的外部符号“公共:__thiscall CModelViewerCamera::CModelViewerCamera(void)" (??0CModelViewerCamera@@QAE@XZ) 在函数“void __cdecl”中引用dynamic initializer for 'g_Camera''(void)" (??__Eg_Camera@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: virtual long __thiscall CModelViewerCamera::HandleMessages(struct HWND__ *,unsigned int,unsigned int,long)" (?HandleMessages@CModelViewerCamera@@UAEJPAUHWND__@@IIJ@Z) referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long,bool *,void *)" (?MsgProc@@YGJPAUHWND__@@IIJPA_NPAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall CModelViewerCamera::FrameMove(float)" (?FrameMove@CModelViewerCamera@@UAEXM@Z) referenced in function "void __stdcall OnFrameMove(double,float,void *)" (?OnFrameMove@@YGXNMPAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: __thiscall CDXUTDialog::CDXUTDialog(void)" (??0CDXUTDialog@@QAE@XZ) referenced in function "void __cdecl
'g_HUD''(void)" (??__Eg_HUD@@YAXXZ) 1>mainInvoke.obj 的动态初始化程序:错误 LNK2019:未解析的外部符号“public:__thiscall CDXUTDialog::~CDXUTDialog(void)”(??1CDXUTDialog@@ QAE@XZ) 在函数“void __cdecl dynamic atexit destructor for 'g_HUD''(void)" (??__Fg_HUD@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: void __thiscall CDXUTDialog::Init(class CDXUTDialogResourceManager *,bool)" (?Init@CDXUTDialog@@QAEXPAVCDXUTDialogResourceManager@@_N@Z) referenced in function "void __cdecl InitApp(void)" (?InitApp@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CDXUTDialog::MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@CDXUTDialog@@QAE_NPAUHWND__@@IIJ@Z) referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long,bool *,void *)" (?MsgProc@@YGJPAUHWND__@@IIJPA_NPAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTDialog::AddStatic(int,wchar_t const *,int,int,int,int,bool,class CDXUTStatic * *)" (?AddStatic@CDXUTDialog@@QAEJHPB_WHHHH_NPAPAVCDXUTStatic@@@Z) referenced in function "void __cdecl InitApp(void)" (?InitApp@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTDialog::AddButton(int,wchar_t const *,int,int,int,int,unsigned int,bool,class CDXUTButton * *)" (?AddButton@CDXUTDialog@@QAEJHPB_WHHHHI_NPAPAVCDXUTButton@@@Z) referenced in function "void __cdecl InitApp(void)" (?InitApp@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTDialog::AddComboBox(int,int,int,int,int,unsigned int,bool,class CDXUTComboBox * *)" (?AddComboBox@CDXUTDialog@@QAEJHHHHHI_NPAPAVCDXUTComboBox@@@Z) referenced in function "void __cdecl InitApp(void)" (?InitApp@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTDialog::AddSlider(int,int,int,int,int,int,int,int,bool,class CDXUTSlider * *)" (?AddSlider@CDXUTDialog@@QAEJHHHHHHHH_NPAPAVCDXUTSlider@@@Z) referenced in function "void __cdecl InitApp(void)" (?InitApp@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: class CDXUTControl * __thiscall CDXUTDialog::GetControl(int,unsigned int)const " (?GetControl@CDXUTDialog@@QBEPAVCDXUTControl@@HI@Z) referenced in function "public: class CDXUTComboBox * __thiscall CDXUTDialog::GetComboBox(int)const " (?GetComboBox@CDXUTDialog@@QBEPAVCDXUTComboBox@@H@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: void __thiscall CDXUTDialog::SetCallback(void (__stdcall*)(unsigned int,int,class CDXUTControl *,void *),void *)" (?SetCallback@CDXUTDialog@@QAEXP6GXIHPAVCDXUTControl@@PAX@Z1@Z) referenced in function "void __cdecl InitApp(void)" (?InitApp@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTDialog::OnRender(float)" (?OnRender@CDXUTDialog@@QAEJM@Z) referenced in function "void __stdcall OnD3D11FrameRender(struct ID3D11Device *,struct ID3D11DeviceContext *,double,float,void *)" (?OnD3D11FrameRender@@YGXPAUID3D11Device@@PAUID3D11DeviceContext@@NMPAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: __thiscall CDXUTDialogResourceManager::CDXUTDialogResourceManager(void)" (??0CDXUTDialogResourceManager@@QAE@XZ) referenced in function "void __cdecl
dynamic initializer for 'g_DialogResourceManager''(void)”中引用 (??__Eg_DialogResourceManager@@YAXXZ) 1>mainInvoke.obj:错误 LNK2019:未解析的外部符号“公共:__thiscall CDXUTDialogResourceManager::~CDXUTDialogResourceManager (void)" (??1CDXUTDialogResourceManager@@QAE@XZ) 在函数“void __cdecl”中引用dynamic atexit destructor for 'g_DialogResourceManager''(void)" (??__Fg_DialogResourceManager@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CDXUTDialogResourceManager::MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@CDXUTDialogResourceManager@@QAE_NPAUHWND__@@IIJ@Z) referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long,bool *,void *)" (?MsgProc@@YGJPAUHWND__@@IIJPA_NPAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTDialogResourceManager::OnD3D11ResizedSwapChain(struct ID3D11Device *,struct DXGI_SURFACE_DESC const *)" (?OnD3D11ResizedSwapChain@CDXUTDialogResourceManager@@QAEJPAUID3D11Device@@PBUDXGI_SURFACE_DESC@@@Z) referenced in function "long __stdcall OnD3D11ResizedSwapChain(struct ID3D11Device *,struct IDXGISwapChain *,struct DXGI_SURFACE_DESC const *,void *)" (?OnD3D11ResizedSwapChain@@YGJPAUID3D11Device@@PAUIDXGISwapChain@@PBUDXGI_SURFACE_DESC@@PAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: void __thiscall CDXUTDialogResourceManager::OnD3D11ReleasingSwapChain(void)" (?OnD3D11ReleasingSwapChain@CDXUTDialogResourceManager@@QAEXXZ) referenced in function "void __stdcall OnD3D11ReleasingSwapChain(void *)" (?OnD3D11ReleasingSwapChain@@YGXPAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: void __thiscall CDXUTDialogResourceManager::OnD3D11DestroyDevice(void)" (?OnD3D11DestroyDevice@CDXUTDialogResourceManager@@QAEXXZ) referenced in function "void __stdcall OnD3D11DestroyDevice(void *)" (?OnD3D11DestroyDevice@@YGXPAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTStatic::SetText(wchar_t const *)" (?SetText@CDXUTStatic@@QAEJPB_W@Z) referenced in function "void __stdcall OnGUIEvent(unsigned int,int,class CDXUTControl *,void *)" (?OnGUIEvent@@YGXIHPAVCDXUTControl@@PAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTComboBox::AddItem(wchar_t const *,void *)" (?AddItem@CDXUTComboBox@@QAEJPB_WPAX@Z) referenced in function "void __cdecl InitApp(void)" (?InitApp@@YAXXZ)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: void * __thiscall CDXUTComboBox::GetSelectedData(void)const " (?GetSelectedData@CDXUTComboBox@@QBEPAXXZ) referenced in function "void __stdcall OnGUIEvent(unsigned int,int,class CDXUTControl *,void *)" (?OnGUIEvent@@YGXIHPAVCDXUTControl@@PAX@Z)
1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: __thiscall CD3DSettingsDlg::CD3DSettingsDlg(void)" (??0CD3DSettingsDlg@@QAE@XZ) referenced in function "void __cdecl
'g_D3DSettingsDlg''(void)" 的动态初始化程序 (??__Eg_D3DSettingsDlg@@YAXXZ) 1>mainInvoke.obj : 错误 LNK2019: 未解析的外部符号 "public: __thiscall CD3DSettingsDlg::~CD3DSettingsDlg(void)" (??1CD3DSettingsDlg@@ QAE@XZ) 在函数“void __cdecl `dynamic atexit destructor for 'g_D3DSettingsDlg'(void)”中引用 (??__Fg_D3DSettingsDlg@@YAXXZ) 1>mainInvoke.obj:错误 LNK2019:未解析的外部符号“public:void __thiscall CD3DSettingsDlg: :Init(class CDXUTDialogResourceManager *)" (?Init@CD3DSettingsDlg@@QAEXPAVCDXUTDialogResourceManager@@@Z) 在函数 "void __cdecl InitApp(void)" (?InitApp@@YAXXZ) 1>mainInvoke.obj 中引用:错误 LNK2019:未解决的外部符号“公共:无效 __thiscall CD3DSettingsDlg::OnRender(float)”(?OnRender@CD3DSettingsDlg@@QAEXM@Z) 在函数“void __stdcall OnD3D11FrameRender(struct ID3D11Device *,struct ID3D11DeviceContext *,double,float,void *)”(?OnD3D11FrameRender@@YGXPAUID3D11Device@@PAUID3D11DeviceContext@@NMPAX@Z)中引用1>mainInvoke.obj : 错误 LNK2019: 无法解析的外部符号 "public: long __thiscall CD3DSettingsDlg::OnD3D11ResizedSwapChain(struct ID3D11Device *,struct DXGI_SURFACE_DESC const *)" (?OnD3D11ResizedSwapChain@CD3DSettingsDlg@@QAEJPAUID3D11Device@@PBUDXGI_SURFACE_DESC)函数“长__stdcall OnD3D11ResizedSwapChain(结构ID3D11Device *,结构IDXGISwapChain *,结构DXGI_SURFACE_DESC const *,void *)”(?OnD3D11ResizedSwapChain@@YGJPAUID3D11Device@@PAUIDXGISwapChain@@PBUDXGI_SURFACE_DESC@@PAX@Z)LNK2019:obj:错误。函数“void __stdcall OnD3D11DestroyDevice(void *)”(?OnD3D11DestroyDevice@@YGXPAX@Z) 1>mainInvoke 中引用了未解析的外部符号“public: void __thiscall CD3DSettingsDlg::OnD3D11DestroyDevice(void)”(?OnD3D11DestroyDevice@CD3DSettingsDlg@@QAEXXZ)。 obj : error LNK2019: unresolved external symbol "public: long __thiscall CD3DSettingsDlg::MsgProc(struct HWND*,unsigned int,unsigned int,long)" (?MsgProc@CD3DSettingsDlg@@QAEJPAUHWND__@@IIJ@Z) 在函数 "long stdcall MsgProc(struct HWND*,unsigned int,unsigned int,long,bool *,void *)" (?MsgProc@@YGJPAUHWND__@@IIJPA_NPAX@Z) 1>mainInvoke.obj : error LNK2019: unresolved external symbol "public: long __thiscall CDXUTResourceCache::OnDestroyDevice (void)" (?OnDestroyDevice@CDXUTResourceCache@@QAEJXZ) 在函数 "void __stdcall OnD3D11DestroyDevice(void *)" (?OnD3D11DestroyDevice@@YGXPAX@Z) 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号 "class CDXUTResourceCache & __stdcall DXUTGetGlobalResourceCache(void)" (?DXUTGetGlobalResourceCache@@YGAAVCDXUTResourceCache@@XZ) 在函数 "void __stdcall OnD3D11DestroyDevice(void *)" (?OnD3D11DestroyDevice@@YGXPAX@Z) 1>mainInvoke.obj : error LNK2019: unresolved external symbol "中引用公共:无效 __thiscall CDXUTTextHelper::Begin(void)"(?Begin@CDXUTTextHelper@@QAEXXZ) 在函数“void __cdecl RenderText(void)”(?RenderText@@YAXXZ) 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“public:long __thiscall CDXUTTextHelper::DrawTextLine(wchar_t const *)" (?DrawTextLine@CDXUTTextHelper@@QAEJPB_W@Z) 在函数 "void __cdecl RenderText(void)" (?RenderText@@YAXXZ) 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号 "public: void __thiscall CDXUTTextHelper::End(void)" (?End@CDXUTTextHelper@@QAEXXZ) 在函数“void __cdecl RenderText(void)”(?RenderText@@YAXXZ) 1>mainInvoke.obj 中引用:错误 LNK2019:未解析的外部符号“long __stdcall DXUTFindDXSDKMediaFileCch(wchar_t *,int,wchar_t const *)"(?DXUTFindDXSDKMediaFileCch@@YGJPA_WHPB_W@Z) 在函数“long __cdecl CompileGaussianFilterEffects(struct ID3D11Device *,struct DXGI_SURFACE_DESC const *)”(?CompileGaussianFilterEffects@@YAJPAUID3D11Device@@PBUDXGI_SURFACE_DESC@@@Z) 1>mainInvoke.obj 中引用:错误函数 _wWinMain@16 1>mainInvoke.obj 中引用的未解析外部符号“long __stdcall DXUTSetMediaSearchPath(wchar_t const *)”(?DXUTSetMediaSearchPath@@YGJPB_W@Z):错误 LNK2019:函数“long __cdecl CompileGaussianFilterEffects”中引用的未解析外部符号 _D3DX11CreateEffectFromMemory@20 (struct ID3D11Device *,struct DXGI_SURFACE_DESC const *)" (?CompileGaussianFilterEffects@@YAJPAUID3D11Device@@PBUDXGI_SURFACE_DESC@@@Z) 1>mainInvoke.obj:错误 LNK2019:未解析的外部符号“long __stdcall OnD3D11CreateDevice(struct ID3D11Device *,struct DXGI_SURFACE_DESC const *,void *)" (?OnD3D11CreateDevice@@YGJPAUID3D11Device@@PBUDXGI_SURFACE_DESC@@PAX@Z) 在函数 _wWinMain@16 1>D:\VisualStudioProjects\DX11GaussianBlur\DX11GaussianBlur\Debug \DX11GaussianBlur.exe : 致命错误 LNK1120: 64 unresolved externals
P.S. after building i am getting that build time errors , right now i am linking these libs:
d3dcompiler.lib
dxguid.lib
winmm.lib
comctl32.lib
usp10.lib
Can u give me any solution or something else to fix that.