36 fouten bij spel

Status
Niet open voor verdere reacties.

WILLIAMXXX

Terugkerende gebruiker
Lid geworden
29 nov 2006
Berichten
1.246
Heej heb een spel govonden en krijg 36 fouten heb directx sdk april 2007 geinstalleerd maar volgens mij gaat het om 'Symbols' ofso daar zit veel fout in.

code of fouten:

Code:
Warning	1	warning LNK4199: /DELAYLOAD:d3dx10d_33.dll ignored; no imports found from d3dx10d_33.dll	Tutorial09	
Error	2	error LNK2001: unresolved external symbol _IID_IDirect3DSwapChain9	DXUT.obj	
Error	3	error LNK2019: unresolved external symbol _DXTraceW@20 referenced in function "long __stdcall DXUTTrace(char const *,unsigned long,long,wchar_t const *,bool)" (?DXUTTrace@@YGJPBDKJPB_W_N@Z)	DXUTmisc.obj	
Error	4	error LNK2001: unresolved external symbol _DXTraceW@20	SDKmisc.obj	
Error	5	error LNK2019: unresolved external symbol _D3DXMatrixMultiply@12 referenced in function "protected: void __thiscall CDXUTSDKMesh::TransformBindPoseFrame(unsigned int,struct D3DXMATRIX *)" (?TransformBindPoseFrame@CDXUTSDKMesh@@IAEXIPAUD3DXMATRIX@@@Z)	SDKmesh.obj	
Error	6	error LNK2019: unresolved external symbol _D3DXMatrixRotationQuaternion@8 referenced in function "protected: void __thiscall CDXUTSDKMesh::TransformFrame(unsigned int,struct D3DXMATRIX *,double)" (?TransformFrame@CDXUTSDKMesh@@IAEXIPAUD3DXMATRIX@@N@Z)	SDKmesh.obj	
Error	7	error LNK2019: unresolved external symbol _D3DXQuaternionNormalize@8 referenced in function "protected: void __thiscall CDXUTSDKMesh::TransformFrame(unsigned int,struct D3DXMATRIX *,double)" (?TransformFrame@CDXUTSDKMesh@@IAEXIPAUD3DXMATRIX@@N@Z)	SDKmesh.obj	
Error	8	error LNK2019: unresolved external symbol _D3DXMatrixTranslation@16 referenced in function "protected: void __thiscall CDXUTSDKMesh::TransformFrame(unsigned int,struct D3DXMATRIX *,double)" (?TransformFrame@CDXUTSDKMesh@@IAEXIPAUD3DXMATRIX@@N@Z)	SDKmesh.obj	
Error	9	error LNK2019: unresolved external symbol _D3DXQuaternionInverse@8 referenced in function "protected: void __thiscall CDXUTSDKMesh::TransformFrameAbsolute(unsigned int,double)" (?TransformFrameAbsolute@CDXUTSDKMesh@@IAEXIN@Z)	SDKmesh.obj	
Error	10	error LNK2019: unresolved external symbol _D3DXMatrixInverse@12 referenced in function "public: void __thiscall CDXUTSDKMesh::TransformMesh(struct D3DXMATRIX *,double)" (?TransformMesh@CDXUTSDKMesh@@QAEXPAUD3DXMATRIX@@N@Z)	SDKmesh.obj	
Error	11	error LNK2019: unresolved external symbol _D3DX10CreateMesh@32 referenced in function "public: long __thiscall CDXUTSDKMesh::CreateAdjacencyIndices(struct ID3D10Device *,float,unsigned char *)" (?CreateAdjacencyIndices@CDXUTSDKMesh@@QAEJPAUID3D10Device@@MPAE@Z)	SDKmesh.obj	
Error	12	error LNK2001: unresolved external symbol _IID_IDirect3DBaseTexture9	SDKmisc.obj	
Error	13	error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileExW@56 referenced in function "public: long __thiscall CDXUTResourceCache::CreateTextureFromFileEx(struct IDirect3DDevice9 *,wchar_t const *,unsigned int,unsigned int,unsigned int,unsigned long,enum _D3DFORMAT,enum _D3DPOOL,unsigned long,unsigned long,unsigned long,struct _D3DXIMAGE_INFO *,struct tagPALETTEENTRY *,struct IDirect3DTexture9 * *)" (?CreateTextureFromFileEx@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PB_WIIIKW4_D3DFORMAT@@W4_D3DPOOL@@KKKPAU_D3DXIMAGE_INFO@@PAUtagPALETTEENTRY@@PAPAUIDirect3DTexture9@@@Z)	SDKmisc.obj	
Error	14	error LNK2001: unresolved external symbol _IID_IDirect3DTexture9	SDKmisc.obj	
Error	15	error LNK2019: unresolved external symbol _D3DX10CreateShaderResourceViewFromFileW@24 referenced in function "public: long __thiscall CDXUTResourceCache::CreateTextureFromFileEx(struct ID3D10Device *,wchar_t const *,struct D3DX10_IMAGE_LOAD_INFO *,struct ID3DX10ThreadPump *,struct ID3D10ShaderResourceView * *)" (?CreateTextureFromFileEx@CDXUTResourceCache@@QAEJPAUID3D10Device@@PB_WPAUD3DX10_IMAGE_LOAD_INFO@@PAUID3DX10ThreadPump@@PAPAUID3D10ShaderResourceView@@@Z)	SDKmisc.obj	
Error	16	error LNK2019: unresolved external symbol _D3DXCreateTextureFromResourceExW@60 referenced in function "public: long __thiscall CDXUTResourceCache::CreateTextureFromResourceEx(struct IDirect3DDevice9 *,struct HINSTANCE__ *,wchar_t const *,unsigned int,unsigned int,unsigned int,unsigned long,enum _D3DFORMAT,enum _D3DPOOL,unsigned long,unsigned long,unsigned long,struct _D3DXIMAGE_INFO *,struct tagPALETTEENTRY *,struct IDirect3DTexture9 * *)" (?CreateTextureFromResourceEx@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PAUHINSTANCE__@@PB_WIIIKW4_D3DFORMAT@@W4_D3DPOOL@@KKKPAU_D3DXIMAGE_INFO@@PAUtagPALETTEENTRY@@PAPAUIDirect3DTexture9@@@Z)	SDKmisc.obj	
Error	17	error LNK2019: unresolved external symbol _D3DXCreateCubeTextureFromFileExW@52 referenced in function "public: long __thiscall CDXUTResourceCache::CreateCubeTextureFromFileEx(struct IDirect3DDevice9 *,wchar_t const *,unsigned int,unsigned int,unsigned long,enum _D3DFORMAT,enum _D3DPOOL,unsigned long,unsigned long,unsigned long,struct _D3DXIMAGE_INFO *,struct tagPALETTEENTRY *,struct IDirect3DCubeTexture9 * *)" (?CreateCubeTextureFromFileEx@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PB_WIIKW4_D3DFORMAT@@W4_D3DPOOL@@KKKPAU_D3DXIMAGE_INFO@@PAUtagPALETTEENTRY@@PAPAUIDirect3DCubeTexture9@@@Z)	SDKmisc.obj	
Error	18	error LNK2001: unresolved external symbol _IID_IDirect3DCubeTexture9	SDKmisc.obj	
Error	19	error LNK2019: unresolved external symbol _D3DXCreateCubeTextureFromResourceExW@56 referenced in function "public: long __thiscall CDXUTResourceCache::CreateCubeTextureFromResourceEx(struct IDirect3DDevice9 *,struct HINSTANCE__ *,wchar_t const *,unsigned int,unsigned int,unsigned long,enum _D3DFORMAT,enum _D3DPOOL,unsigned long,unsigned long,unsigned long,struct _D3DXIMAGE_INFO *,struct tagPALETTEENTRY *,struct IDirect3DCubeTexture9 * *)" (?CreateCubeTextureFromResourceEx@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PAUHINSTANCE__@@PB_WIIKW4_D3DFORMAT@@W4_D3DPOOL@@KKKPAU_D3DXIMAGE_INFO@@PAUtagPALETTEENTRY@@PAPAUIDirect3DCubeTexture9@@@Z)	SDKmisc.obj	
Error	20	error LNK2019: unresolved external symbol _D3DXCreateVolumeTextureFromFileExW@60 referenced in function "public: long __thiscall CDXUTResourceCache::CreateVolumeTextureFromFileEx(struct IDirect3DDevice9 *,wchar_t const *,unsigned int,unsigned int,unsigned int,unsigned int,unsigned long,enum _D3DFORMAT,enum _D3DPOOL,unsigned long,unsigned long,unsigned long,struct _D3DXIMAGE_INFO *,struct tagPALETTEENTRY *,struct IDirect3DVolumeTexture9 * *)" (?CreateVolumeTextureFromFileEx@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PB_WIIIIKW4_D3DFORMAT@@W4_D3DPOOL@@KKKPAU_D3DXIMAGE_INFO@@PAUtagPALETTEENTRY@@PAPAUIDirect3DVolumeTexture9@@@Z)	SDKmisc.obj	
Error	21	error LNK2001: unresolved external symbol _IID_IDirect3DVolumeTexture9	SDKmisc.obj	
Error	22	error LNK2019: unresolved external symbol _D3DXCreateVolumeTextureFromResourceExW@64 referenced in function "public: long __thiscall CDXUTResourceCache::CreateVolumeTextureFromResourceEx(struct IDirect3DDevice9 *,struct HINSTANCE__ *,wchar_t const *,unsigned int,unsigned int,unsigned int,unsigned int,unsigned long,enum _D3DFORMAT,enum _D3DPOOL,unsigned long,unsigned long,unsigned long,struct _D3DXIMAGE_INFO *,struct tagPALETTEENTRY *,struct IDirect3DVolumeTexture9 * *)" (?CreateVolumeTextureFromResourceEx@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PAUHINSTANCE__@@PB_WIIIIKW4_D3DFORMAT@@W4_D3DPOOL@@KKKPAU_D3DXIMAGE_INFO@@PAUtagPALETTEENTRY@@PAPAUIDirect3DVolumeTexture9@@@Z)	SDKmisc.obj	
Error	23	error LNK2019: unresolved external symbol _D3DXCreateFontIndirectW@12 referenced in function "public: long __thiscall CDXUTResourceCache::CreateFontIndirectW(struct IDirect3DDevice9 *,struct _D3DXFONT_DESCW const *,struct ID3DXFont * *)" (?CreateFontIndirectW@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PBU_D3DXFONT_DESCW@@PAPAUID3DXFont@@@Z)	SDKmisc.obj	
Error	24	error LNK2019: unresolved external symbol _D3DXCreateEffectFromFileW@32 referenced in function "public: long __thiscall CDXUTResourceCache::CreateEffectFromFile(struct IDirect3DDevice9 *,wchar_t const *,struct _D3DXMACRO const *,struct ID3DXInclude *,unsigned long,struct ID3DXEffectPool *,struct ID3DXEffect * *,struct ID3DXBuffer * *)" (?CreateEffectFromFile@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PB_WPBU_D3DXMACRO@@PAUID3DXInclude@@KPAUID3DXEffectPool@@PAPAUID3DXEffect@@PAPAUID3DXBuffer@@@Z)	SDKmisc.obj	
Error	25	error LNK2019: unresolved external symbol _D3DXCreateEffectFromResourceW@36 referenced in function "public: long __thiscall CDXUTResourceCache::CreateEffectFromResource(struct IDirect3DDevice9 *,struct HINSTANCE__ *,wchar_t const *,struct _D3DXMACRO const *,struct ID3DXInclude *,unsigned long,struct ID3DXEffectPool *,struct ID3DXEffect * *,struct ID3DXBuffer * *)" (?CreateEffectFromResource@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PAUHINSTANCE__@@PB_WPBU_D3DXMACRO@@PAUID3DXInclude@@KPAUID3DXEffectPool@@PAPAUID3DXEffect@@PAPAUID3DXBuffer@@@Z)	SDKmisc.obj	
Error	26	error LNK2019: unresolved external symbol _D3DXMatrixLookAtLH@16 referenced in function "struct D3DXMATRIX __stdcall DXUTGetCubeMapViewMatrix(unsigned long)" (?DXUTGetCubeMapViewMatrix@@YG?AUD3DXMATRIX@@K@Z)	SDKmisc.obj	
Error	27	error LNK2001: unresolved external symbol _D3DXMatrixLookAtLH@16	Tutorial09.obj	
Error	28	error LNK2019: unresolved external symbol _D3DXCreateLine@8 referenced in function "public: long __thiscall CDXUTLineManager::OnCreatedDevice(struct IDirect3DDevice9 *)" (?OnCreatedDevice@CDXUTLineManager@@QAEJPAUIDirect3DDevice9@@@Z)	SDKmisc.obj	
Error	29	error LNK2019: unresolved external symbol _D3DXMatrixOrthoOffCenterLH@28 referenced in function "public: void __thiscall CDXUTTextHelper::Begin(void)" (?Begin@CDXUTTextHelper@@QAEXXZ)	SDKmisc.obj	
Error	30	error LNK2019: unresolved external symbol _D3DXSaveSurfaceToFileW@20 referenced in function "long __cdecl DXUTSnapD3D9Screenshot(wchar_t const *)" (?DXUTSnapD3D9Screenshot@@YAJPB_W@Z)	SDKmisc.obj	
Error	31	error LNK2019: unresolved external symbol _D3DXSaveTextureToFileW@16 referenced in function "long __cdecl DXUTSnapD3D10Screenshot(wchar_t const *)" (?DXUTSnapD3D10Screenshot@@YAJPB_W@Z)	SDKmisc.obj	
Error	32	error LNK2019: unresolved external symbol _D3DXCreateTexture@32 referenced in function "long __cdecl DXUTSnapD3D10Screenshot(wchar_t const *)" (?DXUTSnapD3D10Screenshot@@YAJPB_W@Z)	SDKmisc.obj	
Error	33	error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "long __cdecl DXUTSnapD3D10Screenshot(wchar_t const *)" (?DXUTSnapD3D10Screenshot@@YAJPB_W@Z)	SDKmisc.obj	
Error	34	error LNK2019: unresolved external symbol _D3DX10CreateEffectFromFileW@48 referenced in function "long __stdcall OnD3D10CreateDevice(struct ID3D10Device *,struct DXGI_SURFACE_DESC const *,void *)" (?OnD3D10CreateDevice@@YGJPAUID3D10Device@@PBUDXGI_SURFACE_DESC@@PAX@Z)	Tutorial09.obj	
Error	35	error LNK2019: unresolved external symbol _D3DXMatrixPerspectiveFovLH@20 referenced in function "long __stdcall OnD3D10ResizedSwapChain(struct ID3D10Device *,struct IDXGISwapChain *,struct DXGI_SURFACE_DESC const *,void *)" (?OnD3D10ResizedSwapChain@@YGJPAUID3D10Device@@PAUIDXGISwapChain@@PBUDXGI_SURFACE_DESC@@PAX@Z)	Tutorial09.obj	
Error	36	error LNK2019: unresolved external symbol _D3DXMatrixRotationY@8 referenced in function "void __stdcall OnFrameMove(double,float,void *)" (?OnFrameMove@@YGXNMPAX@Z)	Tutorial09.obj	
Error	37	fatal error LNK1120: 33 unresolved externals	c:\Users\WILLIAM\Documents\DirectX Samples\Tutorial09\Debug\Tutorial09.exe	1

Hoe los ik et op?
 
Zo te zien worden de libs van DX niet geinclude bij het linken.

Voor DirectX apps moet je d3d9.lib, d3dx9.lib en dxguid.lib includen.
 
Heb et wel

Dat heb ik tog echt wel
Ze staan in die bovenste 2 mappen

zie plaatje
 

Bijlagen

  • DXWR.jpg
    DXWR.jpg
    61,5 KB · Weergaven: 77
Ik heb zelf Met DirectX geprogrammeerd en heb zoiets dergelijks niet nodig gehad.

Weet je zeker dat je naast die directories in je screenshot ook de libs d3d9, d3dx9, dxguid heb opgegeven?

Anders weet ik het niet ^^
 
william je hebt libraries en headers. wat je hier hebt gedaan is de folders waar directx headers zoals "d3dx9.h" in staan toe gevoegd voor je linker. libraries moet je nog eens apart includen. ik weet niet hoe dit gaat met vc++ maar ik dacht met iets als #pragma, of was dat borland? kijk even in de help file of ergens anders hoe je libs moet includen.
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan