D3D9 編譯出錯

1>D3DX.obj : error LNK2019: 無法解析的外部符號 _Direct3DCreate9@4,該符號在函數 "long __cdecl InitDirect3D(struct HWND__ *)" (?InitDirect3D@@YAJPAUHWND__@@@Z) 中被引用
1>D:\pro\D3D\Debug\D3D.exe : fatal error LNK1120: 1 個無法解析的外部命令
在項目-》鏈接器-》輸出-》附加依賴項中添加  d3d9.lib

 1 error LNK2019: 無法解析的外部符號 __imp__timeGetTime@0,該符號在函數

"public: static unsigned __int64 __cdecl

resip::ResipClock::WinMonoClock::GTCInterlocked::GTC64(void)" (?

GTC64@GTCInterlocked@WinMonoClock@ResipClock@resip@@SA_KXZ) 中被引用 rutil.lib 

phone

同樣,在附加依賴項中添加 Winmm.lib
ok,解決了。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章