indielib-crossplatform icon indicating copy to clipboard operation
indielib-crossplatform copied to clipboard

Problem compiling on Windows DX9

Open AlainBridel opened this issue 13 years ago • 1 comments

XMeshHierarchy that is ID3DXAllocateHierarchy descendant is implementing CreateMeshContainer (pure virtual) with a different signature defined in d3dx9anim.h.

This result with XMeshHierarchy not able to be instanciated.

Compiler VC2008 + DX9 SDK

signature expected : STDMETHOD(CreateMeshContainer)(THIS_ LPCSTR Name, LPD3DXMESHDATA pMeshData, LPD3DXMATERIAL pMaterials, LPD3DXEFFECTINSTANCE pEffectInstances, DWORD NumMaterials, DWORD *pAdjacency, LPD3DXSKININFO pSkinInfo, LPD3DXMESHCONTAINER *ppNewMeshContainer) PURE;

AlainBridel avatar Nov 14 '12 16:11 AlainBridel

I thinik it relates to #1, as unfortunately, we dropped support (for now) for 3d features, when starting development of crossplatform version. anyway Indielib's strength is in 2d features. We'll fix this later on in development. I'll assign good milestone for this

DarthMike avatar Nov 14 '12 19:11 DarthMike