Skip to main content
gamedev.net
🔒 Locked

Help me please.....!!!!!

Started by suspended Sep 14, 2008 at 1:15 AM 6 replies 7.3k views
Original Post
suspended
suspended
Help me please.... this trouble make me Headache..... what can i do....??? 1>------ Build started: Project: Tutorial12, Configuration: Debug Win32 ------ 1>Linking... 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixMultiply@12 referenced in function "public: long __thiscall CD3DArcBall::HandleMessages(struct HWND__ *,unsigned int,unsigned int,long)" (?HandleMessages@CD3DArcBall@@QAEJPAUHWND__@@IIJ@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 1>SDKmesh.obj : error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 1>Tutorial12.obj : error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixTranslation@16 referenced in function "public: long __thiscall CD3DArcBall::HandleMessages(struct HWND__ *,unsigned int,unsigned int,long)" (?HandleMessages@CD3DArcBall@@QAEJPAUHWND__@@IIJ@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol _D3DXMatrixTranslation@16 1>SDKmesh.obj : error LNK2001: unresolved external symbol _D3DXMatrixTranslation@16 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixInverse@12 referenced in function "public: virtual void __thiscall CBaseCamera::SetViewParams(struct D3DXVECTOR3 *,struct D3DXVECTOR3 *)" (?SetViewParams@CBaseCamera@@UAEXPAUD3DXVECTOR3@@0@Z) 1>SDKmesh.obj : error LNK2001: unresolved external symbol _D3DXMatrixInverse@12 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixLookAtLH@16 referenced in function "public: virtual void __thiscall CBaseCamera::SetViewParams(struct D3DXVECTOR3 *,struct D3DXVECTOR3 *)" (?SetViewParams@CBaseCamera@@UAEXPAUD3DXVECTOR3@@0@Z) 1>SDKmisc.obj : error LNK2001: unresolved external symbol _D3DXMatrixLookAtLH@16 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixPerspectiveFovLH@20 referenced in function "public: virtual void __thiscall CBaseCamera::SetProjParams(float,float,float,float)" (?SetProjParams@CBaseCamera@@UAEXMMMM@Z) 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXVec3Normalize@8 referenced in function "protected: void __thiscall CBaseCamera::UpdateVelocity(float)" (?UpdateVelocity@CBaseCamera@@IAEXM@Z) 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXVec3TransformCoord@12 referenced in function "public: virtual void __thiscall CFirstPersonCamera::FrameMove(float)" (?FrameMove@CFirstPersonCamera@@UAEXM@Z) 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixRotationYawPitchRoll@16 referenced in function "public: virtual void __thiscall CFirstPersonCamera::FrameMove(float)" (?FrameMove@CFirstPersonCamera@@UAEXM@Z) 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixRotationQuaternion@8 referenced in function "public: struct D3DXMATRIX const * __thiscall CD3DArcBall::GetRotationMatrix(void)" (?GetRotationMatrix@CD3DArcBall@@QAEPBUD3DXMATRIX@@XZ) 1>SDKmesh.obj : error LNK2001: unresolved external symbol _D3DXMatrixRotationQuaternion@8 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXQuaternionRotationMatrix@8 referenced in function "public: virtual void __thiscall CModelViewerCamera::SetViewParams(struct D3DXVECTOR3 *,struct D3DXVECTOR3 *)" (?SetViewParams@CModelViewerCamera@@UAEXPAUD3DXVECTOR3@@0@Z) 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXCreateEffect@36 referenced in function "public: static long __stdcall CDXUTDirectionWidget::StaticOnD3D9CreateDevice(struct IDirect3DDevice9 *)" (?StaticOnD3D9CreateDevice@CDXUTDirectionWidget@@SGJPAUIDirect3DDevice9@@@Z) 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DX10CreateEffectFromMemory@56 referenced in function "public: static long __stdcall CDXUTDirectionWidget::StaticOnD3D10CreateDevice(struct ID3D10Device *)" (?StaticOnD3D10CreateDevice@CDXUTDirectionWidget@@SGJPAUID3D10Device@@@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol _D3DX10CreateEffectFromMemory@56 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixScaling@16 referenced in function "public: long __thiscall CDXUTDirectionWidget::OnRender10(struct D3DXCOLOR,struct D3DXMATRIX const *,struct D3DXMATRIX const *,struct D3DXVECTOR3 const *)" (?OnRender10@CDXUTDirectionWidget@@QAEJUD3DXCOLOR@@PBUD3DXMATRIX@@1PBUD3DXVECTOR3@@@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol _D3DXMatrixScaling@16 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXMatrixRotationX@8 referenced in function "public: long __thiscall CDXUTDirectionWidget::OnRender10(struct D3DXCOLOR,struct D3DXMATRIX const *,struct D3DXMATRIX const *,struct D3DXVECTOR3 const *)" (?OnRender10@CDXUTDirectionWidget@@QAEJUD3DXCOLOR@@PBUD3DXMATRIX@@1PBUD3DXVECTOR3@@@Z) 1>Tutorial12.obj : error LNK2001: unresolved external symbol _D3DXMatrixRotationX@8 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXVec3TransformNormal@12 referenced in function "protected: long __thiscall CDXUTDirectionWidget::UpdateLightDir(void)" (?UpdateLightDir@CDXUTDirectionWidget@@IAEJXZ) 1>DXUTcamera.obj : error LNK2019: unresolved external symbol _D3DXQuaternionMultiply@12 referenced in function "public: struct D3DXQUATERNION __thiscall D3DXQUATERNION::operator*(struct D3DXQUATERNION const &)const " (??DD3DXQUATERNION@@QBE?AU0@ABU0@@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DXCreateSprite@8 referenced in function "public: long __thiscall CDXUTDialogResourceManager::OnD3D9CreateDevice(struct IDirect3DDevice9 *)" (?OnD3D9CreateDevice@CDXUTDialogResourceManager@@QAEJPAUIDirect3DDevice9@@@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DX10CreateSprite@12 referenced in function "public: long __thiscall CDXUTDialogResourceManager::OnD3D10ResizedSwapChain(struct ID3D10Device *,struct DXGI_SURFACE_DESC const *)" (?OnD3D10ResizedSwapChain@CDXUTDialogResourceManager@@QAEJPAUID3D10Device@@PBUDXGI_SURFACE_DESC@@@Z) 1>Tutorial12.obj : error LNK2001: unresolved external symbol _D3DX10CreateSprite@12 1>DXUTgui.obj : error LNK2019: unresolved external symbol _DXTraceW@20 referenced in function "public: long __thiscall CDXUTDialog::AddControl(class CDXUTControl *)" (?AddControl@CDXUTDialog@@QAEJPAVCDXUTControl@@@Z) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol _DXTraceW@20 1>DXUTsettingsdlg.obj : error LNK2001: unresolved external symbol _DXTraceW@20 1>SDKmisc.obj : error LNK2001: unresolved external symbol _DXTraceW@20 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DXMatrixOrthoOffCenterLH@28 referenced in function "public: long __thiscall CDXUTDialog::DrawSprite10(class CDXUTElement *,struct tagRECT *,float)" (?DrawSprite10@CDXUTDialog@@QAEJPAVCDXUTElement@@PAUtagRECT@@M@Z) 1>SDKmisc.obj : error LNK2001: unresolved external symbol _D3DXMatrixOrthoOffCenterLH@28 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DXCreateFontW@48 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateFont9(unsigned int)" (?CreateFont9@CDXUTDialogResourceManager@@IAEJI@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DX10CreateFontW@48 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateFont10(unsigned int)" (?CreateFont10@CDXUTDialogResourceManager@@IAEJI@Z) 1>Tutorial12.obj : error LNK2001: unresolved external symbol _D3DX10CreateFontW@48 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileExW@56 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture9(unsigned int)" (?CreateTexture9@CDXUTDialogResourceManager@@IAEJI@Z) 1>SDKmisc.obj : error LNK2001: unresolved external symbol _D3DXCreateTextureFromFileExW@56 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DXCreateTextureFromResourceExW@60 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture9(unsigned int)" (?CreateTexture9@CDXUTDialogResourceManager@@IAEJI@Z) 1>SDKmisc.obj : error LNK2001: unresolved external symbol _D3DXCreateTextureFromResourceExW@60 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DX10CreateTextureFromFileW@24 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture10(unsigned int)" (?CreateTexture10@CDXUTDialogResourceManager@@IAEJI@Z) 1>SDKmisc.obj : error LNK2001: unresolved external symbol _D3DX10CreateTextureFromFileW@24 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DX10GetImageInfoFromFileW@16 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture10(unsigned int)" (?CreateTexture10@CDXUTDialogResourceManager@@IAEJI@Z) 1>SDKmisc.obj : error LNK2001: unresolved external symbol _D3DX10GetImageInfoFromFileW@16 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DX10CreateTextureFromResourceW@28 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture10(unsigned int)" (?CreateTexture10@CDXUTDialogResourceManager@@IAEJI@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol _D3DX10GetImageInfoFromResourceW@20 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture10(unsigned int)" (?CreateTexture10@CDXUTDialogResourceManager@@IAEJI@Z) 1>DXUTres.obj : error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileInMemoryEx@60 referenced in function "long __stdcall DXUTCreateGUITextureFromInternalArray9(struct IDirect3DDevice9 *,struct IDirect3DTexture9 * *,struct _D3DXIMAGE_INFO *)" (?DXUTCreateGUITextureFromInternalArray9@@YGJPAUIDirect3DDevice9@@PAPAUIDirect3DTexture9@@PAU_D3DXIMAGE_INFO@@@Z) 1>DXUTres.obj : error LNK2019: unresolved external symbol _D3DX10CreateTextureFromMemory@28 referenced in function "long __stdcall DXUTCreateGUITextureFromInternalArray10(struct ID3D10Device *,struct ID3D10Texture2D * *,struct D3DX10_IMAGE_INFO *)" (?DXUTCreateGUITextureFromInternalArray10@@YGJPAUID3D10Device@@PAPAUID3D10Texture2D@@PAUD3DX10_IMAGE_INFO@@@Z) 1>DXUTres.obj : error LNK2019: unresolved external symbol _D3DX10GetImageInfoFromMemory@20 referenced in function "long __stdcall DXUTCreateGUITextureFromInternalArray10(struct ID3D10Device *,struct ID3D10Texture2D * *,struct D3DX10_IMAGE_INFO *)" (?DXUTCreateGUITextureFromInternalArray10@@YGJPAUID3D10Device@@PAPAUID3D10Texture2D@@PAUD3DX10_IMAGE_INFO@@@Z) 1>DXUTres.obj : error LNK2019: unresolved external symbol _D3DXLoadMeshFromXInMemory@36 referenced in function "long __stdcall DXUTCreateArrowMeshFromInternalArray(struct IDirect3DDevice9 *,struct ID3DXMesh * *)" (?DXUTCreateArrowMeshFromInternalArray@@YGJPAUIDirect3DDevice9@@PAPAUID3DXMesh@@@Z) 1>SDKmesh.obj : 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) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXQuaternionInverse@8 referenced in function "protected: void __thiscall CDXUTSDKMesh::TransformFrameAbsolute(unsigned int,double)" (?TransformFrameAbsolute@CDXUTSDKMesh@@IAEXIN@Z) 1>SDKmesh.obj : 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) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXLoadMeshFromXW@32 referenced in function "public: long __thiscall CDXUTXFileMesh::Create(struct IDirect3DDevice9 *,wchar_t const *)" (?Create@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@PB_W@Z) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXLoadMeshFromXof@32 referenced in function "public: long __thiscall CDXUTXFileMesh::Create(struct IDirect3DDevice9 *,struct ID3DXFileData *)" (?Create@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@PAUID3DXFileData@@@Z) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXCreateVolumeTextureFromFileW@12 referenced in function "public: long __thiscall CDXUTXFileMesh::CreateMaterials(wchar_t const *,struct IDirect3DDevice9 *,struct _D3DXMATERIAL *,unsigned long)" (?CreateMaterials@CDXUTXFileMesh@@QAEJPB_WPAUIDirect3DDevice9@@PAU_D3DXMATERIAL@@K@Z) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXCreateCubeTextureFromFileW@12 referenced in function "public: long __thiscall CDXUTXFileMesh::CreateMaterials(wchar_t const *,struct IDirect3DDevice9 *,struct _D3DXMATERIAL *,unsigned long)" (?CreateMaterials@CDXUTXFileMesh@@QAEJPB_WPAUIDirect3DDevice9@@PAU_D3DXMATERIAL@@K@Z) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileW@12 referenced in function "public: long __thiscall CDXUTXFileMesh::CreateMaterials(wchar_t const *,struct IDirect3DDevice9 *,struct _D3DXMATERIAL *,unsigned long)" (?CreateMaterials@CDXUTXFileMesh@@QAEJPB_WPAUIDirect3DDevice9@@PAU_D3DXMATERIAL@@K@Z) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXGetImageInfoFromFileW@8 referenced in function "public: long __thiscall CDXUTXFileMesh::CreateMaterials(wchar_t const *,struct IDirect3DDevice9 *,struct _D3DXMATERIAL *,unsigned long)" (?CreateMaterials@CDXUTXFileMesh@@QAEJPB_WPAUIDirect3DDevice9@@PAU_D3DXMATERIAL@@K@Z) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXComputeNormals@8 referenced in function "public: long __thiscall CDXUTXFileMesh::SetFVF(struct IDirect3DDevice9 *,unsigned long)" (?SetFVF@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@K@Z) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXComputeTangentFrameEx@64 referenced in function "public: long __thiscall CDXUTXFileMesh::SetVertexDecl(struct IDirect3DDevice9 *,struct _D3DVERTEXELEMENT9 const *,bool,bool,bool)" (?SetVertexDecl@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@PBU_D3DVERTEXELEMENT9@@_N22@Z) 1>SDKmesh.obj : error LNK2019: unresolved external symbol _D3DXGetDeclLength@4 referenced in function "public: long __thiscall CDXUTXFileMesh::SetVertexDecl(struct IDirect3DDevice9 *,struct _D3DVERTEXELEMENT9 const *,bool,bool,bool)" (?SetVertexDecl@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@PBU_D3DVERTEXELEMENT9@@_N22@Z) 1>SDKmisc.obj : 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) 1>SDKmisc.obj : 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) 1>SDKmisc.obj : 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) 1>SDKmisc.obj : 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) 1>SDKmisc.obj : 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) 1>SDKmisc.obj : 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) 1>SDKmisc.obj : 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) 1>SDKmisc.obj : error LNK2019: unresolved external symbol _D3DXCreateLine@8 referenced in function "public: long __thiscall CDXUTLineManager::OnCreatedDevice(struct IDirect3DDevice9 *)" (?OnCreatedDevice@CDXUTLineManager@@QAEJPAUIDirect3DDevice9@@@Z) 1>SDKmisc.obj : error LNK2019: unresolved external symbol _D3DXSaveSurfaceToFileW@20 referenced in function "long __cdecl DXUTSnapD3D9Screenshot(wchar_t const *)" (?DXUTSnapD3D9Screenshot@@YAJPB_W@Z) 1>Tutorial12.obj : error LNK2019: unresolved external symbol _D3DX10CreateShaderResourceViewFromFileW@24 referenced in function "long __stdcall OnD3D10CreateDevice(struct ID3D10Device *,struct DXGI_SURFACE_DESC const *,void *)" (?OnD3D10CreateDevice@@YGJPAUID3D10Device@@PBUDXGI_SURFACE_DESC@@PAX@Z) 1>Tutorial12.obj : 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) 1>Tutorial12.obj : error LNK2019: unresolved external symbol _D3DXMatrixRotationY@8 referenced in function "void __stdcall OnFrameMove(double,float,void *)" (?OnFrameMove@@YGXNMPAX@Z) 1>Debug/Tutorial12.exe : fatal error LNK1120: 56 unresolved externals 1>Build log was saved at "file://c:\Program Files (x86)\Microsoft DirectX SDK (March 2008)\Samples\C++\Direct3D10\Tutorials\Tutorial12\Debug\BuildLog.htm" 1>Tutorial12 - 78 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Splinter of Chaos
Splinter of Chaos
Are you using a library/header file that you have not previously used and successfully compiled? These look like linker errors to me.

Being that the project's name is "Tutorial12", I'm betting you're fallowing a tutorial that you should be able to go back to and make sure you're configuring everything how it should be.
suspended
suspended
ya, the project name is "Tutorial12", and that is the error report....
what should i do...?
marcjulian
marcjulian
Make sure that you are linking against d3dx10d.lib (debug) in
your linker settings, you are missing all the D3DX functions
while linking..

Marc
suspended
suspended
Dear..... I'm a beginner in directX programing, I really don't understand, could you show me the way or step by step about your solution. Thank you so much for your answer.... and sorry if my English not fluent.
EmptyVoid
EmptyVoid
Quote:
Original post by suspended
Dear..... I'm a beginner in directX programing, I really don't understand, could you show me the way or step by step about your solution. Thank you so much for your answer.... and sorry if my English not fluent.


Project
-Properties
--Configuration Properties
---Linker
----Input

Then type in to the Additional Dependencies line "dxerr.lib dxguid.lib d3dx9.lib d3d9.lib winmm.lib comctl32.lib dxgi.lib d3d10.lib d3dx10d.lib" without quotes.

Also I want to get back up to normal rating so rate me up. [smile]
This is your life, and it's ending one minute at a time. - Fight club
wings810
wings810
use this line. this method is convenient for me

--> #define DXUT_AUTOLIB
--> #include "DXUT.h"


