I realize this might not be the place to ask this, but I've tried many places and just seem to be ignored, I hope you guys can help.
I'm getting some problems that I can't seem to fix when I try to compile my code.
I get this error:
error C2660: 'D3DX10CreateEffectFromFileW' : function does not take 12 arguments
And it applies to this line:
r = D3DX10CreateEffectFromFile(L"../GameLib/DefaultShader.fx", NULL, NULL, "fx_4_0", shaderFlags, 0, m_pDevice, NULL, NULL, &m_pDefaultEffect, &pErrors, NULL);
Now the problem would usually seem obvious, but the problem is that the function actually does take 12 arguments. So I would guess that this error has something to do with the linker error or vise-versa.
I also get this error, which I realize is a linking error but I've linked all the correct libraries.
error LNK2001: unresolved external symbol _D3DX10CreateTextureFromFileW@20
These are what I have linked
ws2_32.lib
winmm.lib
dsound.lib
dinput8.lib
d3d10.lib
d3dx10.lib
dxguid.lib
odbc32.lib
odbccp32.lib
d3dx10d.lib