Jump to content
  • Advertisement
Sign in to follow this  
directXtreme

Probilem with Jason's CModel Class.

This topic is 4177 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to use the CModel class made by Jason Jurecka, but as you can see below, there's a few problems that are really, really, really pissing me off. So if u can please help me with this, i'd appreciate it. Compiling... CModel.cpp c:\program files\microsoft directx sdk (april 2007)\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800 c:\Documents and Settings\DINOKILLER.ROARIO-OE9JCAJW\Desktop\Genesis\TestApp-2079\TestApp\CModel.cpp(45) : error C2259: 'CAllocateHierarchy' : cannot instantiate abstract class due to following members: 'HRESULT ID3DXAllocateHierarchy::CreateMeshContainer(LPCSTR,const D3DXMESHDATA *,const D3DXMATERIAL *,const D3DXEFFECTINSTANCE *,DWORD,const DWORD *,LPD3DXSKININFO,LPD3DXMESHCONTAINER * )' : pure virtual function was not defined c:\Program Files\Microsoft DirectX SDK (April 2007)\Include\d3dx9anim.h(168) : see declaration of 'ID3DXAllocateHierarchy::CreateMeshContainer' c:\Documents and Settings\DINOKILLER.ROARIO-OE9JCAJW\Desktop\Genesis\TestApp-2079\TestApp\CModel.cpp(64) : error C2259: 'CAllocateHierarchy' : cannot instantiate abstract class due to following members: 'HRESULT ID3DXAllocateHierarchy::CreateMeshContainer(LPCSTR,const D3DXMESHDATA *,const D3DXMATERIAL *,const D3DXEFFECTINSTANCE *,DWORD,const DWORD *,LPD3DXSKININFO,LPD3DXMESHCONTAINER * )' : pure virtual function was not defined c:\Program Files\Microsoft DirectX SDK (April 2007)\Include\d3dx9anim.h(168) : see declaration of 'ID3DXAllocateHierarchy::CreateMeshContainer' c:\Documents and Settings\DINOKILLER.ROARIO-OE9JCAJW\Desktop\Genesis\TestApp-2079\TestApp\CModel.cpp(227) : error C2039: 'SetTime' : is not a member of 'ID3DXAnimationController' c:\Program Files\Microsoft DirectX SDK (April 2007)\Include\d3dx9anim.h(687) : see declaration of 'ID3DXAnimationController' Build log was saved at "file://c:\Documents and Settings\Dinokiller\Desktop\Hall\sources\chapter14\Framework\Debug\BuildLog.htm" Framework - 3 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!