EDN Admin
Well-known member
Hello all.
Lots of unresolved external symbols. This VS2010 project is using the Crogram Files (x86)Microsoft DirectX SDK (June 2010).<br/>
I copied the DXUT files to the project and let it find the libs and include files from the SDK. I am creating the main window and calling the render window from a menu item like this.
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)<br/>
{<br/>
<span style="white-spacere int wmId, wmEvent;<br/>
<span style="white-spacere PAINTSTRUCT ps;<br/>
<span style="white-spacere HDC hdc;<br/>
<br/>
<span style="white-spacere switch (message)<br/>
<span style="white-spacere {<br/>
<span style="white-spacere case WM_COMMAND:<br/>
<span style="white-spacere wmId = LOWORD(wParam);<br/>
<span style="white-spacere wmEvent = HIWORD(wParam);<br/>
<span style="white-spacere // Parse the menu selections:<br/>
<span style="white-spacere switch (wmId)<br/>
<span style="white-spacere {<br/>
<span style="white-spacere case IDM_ABOUT:<br/>
<span style="white-spacere DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere <br/>
<span style="white-spacere case ID_ANALYZE_RENDER:<br/>
<br/>
<span style="white-spacere DXUTCreateWindow( L"GeoRock" );<br/>
<span style="white-spacere DXUTCreateDevice( true, 640, 480 );<br/>
<span style="white-spacere DXUTMainLoop(); // Enter into the DXUT render loop<br/>
<br/>
<span style="white-spacere return DXUTGetExitCode();<br/>
<br/>
<span style="white-spacere //<span style="white-spacere DestroyWindow(hWnd);<br/>
<span style="white-spacere break;<br/>
<br/>
<span style="white-spacere case IDM_EXIT:<br/>
<span style="white-spacere DestroyWindow(hWnd);<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere default:<br/>
<span style="white-spacere return DefWindowProc(hWnd, message, wParam, lParam);<br/>
<span style="white-spacere }<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere case WM_PAINT:<br/>
<span style="white-spacere hdc = BeginPaint(hWnd, &ps);<br/>
<span style="white-spacere // TODO: Add any drawing code here...<br/>
<span style="white-spacere EndPaint(hWnd, &ps);<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere case WM_DESTROY:<br/>
<span style="white-spacere PostQuitMessage(0);<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere default:<br/>
<span style="white-spacere return DefWindowProc(hWnd, message, wParam, lParam);<br/>
<span style="white-spacere }<br/>
<span style="white-spacere return 0;<br/>
}
Thank you for any help
Jair Santos
List of errors below:<br/>
Error<span style="white-spacere 1<span style="white-spacere
error LNK2019: unresolved external symbol __imp__InitCommonControls@0 referenced in function "long __stdcall DXUTInit(bool,bool,wchar_t *,bool)" (?DXUTInit@@YGJ_N0PA_W0@Z)<span style="white-spacere
C:GeoRockDXUT.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 2<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateEffect@36 referenced in function "public: static long __stdcall CDXUTDirectionWidget::StaticOnD3D9CreateDevice(struct IDirect3DDevice9 *)" (?StaticOnD3D9CreateDevice@CDXUTDirectionWidget@@SGJPAUIDirect3DDevice9@@@Z)<span style="white-spacere
C:GeoRockDXUTcamera.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 3<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateSprite@8 referenced in function "public: long __thiscall CDXUTDialogResourceManager::OnD3D9CreateDevice(struct IDirect3DDevice9 *)" (?OnD3D9CreateDevice@CDXUTDialogResourceManager@@QAEJPAUIDirect3DDevice9@@@Z)<span style="white-spacere
C:GeoRockDXUTgui.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 4<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateFontW@48 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateFont9(unsigned int)" (?CreateFont9@CDXUTDialogResourceManager@@IAEJI@Z)<span style="white-spacere
C:GeoRockDXUTgui.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 5<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileExW@56 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture9(unsigned int)" (?CreateTexture9@CDXUTDialogResourceManager@@IAEJI@Z)<span style="white-spacere
C:GeoRockDXUTgui.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 6<span style="white-spacere
error LNK2001: unresolved external symbol _D3DXCreateTextureFromFileExW@56<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 7<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateTextureFromResourceExW@60 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture9(unsigned int)" (?CreateTexture9@CDXUTDialogResourceManager@@IAEJI@Z)<span style="white-spacere
C:GeoRockDXUTgui.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 8<span style="white-spacere
error LNK2001: unresolved external symbol _D3DXCreateTextureFromResourceExW@60<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 9<span style="white-spacere
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)<span style="white-spacere
C:GeoRockDXUTres.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 10<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXLoadMeshFromXInMemory@36 referenced in function "long __stdcall DXUTCreateArrowMeshFromInternalArray(struct IDirect3DDevice9 *,struct ID3DXMesh * *)" (?DXUTCreateArrowMeshFromInternalArray@@YGJPAUIDirect3DDevice9@@PAPAUID3DXMesh@@@Z)<span style="white-spacere
C:GeoRockDXUTres.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 11<span style="white-spacere
error LNK2019: unresolved external symbol _ImmSetConversionStatus@12 referenced in function "long __cdecl ImeUi_ProcessMessage(struct HWND__ *,unsigned int,unsigned int,long &,bool *)" (?ImeUi_ProcessMessage@@YAJPAUHWND__@@IIAAJPA_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 12<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetConversionStatus@12 referenced in function "long __cdecl ImeUi_ProcessMessage(struct HWND__ *,unsigned int,unsigned int,long &,bool *)" (?ImeUi_ProcessMessage@@YAJPAUHWND__@@IIAAJPA_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 13<span style="white-spacere
error LNK2019: unresolved external symbol _ImmReleaseContext@8 referenced in function "long __cdecl ImeUi_ProcessMessage(struct HWND__ *,unsigned int,unsigned int,long &,bool *)" (?ImeUi_ProcessMessage@@YAJPAUHWND__@@IIAAJPA_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 14<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetContext@4 referenced in function "long __cdecl ImeUi_ProcessMessage(struct HWND__ *,unsigned int,unsigned int,long &,bool *)" (?ImeUi_ProcessMessage@@YAJPAUHWND__@@IIAAJPA_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 15<span style="white-spacere
error LNK2019: unresolved external symbol _ImmSetOpenStatus@8 referenced in function "void __cdecl ImeUi_SetState(unsigned long)" (?ImeUi_SetState@@YAXK@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 16<span style="white-spacere
error LNK2019: unresolved external symbol _ImmSimulateHotKey@8 referenced in function "void __cdecl ImeUi_SetState(unsigned long)" (?ImeUi_SetState@@YAXK@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 17<span style="white-spacere
error LNK2019: unresolved external symbol _ImmAssociateContext@8 referenced in function "void __cdecl ImeUi_EnableIme(bool)" (?ImeUi_EnableIme@@YAX_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 18<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetCandidateListA@16 referenced in function "bool __cdecl ImeUi_Initialize(struct HWND__ *,bool)" (?ImeUi_Initialize@@YA_NPAUHWND__@@_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 19<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetCandidateListW@16 referenced in function "bool __cdecl ImeUi_Initialize(struct HWND__ *,bool)" (?ImeUi_Initialize@@YA_NPAUHWND__@@_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 20<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetCompositionStringW@16 referenced in function "bool __cdecl ImeUi_Initialize(struct HWND__ *,bool)" (?ImeUi_Initialize@@YA_NPAUHWND__@@_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 21<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetCompositionStringA@16 referenced in function "long __stdcall AW_ImmGetCompositionString(struct HIMC__ *,unsigned long,void *,unsigned long)" (?AW_ImmGetCompositionString@@YGJPAUHIMC__@@KPAXK@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 22<span style="white-spacere
error LNK2019: unresolved external symbol _VerQueryValueA@16 referenced in function "unsigned long __cdecl GetImeId(unsigned int)" (?GetImeId@@YAKI@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 23<span style="white-spacere
error LNK2019: unresolved external symbol _GetFileVersionInfoA@16 referenced in function "unsigned long __cdecl GetImeId(unsigned int)" (?GetImeId@@YAKI@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 24<span style="white-spacere
error LNK2019: unresolved external symbol _GetFileVersionInfoSizeA@8 referenced in function "unsigned long __cdecl GetImeId(unsigned int)" (?GetImeId@@YAKI@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 25<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetIMEFileNameA@12 referenced in function "unsigned long __cdecl GetImeId(unsigned int)" (?GetImeId@@YAKI@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 26<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetVirtualKey@4 referenced in function "bool __cdecl ImeUi_IgnoreHotKey(struct tagMSG const *)" (?ImeUi_IgnoreHotKey@@YA_NPBUtagMSG@@@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 27<span style="white-spacere
error LNK2019: unresolved external symbol _ImmSetCompositionStringW@24 referenced in function "void __cdecl ImeUi_FinalizeString(bool)" (?ImeUi_FinalizeString@@YAX_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 28<span style="white-spacere
error LNK2019: unresolved external symbol _ImmNotifyIME@16 referenced in function "void __cdecl ImeUi_FinalizeString(bool)" (?ImeUi_FinalizeString@@YAX_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 29<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetOpenStatus@4 referenced in function "void __cdecl CheckToggleState(void)" (?CheckToggleState@@YAXXZ)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 30<span style="white-spacere
error LNK2019: unresolved external symbol _ImmIsIME@4 referenced in function "void __cdecl CheckToggleState(void)" (?CheckToggleState@@YAXXZ)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 31<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetDefaultIMEWnd@4 referenced in function "void __cdecl ImeUi_ToggleLanguageBar(int)" (?ImeUi_ToggleLanguageBar@@YAXH@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 32<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 33<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXLoadMeshFromXof@32 referenced in function "public: long __thiscall CDXUTXFileMesh::Create(struct IDirect3DDevice9 *,struct ID3DXFileData *)" (?Create@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@PAUID3DXFileData@@@Z)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 34<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 35<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 36<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 37<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 38<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXComputeNormals@8 referenced in function "public: long __thiscall CDXUTXFileMesh::SetFVF(struct IDirect3DDevice9 *,unsigned long)" (?SetFVF@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@K@Z)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 39<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 40<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 41<span style="white-spacere
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 *,structIDirect3DCubeTexture9 * *)" (?CreateCubeTextureFromFileEx@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PB_WIIKW4_D3DFORMAT@@W4_D3DPOOL@@KKKPAU_D3DXIMAGE_INFO@@PAUtagPALETTEENTRY@@PAPAUIDirect3DCubeTexture9@@@Z)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 42<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 43<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 44<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 45<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 46<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 47<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 48<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateLine@8 referenced in function "public: long __thiscall CDXUTLineManager::OnCreatedDevice(struct IDirect3DDevice9 *)" (?OnCreatedDevice@CDXUTLineManager@@QAEJPAUIDirect3DDevice9@@@Z)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 49<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXSaveSurfaceToFileW@20 referenced in function "long __cdecl DXUTSnapD3D9Screenshot(wchar_t const *)" (?DXUTSnapD3D9Screenshot@@YAJPB_W@Z)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 50<span style="white-spacere
error LNK2019: unresolved external symbol _DirectSoundCreate8@12 referenced in function "public: long __thiscall CSoundManager::Initialize(struct HWND__ *,unsigned long)" (?Initialize@CSoundManager@@QAEJPAUHWND__@@K@Z)<span style="white-spacere
C:GeoRockSDKsound.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 51<span style="white-spacere
error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup<span style="white-spacere
C:GeoRockMSVCRTD.lib(crtexew.obj)<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 52<span style="white-spacere
error LNK1120: 49 unresolved externals<span style="white-spacere C:GeoRockDebugGeoRock.exe<span style="white-spacere
GeoRock<br/>
View the full article
Lots of unresolved external symbols. This VS2010 project is using the Crogram Files (x86)Microsoft DirectX SDK (June 2010).<br/>
I copied the DXUT files to the project and let it find the libs and include files from the SDK. I am creating the main window and calling the render window from a menu item like this.
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)<br/>
{<br/>
<span style="white-spacere int wmId, wmEvent;<br/>
<span style="white-spacere PAINTSTRUCT ps;<br/>
<span style="white-spacere HDC hdc;<br/>
<br/>
<span style="white-spacere switch (message)<br/>
<span style="white-spacere {<br/>
<span style="white-spacere case WM_COMMAND:<br/>
<span style="white-spacere wmId = LOWORD(wParam);<br/>
<span style="white-spacere wmEvent = HIWORD(wParam);<br/>
<span style="white-spacere // Parse the menu selections:<br/>
<span style="white-spacere switch (wmId)<br/>
<span style="white-spacere {<br/>
<span style="white-spacere case IDM_ABOUT:<br/>
<span style="white-spacere DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere <br/>
<span style="white-spacere case ID_ANALYZE_RENDER:<br/>
<br/>
<span style="white-spacere DXUTCreateWindow( L"GeoRock" );<br/>
<span style="white-spacere DXUTCreateDevice( true, 640, 480 );<br/>
<span style="white-spacere DXUTMainLoop(); // Enter into the DXUT render loop<br/>
<br/>
<span style="white-spacere return DXUTGetExitCode();<br/>
<br/>
<span style="white-spacere //<span style="white-spacere DestroyWindow(hWnd);<br/>
<span style="white-spacere break;<br/>
<br/>
<span style="white-spacere case IDM_EXIT:<br/>
<span style="white-spacere DestroyWindow(hWnd);<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere default:<br/>
<span style="white-spacere return DefWindowProc(hWnd, message, wParam, lParam);<br/>
<span style="white-spacere }<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere case WM_PAINT:<br/>
<span style="white-spacere hdc = BeginPaint(hWnd, &ps);<br/>
<span style="white-spacere // TODO: Add any drawing code here...<br/>
<span style="white-spacere EndPaint(hWnd, &ps);<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere case WM_DESTROY:<br/>
<span style="white-spacere PostQuitMessage(0);<br/>
<span style="white-spacere break;<br/>
<span style="white-spacere default:<br/>
<span style="white-spacere return DefWindowProc(hWnd, message, wParam, lParam);<br/>
<span style="white-spacere }<br/>
<span style="white-spacere return 0;<br/>
}
Thank you for any help
Jair Santos
List of errors below:<br/>
Error<span style="white-spacere 1<span style="white-spacere
error LNK2019: unresolved external symbol __imp__InitCommonControls@0 referenced in function "long __stdcall DXUTInit(bool,bool,wchar_t *,bool)" (?DXUTInit@@YGJ_N0PA_W0@Z)<span style="white-spacere
C:GeoRockDXUT.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 2<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateEffect@36 referenced in function "public: static long __stdcall CDXUTDirectionWidget::StaticOnD3D9CreateDevice(struct IDirect3DDevice9 *)" (?StaticOnD3D9CreateDevice@CDXUTDirectionWidget@@SGJPAUIDirect3DDevice9@@@Z)<span style="white-spacere
C:GeoRockDXUTcamera.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 3<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateSprite@8 referenced in function "public: long __thiscall CDXUTDialogResourceManager::OnD3D9CreateDevice(struct IDirect3DDevice9 *)" (?OnD3D9CreateDevice@CDXUTDialogResourceManager@@QAEJPAUIDirect3DDevice9@@@Z)<span style="white-spacere
C:GeoRockDXUTgui.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 4<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateFontW@48 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateFont9(unsigned int)" (?CreateFont9@CDXUTDialogResourceManager@@IAEJI@Z)<span style="white-spacere
C:GeoRockDXUTgui.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 5<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileExW@56 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture9(unsigned int)" (?CreateTexture9@CDXUTDialogResourceManager@@IAEJI@Z)<span style="white-spacere
C:GeoRockDXUTgui.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 6<span style="white-spacere
error LNK2001: unresolved external symbol _D3DXCreateTextureFromFileExW@56<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 7<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateTextureFromResourceExW@60 referenced in function "protected: long __thiscall CDXUTDialogResourceManager::CreateTexture9(unsigned int)" (?CreateTexture9@CDXUTDialogResourceManager@@IAEJI@Z)<span style="white-spacere
C:GeoRockDXUTgui.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 8<span style="white-spacere
error LNK2001: unresolved external symbol _D3DXCreateTextureFromResourceExW@60<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 9<span style="white-spacere
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)<span style="white-spacere
C:GeoRockDXUTres.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 10<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXLoadMeshFromXInMemory@36 referenced in function "long __stdcall DXUTCreateArrowMeshFromInternalArray(struct IDirect3DDevice9 *,struct ID3DXMesh * *)" (?DXUTCreateArrowMeshFromInternalArray@@YGJPAUIDirect3DDevice9@@PAPAUID3DXMesh@@@Z)<span style="white-spacere
C:GeoRockDXUTres.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 11<span style="white-spacere
error LNK2019: unresolved external symbol _ImmSetConversionStatus@12 referenced in function "long __cdecl ImeUi_ProcessMessage(struct HWND__ *,unsigned int,unsigned int,long &,bool *)" (?ImeUi_ProcessMessage@@YAJPAUHWND__@@IIAAJPA_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 12<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetConversionStatus@12 referenced in function "long __cdecl ImeUi_ProcessMessage(struct HWND__ *,unsigned int,unsigned int,long &,bool *)" (?ImeUi_ProcessMessage@@YAJPAUHWND__@@IIAAJPA_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 13<span style="white-spacere
error LNK2019: unresolved external symbol _ImmReleaseContext@8 referenced in function "long __cdecl ImeUi_ProcessMessage(struct HWND__ *,unsigned int,unsigned int,long &,bool *)" (?ImeUi_ProcessMessage@@YAJPAUHWND__@@IIAAJPA_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 14<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetContext@4 referenced in function "long __cdecl ImeUi_ProcessMessage(struct HWND__ *,unsigned int,unsigned int,long &,bool *)" (?ImeUi_ProcessMessage@@YAJPAUHWND__@@IIAAJPA_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 15<span style="white-spacere
error LNK2019: unresolved external symbol _ImmSetOpenStatus@8 referenced in function "void __cdecl ImeUi_SetState(unsigned long)" (?ImeUi_SetState@@YAXK@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 16<span style="white-spacere
error LNK2019: unresolved external symbol _ImmSimulateHotKey@8 referenced in function "void __cdecl ImeUi_SetState(unsigned long)" (?ImeUi_SetState@@YAXK@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 17<span style="white-spacere
error LNK2019: unresolved external symbol _ImmAssociateContext@8 referenced in function "void __cdecl ImeUi_EnableIme(bool)" (?ImeUi_EnableIme@@YAX_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 18<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetCandidateListA@16 referenced in function "bool __cdecl ImeUi_Initialize(struct HWND__ *,bool)" (?ImeUi_Initialize@@YA_NPAUHWND__@@_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 19<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetCandidateListW@16 referenced in function "bool __cdecl ImeUi_Initialize(struct HWND__ *,bool)" (?ImeUi_Initialize@@YA_NPAUHWND__@@_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 20<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetCompositionStringW@16 referenced in function "bool __cdecl ImeUi_Initialize(struct HWND__ *,bool)" (?ImeUi_Initialize@@YA_NPAUHWND__@@_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 21<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetCompositionStringA@16 referenced in function "long __stdcall AW_ImmGetCompositionString(struct HIMC__ *,unsigned long,void *,unsigned long)" (?AW_ImmGetCompositionString@@YGJPAUHIMC__@@KPAXK@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 22<span style="white-spacere
error LNK2019: unresolved external symbol _VerQueryValueA@16 referenced in function "unsigned long __cdecl GetImeId(unsigned int)" (?GetImeId@@YAKI@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 23<span style="white-spacere
error LNK2019: unresolved external symbol _GetFileVersionInfoA@16 referenced in function "unsigned long __cdecl GetImeId(unsigned int)" (?GetImeId@@YAKI@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 24<span style="white-spacere
error LNK2019: unresolved external symbol _GetFileVersionInfoSizeA@8 referenced in function "unsigned long __cdecl GetImeId(unsigned int)" (?GetImeId@@YAKI@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 25<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetIMEFileNameA@12 referenced in function "unsigned long __cdecl GetImeId(unsigned int)" (?GetImeId@@YAKI@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 26<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetVirtualKey@4 referenced in function "bool __cdecl ImeUi_IgnoreHotKey(struct tagMSG const *)" (?ImeUi_IgnoreHotKey@@YA_NPBUtagMSG@@@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 27<span style="white-spacere
error LNK2019: unresolved external symbol _ImmSetCompositionStringW@24 referenced in function "void __cdecl ImeUi_FinalizeString(bool)" (?ImeUi_FinalizeString@@YAX_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 28<span style="white-spacere
error LNK2019: unresolved external symbol _ImmNotifyIME@16 referenced in function "void __cdecl ImeUi_FinalizeString(bool)" (?ImeUi_FinalizeString@@YAX_N@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 29<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetOpenStatus@4 referenced in function "void __cdecl CheckToggleState(void)" (?CheckToggleState@@YAXXZ)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 30<span style="white-spacere
error LNK2019: unresolved external symbol _ImmIsIME@4 referenced in function "void __cdecl CheckToggleState(void)" (?CheckToggleState@@YAXXZ)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 31<span style="white-spacere
error LNK2019: unresolved external symbol _ImmGetDefaultIMEWnd@4 referenced in function "void __cdecl ImeUi_ToggleLanguageBar(int)" (?ImeUi_ToggleLanguageBar@@YAXH@Z)<span style="white-spacere
C:GeoRockImeUi.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 32<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 33<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXLoadMeshFromXof@32 referenced in function "public: long __thiscall CDXUTXFileMesh::Create(struct IDirect3DDevice9 *,struct ID3DXFileData *)" (?Create@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@PAUID3DXFileData@@@Z)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 34<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 35<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 36<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 37<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 38<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXComputeNormals@8 referenced in function "public: long __thiscall CDXUTXFileMesh::SetFVF(struct IDirect3DDevice9 *,unsigned long)" (?SetFVF@CDXUTXFileMesh@@QAEJPAUIDirect3DDevice9@@K@Z)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 39<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 40<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmesh.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 41<span style="white-spacere
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 *,structIDirect3DCubeTexture9 * *)" (?CreateCubeTextureFromFileEx@CDXUTResourceCache@@QAEJPAUIDirect3DDevice9@@PB_WIIKW4_D3DFORMAT@@W4_D3DPOOL@@KKKPAU_D3DXIMAGE_INFO@@PAUtagPALETTEENTRY@@PAPAUIDirect3DCubeTexture9@@@Z)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 42<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 43<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 44<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 45<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 46<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 47<span style="white-spacere
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)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 48<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXCreateLine@8 referenced in function "public: long __thiscall CDXUTLineManager::OnCreatedDevice(struct IDirect3DDevice9 *)" (?OnCreatedDevice@CDXUTLineManager@@QAEJPAUIDirect3DDevice9@@@Z)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 49<span style="white-spacere
error LNK2019: unresolved external symbol _D3DXSaveSurfaceToFileW@20 referenced in function "long __cdecl DXUTSnapD3D9Screenshot(wchar_t const *)" (?DXUTSnapD3D9Screenshot@@YAJPB_W@Z)<span style="white-spacere
C:GeoRockSDKmisc.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 50<span style="white-spacere
error LNK2019: unresolved external symbol _DirectSoundCreate8@12 referenced in function "public: long __thiscall CSoundManager::Initialize(struct HWND__ *,unsigned long)" (?Initialize@CSoundManager@@QAEJPAUHWND__@@K@Z)<span style="white-spacere
C:GeoRockSDKsound.obj<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 51<span style="white-spacere
error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup<span style="white-spacere
C:GeoRockMSVCRTD.lib(crtexew.obj)<span style="white-spacere GeoRock<br/>
Error<span style="white-spacere 52<span style="white-spacere
error LNK1120: 49 unresolved externals<span style="white-spacere C:GeoRockDebugGeoRock.exe<span style="white-spacere
GeoRock<br/>
View the full article