Original Post
I have this struct in one file and i am trying to access the static memeber in another yes the verts.h header is included in load.cpp it generates this code 3dDrawer error LNK2001: unresolved external symbol "public: static struct _D3DVERTEXELEMENT9 const * const SHADOWVERT::Decl" (?Decl@SHADOWVERT@@2QBU_D3DVERTEXELEMENT9@@B) can anyone explain to me what is goin on here I thought i had the static thing down thanks for any help
/// clip from verts.h
struct VERT
{
D3DXVECTOR3 Position;
D3DXVECTOR3 Normal;
const static D3DVERTEXELEMENT9 ele[3];
};
/// clip from load.cpp
pMesh->CloneMesh( D3DXMESH_32BIT, SHADOWVERT::ele, m_pD3dDevice, &pInputMesh );