   Debug build works, but unresolved externals when compiling release build
  Ok, I'm currently working on my game, Asteroids of Beyaan.  People have reported that it runs for a nanosecond, then closes.  So this is an attempt to fix that problem.First thing I thought of as potential solution is to change from debug build to release build.  As I attempted to do this, I got those errors:Linking...OutpostG.obj : error LNK2001: unresolved external symbol _D3DXCreateSprite@8OutpostG.obj : error LNK2001: unresolved external symbol _Direct3DCreate8@4OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixPerspectiveFovLH@20OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixLookAtLH@16OutpostG.obj : error LNK2001: unresolved external symbol _D3DXCreateTextureFromFileExA@56OutpostG.obj : error LNK2001: unresolved external symbol _D3DXCreateTextureFromFileA@12OutpostG.obj : error LNK2001: unresolved external symbol _D3DXLoadMeshFromX@28OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12TParticle.obj : error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixScaling@16TParticle.obj : error LNK2001: unresolved external symbol _D3DXMatrixScaling@16OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixRotationX@8OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixTranslation@16TParticle.obj : error LNK2001: unresolved external symbol _D3DXMatrixTranslation@16OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixRotationYawPitchRoll@16OutpostG.obj : error LNK2001: unresolved external symbol _D3DXMatrixOrthoLH@20OutpostG.obj : error LNK2001: unresolved external symbol _D3DXVec3Normalize@8OutpostG.obj : error LNK2001: unresolved external symbol __imp__timeGetTime@0OutpostG.obj : error LNK2001: unresolved external symbol _D3DXCreateFontIndirect@12OutpostI.obj : error LNK2001: unresolved external symbol _c_dfDIMouseOutpostI.obj : error LNK2001: unresolved external symbol _c_dfDIKeyboardOutpostI.obj : error LNK2001: unresolved external symbol _DirectInput8Create@20TParticle.obj : error LNK2001: unresolved external symbol _D3DXMatrixTranspose@8Release/The Asteroids of Beyaan.exe : fatal error LNK1120: 22 unresolved externalsIt looks like D3D8X isn't found, but why is this happening?  Why does it work in debug build, but not in retail build?   
  It could be that you just forgot to put the libraries in the additional dependenices section of the release build project settings.   ;  Yes!  That's the problem!  I didn't know that there was a seperate dependencies for release also.  Learned something new today.   