Original Post
Ok, here we go. I''ve exhausted all my ideas on this so PLEASE help me out.
I have #include to 2 header files, #include "d3d8.h" and
#include "d3dx8.h".
These files are located in the DXSDK folder on my C drive, pretty standard so far. I''ve linked both the include and lib folders under tools/options/projects/directories. Still with me?
Then how is it that I keep getting these?
error LNK2019: unresolved external symbol _D3DXMatrixLookAtLH@16 referenced in function "int __cdecl DoInit(void)" (?DoInit@@YAHXZ)
error LNK2019: unresolved external symbol _D3DXMatrixPerspectiveFovLH@20 referenced in function "int __cdecl DoInit(void)" (?DoInit@@YAHXZ)
error LNK2019: unresolved external symbol _Direct3DCreate8@4 referenced in function "int __cdecl DoInit(void)" (?DoInit@@YAHXZ)
error LNK2019: unresolved external symbol _D3DXMatrixRotationY@8 referenced in function "int __cdecl DoFrame(void)" (?DoFrame@@YAHXZ)
error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "int __cdecl DoFrame(void)" (?DoFrame@@YAHXZ)
error LNK2019: unresolved external symbol _D3DXMatrixMultiply@12 referenced in function "int __cdecl DoFrame(void)" (?DoFrame@@YAHXZ)
error LNK2019: unresolved external symbol _D3DXMatrixTranslation@16 referenced in function "int __cdecl DoFrame(void)" (?DoFrame@@YAHXZ)
error LNK2019: unresolved external symbol _D3DXMatrixTranspose@8 referenced in function "int __cdecl DoFrame(void)" (?DoFrame@@YAHXZ)
error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileA@12 referenced in function "int __cdecl SetupParticles(void)" (?SetupParticles@@YAHXZ)
I know that most of these are in the d3dx8math.h that is included in the d3dx8.h, so why the hell can''t the compiler find the definitions for these functions?
DTKubina