TestBed.obj : error LNK2001: unresolved external symbol _D3DXVec3Dot@8
TestBed.obj : error LNK2001: unresolved external symbol _D3DXVec3Cross@12
TestBed.obj : error LNK2001: unresolved external symbol _D3DXMatrixIdentity@4
TestBed.obj : error LNK2001: unresolved external symbol _D3DXQuaternionIdentity@
4
TestBed.exe : fatal error LNK1120: 4 unresolved externals
_
Link error
Press any key to continue . . .
I am including d3dx9.lib, why are just these not resolved?
MSDN says they live in d3dx9.lib !!
TestBed.obj : error LNK2001: unresolved external symbol _D3DXVec3Cross@12
TestBed.obj : error LNK2001: unresolved external symbol _D3DXMatrixIdentity@4
TestBed.obj : error LNK2001: unresolved external symbol _D3DXQuaternionIdentity@
4
TestBed.exe : fatal error LNK1120: 4 unresolved externals
_
Link error
Press any key to continue . . .
I am including d3dx9.lib, why are just these not resolved?
MSDN says they live in d3dx9.lib !!
try to include d3d9.lib
Afternoon, EvilHomer2k.
D3DXQuaternionIdentity has a declaration inside d3dx9math.h.
d3dx9math.h includes d3dx9math.inl.
Inside d3dx9math.inl is:
You'll find it's similar to the other unresolved symbols.
Cheers,
Scronty
D3DXQuaternionIdentity has a declaration inside d3dx9math.h.
d3dx9math.h includes d3dx9math.inl.
Inside d3dx9math.inl is:
D3DXINLINE D3DXQUATERNION* D3DXQuaternionIdentity
( D3DXQUATERNION *pOut )
{
#ifdef D3DX_DEBUG
if(!pOut)
return NULL;
#endif
pOut->x = pOut->y = pOut->z = 0.0f;
pOut->w = 1.0f;
return pOut;
}
You'll find it's similar to the other unresolved symbols.
Cheers,
Scronty
So those 4? are inlines? thanks - I'll resolve it :)
I pinched some of caleb's fpumath macros and wrote quickie procedural wrappers for them - issues were resolved. Thanks.