and you can find the below code at DXUT.h file

  • [color="#666666"]// #define DXUT_AUTOLIB to automatically include the libs needed for DXUT
  • [color="#339900"]#ifdef DXUT_AUTOLIB
  • [color="#339900"]#pragma comment( lib, "dxerr.lib" )
  • [color="#339900"]#pragma comment( lib, "dxguid.lib" )
  • [color="#339900"]#pragma comment( lib, "d3d9.lib" )
  • [color="#339900"]#pragma comment( lib, "d3d10.lib" )
  • [color="#339900"]#if defined(DEBUG) || defined(_DEBUG)
  • [color="#339900"]#pragma comment( lib, "d3dx9d.lib" )
  • [color="#339900"]#pragma comment( lib, "d3dx10d.lib" )
  • [color="#339900"]#else
  • [color="#339900"]#pragma comment( lib, "d3dx9.lib" )
  • [color="#339900"]#pragma comment( lib, "d3dx10.lib" )
  • [color="#339900"]#endif
  • [color="#339900"]#pragma comment( lib, "d3dcompiler.lib" )
  • [color="#339900"]#pragma comment( lib, "winmm.lib" )
  • [color="#339900"]#pragma comment( lib, "comctl32.lib" )
  • [color="#339900"]#endif
Evil Steve
Evil Steve
While your post is relevant, it's probably best not to bump a thread that's over 3 years old

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.