
我正在嘗試建立氏族模擬器來自 SourceForge 上的原始碼。我的電腦上安裝了 Visual Studio Enterprise 2019。我遇到了錯誤fatal error LNK1181: cannot open input file 'dinput.lib'
安裝 DirectX SDK 後,我不斷收到該錯誤。我發現了從“DirectInputCreate”更改為“DirectInput8Create”的建議,並進行了所有相關的更改,但它仍然嘗試引用“dinput.lib”而不是“dinput8.lib”。我有什麼明顯遺漏的東西嗎?