Error's

Started by
0 comments, last by circlesoft 19 years, 4 months ago
 Compiling...
d3d9dev.cpp
Linking...
d3d9dev.obj : error LNK2001: unresolved external symbol "public: __thiscall CCrc32::~CCrc32(void)" (??1CCrc32@@QAE@XZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: __thiscall CCrc32::CCrc32(void)" (??0CCrc32@@QAE@XZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: void __thiscall ClassBaseInfo::DrawXhair(unsigned long)" (?DrawXhair@ClassBaseInfo@@QAEXK@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: void __thiscall ClassBaseInfo::DrawClock(float,float,int,int,int,int)" (?DrawClock@ClassBaseInfo@@QAEXMMHHHH@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: void __thiscall ClassBaseInfo::AddToTextures(unsigned long)" (?AddToTextures@ClassBaseInfo@@QAEXK@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::AddDirtyRect(struct tagRECT const *)" (?AddDirtyRect@hkIDirect3DTexture9@@UAGJPBUtagRECT@@@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::UnlockRect(unsigned int)" (?UnlockRect@hkIDirect3DTexture9@@UAGJI@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::LockRect(unsigned int,struct _D3DLOCKED_RECT *,struct tagRECT const *,unsigned long)" (?LockRect@hkIDirect3DTexture9@@UAGJIPAU_D3DLOCKED_REC
T@@PBUtagRECT@@K@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::GetSurfaceLevel(unsigned int,struct IDirect3DSurface9 * *)" (?GetSurfaceLevel@hkIDirect3DTexture9@@UAGJIPAPAUIDirect3DSurface9@@@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::GetLevelDesc(unsigned int,struct _D3DSURFACE_DESC *)" (?GetLevelDesc@hkIDirect3DTexture9@@UAGJIPAU_D3DSURFACE_DESC@@@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual void __stdcall hkIDirect3DTexture9::GenerateMipSubLevels(void)" (?GenerateMipSubLevels@hkIDirect3DTexture9@@UAGXXZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual enum _D3DTEXTUREFILTERTYPE __stdcall hkIDirect3DTexture9::GetAutoGenFilterType(void)" (?GetAutoGenFilterType@hkIDirect3DTexture9@@UAG?AW4_D3DTEXTUREFILTERTYPE@@XZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::SetAutoGenFilterType(enum _D3DTEXTUREFILTERTYPE)" (?SetAutoGenFilterType@hkIDirect3DTexture9@@UAGJW4_D3DTEXTUREFILTERTYPE@@@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __stdcall hkIDirect3DTexture9::GetLevelCount(void)" (?GetLevelCount@hkIDirect3DTexture9@@UAGKXZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __stdcall hkIDirect3DTexture9::GetLOD(void)" (?GetLOD@hkIDirect3DTexture9@@UAGKXZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __stdcall hkIDirect3DTexture9::SetLOD(unsigned long)" (?SetLOD@hkIDirect3DTexture9@@UAGKK@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual enum _D3DRESOURCETYPE __stdcall hkIDirect3DTexture9::GetType(void)" (?GetType@hkIDirect3DTexture9@@UAG?AW4_D3DRESOURCETYPE@@XZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual void __stdcall hkIDirect3DTexture9::PreLoad(void)" (?PreLoad@hkIDirect3DTexture9@@UAGXXZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __stdcall hkIDirect3DTexture9::GetPriority(void)" (?GetPriority@hkIDirect3DTexture9@@UAGKXZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __stdcall hkIDirect3DTexture9::SetPriority(unsigned long)" (?SetPriority@hkIDirect3DTexture9@@UAGKK@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::FreePrivateData(struct _GUID const &)" (?FreePrivateData@hkIDirect3DTexture9@@UAGJABU_GUID@@@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::GetPrivateData(struct _GUID const &,void *,unsigned long *)" (?GetPrivateData@hkIDirect3DTexture9@@UAGJABU_GUID@@PAXPAK@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::SetPrivateData(struct _GUID const &,void const *,unsigned long,unsigned long)" (?SetPrivateData@hkIDirect3DTexture9@@UAGJABU_GUID@@PBXKK@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::GetDevice(struct IDirect3DDevice9 * *)" (?GetDevice@hkIDirect3DTexture9@@UAGJPAPAUIDirect3DDevice9@@@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __stdcall hkIDirect3DTexture9::Release(void)" (?Release@hkIDirect3DTexture9@@UAGKXZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual unsigned long __stdcall hkIDirect3DTexture9::AddRef(void)" (?AddRef@hkIDirect3DTexture9@@UAGKXZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall hkIDirect3DTexture9::QueryInterface(struct _GUID const &,void * *)" (?QueryInterface@hkIDirect3DTexture9@@UAGJABU_GUID@@PAPAX@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "struct IDirect3D9 * __cdecl GetHKInterface(void)" (?GetHKInterface@@YAPAUIDirect3D9@@XZ)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CCrc32::GetCrc32a(unsigned char *,unsigned int)" (?GetCrc32a@CCrc32@@QAEKPAEI@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: bool __thiscall ClassBaseInfo::IsTexture(unsigned long)" (?IsTexture@ClassBaseInfo@@QAE_NK@Z)
d3d9dev.obj : error LNK2001: unresolved external symbol "public: void __thiscall ClassBaseInfo::UpdateScreenInfo(void)" (?UpdateScreenInfo@ClassBaseInfo@@QAEXXZ)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/d3d9dev.exe : fatal error LNK1120: 32 unresolved externals
Error executing link.exe.

d3d9dev.exe - 33 error(s), 0 warning(s)

What the heck is d3d9dev.obj
Advertisement
d3d9dev.obj is the object file that d3d9dev.cpp is compiled into. These errors are telling you that the compiler can't find the implementation of the functions listed. Are you sure you added (and are compiling) all of the source files that you need? It looks like you don't have the file that contains the implementation of the hkIDirect3DTexture9 class.
Dustin Franklin ( circlesoft :: KBase :: Mystic GD :: ApolloNL )

This topic is closed to new replies.

Advertisement