Unresolved External Symbols
<p>I'm working on a small game that requires mouse input (position and left clicks). I have a GameManager class that controls a GameScreen, which includes <code>d3d9.h d3dx9.h</code> and <code>dinput.h</code>. I had everything working (building, no errors) before I added the mouse input code and <code>#include &lt;dinput.h&gt;</code>. However now, I can't build and am faced with</p>

<pre><code>1&gt;GameScreen.obj : error LNK2001: unresolved external symbol _GUID_SysMouse
1&gt;GameScreen.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A
1&gt;dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_ZAxis
1&gt;dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_YAxis
1&gt;dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_XAxis
</code></pre>

<p>And aren't sure what caused it. In my Linker I have <code>d3d9.lib;d3dx9.lib;dinput8.lib;%(AdditionalDependencies)</code> as Additional Dependencies, and I've made sure all those files are present in the x86 DirectX directory. I can provide additional information if need be, I'm new to C++ so I'm not sure what's typical protocol for sharing relevant information.</p>
