Sign in to follow this  

Compiling DX stuff in VC++ Express 2005

This topic is 3861 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

Okay, so: I'm trying to build SDL for vc++, however i've got a problem; VC++ doesn't want to find my DirectX libs. I know I have them set up correctly, since the SDK installer (April 2007) added the libs/incs/bins to my vc++ directories. Whenever I try to compile any DirectX stuff I get this: (This is from trying to build SDL)
Quote:
1>------ Build started: Project: SDL, Configuration: Release Win32 ------ 1>Linking... 1> Creating library .\Release/SDL.lib and object .\Release/SDL.exp 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__GetMessageA@16 referenced in function _DIB_PumpEvents 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__GetMessageA@16 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function _DIB_PumpEvents 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageA@4 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageA@4 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 referenced in function _DIB_PumpEvents 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__PeekMessageA@20 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__PeekMessageA@20 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__GetKeyboardLayout@4 referenced in function _DIB_InitOSKeymap 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__GetKeyboardLayout@4 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__LoadKeyboardLayoutA@8 referenced in function _DIB_InitOSKeymap 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__GetKeyboardLayoutNameA@4 referenced in function _DIB_InitOSKeymap 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__MapVirtualKeyExA@12 referenced in function _SDL_MapVirtualKey 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__GetKeyboardState@4 referenced in function _TranslateKey 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__GetKeyboardState@4 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__GetKeyboardState@4 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8 1>SDL_syswm.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function _DIB_CreateWindow 1>SDL_dibvideo.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function _DIB_CreateWindow 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__CreateWindowExA@48 1>SDL_wingl.obj : error LNK2001: unresolved external symbol __imp__CreateWindowExA@48 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__SetWindowLongA@12 referenced in function _DIB_CreateWindow 1>SDL_dibvideo.obj : error LNK2001: unresolved external symbol __imp__SetWindowLongA@12 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__SetWindowLongA@12 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__SetWindowLongA@12 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__GetWindowLongA@8 referenced in function _WIN_GetKeyboardState 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__GetWindowLongA@8 1>SDL_wingl.obj : error LNK2001: unresolved external symbol __imp__GetWindowLongA@8 1>SDL_dibevents.obj : error LNK2001: unresolved external symbol __imp__GetWindowLongA@8 1>SDL_dibvideo.obj : error LNK2001: unresolved external symbol __imp__GetWindowLongA@8 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__GetWindowLongA@8 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__GetWindowLongA@8 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function _DIB_DestroyWindow 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__DestroyWindow@4 1>SDL_wingl.obj : error LNK2001: unresolved external symbol __imp__DestroyWindow@4 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__CallWindowProcA@20 referenced in function _DIB_HandleMessage 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__CallWindowProcA@20 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function _DIB_HandleMessage 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__DefWindowProcA@16 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__DefWindowProcA@16 1>SDL_dibevents.obj : error LNK2019: unresolved external symbol __imp__GetKeyState@4 referenced in function _DIB_HandleMessage 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__CreatePalette@4 referenced in function _DIB_CreatePalette 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function _DIB_CreatePalette 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__ReleaseDC@8 1>SDL_wingl.obj : error LNK2001: unresolved external symbol __imp__ReleaseDC@8 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__GetSystemPaletteEntries@16 referenced in function _DIB_CreatePalette 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__GetSystemPaletteEntries@16 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__GetDC@4 referenced in function _DIB_CreatePalette 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__GetDC@4 1>SDL_wingl.obj : error LNK2001: unresolved external symbol __imp__GetDC@4 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function _DIB_SussScreenDepth 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__GetDIBits@28 referenced in function _DIB_SussScreenDepth 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__CreateCompatibleBitmap@12 referenced in function _DIB_SussScreenDepth 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__DeleteDC@4 referenced in function _DIB_NormalUpdate 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__BitBlt@36 referenced in function _DIB_NormalUpdate 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__SelectObject@8 referenced in function _DIB_NormalUpdate 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__CreateCompatibleDC@4 referenced in function _DIB_NormalUpdate 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__SelectPalette@12 referenced in function _DIB_NormalUpdate 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__SetDIBColorTable@16 referenced in function _DIB_SetColors 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__RealizePalette@4 referenced in function _DIB_SetColors 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__SetPaletteEntries@16 referenced in function _DIB_SetColors 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__GetDeviceGammaRamp@8 referenced in function _DIB_CheckGamma 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__SetDeviceGammaRamp@8 referenced in function _DIB_SwapGamma 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__DestroyIcon@4 referenced in function _DIB_VideoQuit 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__DestroyIcon@4 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__ChangeDisplaySettingsA@8 referenced in function _DIB_VideoQuit 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__ChangeDisplaySettingsA@8 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__ChangeDisplaySettingsA@8 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__InvalidateRect@12 referenced in function _DIB_FocusPalette 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__EnumDisplaySettingsA@12 referenced in function _DIB_VideoInit 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__EnumDisplaySettingsA@12 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__SetForegroundWindow@4 referenced in function _DIB_SetVideoMode 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__SetForegroundWindow@4 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__SetWindowPos@28 referenced in function _DIB_SetVideoMode 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__SetWindowPos@28 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__GetSystemMetrics@4 referenced in function _DIB_SetVideoMode 1>SDL_dx5events.obj : error LNK2001: unresolved external symbol __imp__GetSystemMetrics@4 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__GetSystemMetrics@4 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__GetSystemMetrics@4 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__AdjustWindowRectEx@16 referenced in function _DIB_SetVideoMode 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__AdjustWindowRectEx@16 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__GetMenu@4 referenced in function _DIB_SetVideoMode 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__GetMenu@4 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__GetMenu@4 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__CreateDIBSection@24 referenced in function _DIB_SetVideoMode 1>SDL_dibvideo.obj : error LNK2019: unresolved external symbol __imp__IsZoomed@4 referenced in function _DIB_SetVideoMode 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__IsZoomed@4 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__IsZoomed@4 1>SDL_dx5audio.obj : error LNK2019: unresolved external symbol __imp__GetDesktopWindow@0 referenced in function _CreateSecondary 1>SDL_dx5events.obj : error LNK2019: unresolved external symbol __imp__GetParent@4 referenced in function _GetTopLevelParent 1>SDL_dx5events.obj : error LNK2019: unresolved external symbol __imp__ReleaseCapture@0 referenced in function _handle_mouse 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__ReleaseCapture@0 1>SDL_dx5events.obj : error LNK2019: unresolved external symbol __imp__SetCapture@4 referenced in function _handle_mouse 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__SetCapture@4 1>SDL_dx5events.obj : error LNK2019: unresolved external symbol __imp__ScreenToClient@8 referenced in function _handle_mouse 1>SDL_dx5events.obj : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function _handle_mouse 1>SDL_sysevents.obj : error LNK2001: unresolved external symbol __imp__GetCursorPos@4 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__GetCursorPos@4 1>SDL_dx5events.obj : error LNK2019: unresolved external symbol __imp__GetForegroundWindow@0 referenced in function _DX5_HandleMessage 1>SDL_dx5video.obj : error LNK2001: unresolved external symbol __imp__GetForegroundWindow@0 1>SDL_dx5events.obj : error LNK2019: unresolved external symbol __imp__MsgWaitForMultipleObjects@20 referenced in function _DX5_CheckInput 1>SDL_dx5events.obj : error LNK2019: unresolved external symbol __imp__MapVirtualKeyA@8 referenced in function _TranslateKey 1>SDL_dx5video.obj : error LNK2019: unresolved external symbol __imp__GetDeviceCaps@8 referenced in function _DX5_VideoInit 1>SDL_mmjoystick.obj : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _GetJoystickName 1>SDL_mmjoystick.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _GetJoystickName 1>SDL_mmjoystick.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _GetJoystickName 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _WIN_FlushMessageQueue 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__PostMessageA@16 referenced in function _TrackMouseTimerProc@16 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__KillTimer@8 referenced in function _TrackMouseTimerProc@16 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__WindowFromPoint@8 referenced in function _TrackMouseTimerProc@16 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__WindowFromPoint@8 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__PtInRect@12 referenced in function _TrackMouseTimerProc@16 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__PtInRect@12 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__MapWindowPoints@16 referenced in function _TrackMouseTimerProc@16 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__MapWindowPoints@16 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function _TrackMouseTimerProc@16 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__GetClientRect@8 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__SetTimer@16 referenced in function _WIN_TrackMouseEvent@4 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function _SDL_UnregisterApp 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__GetClassInfoA@12 referenced in function _SDL_UnregisterApp 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__ToAsciiEx@24 referenced in function _ToUnicode9xME@24 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__SetFocus@4 referenced in function _WinMessage@16 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__SetCursorPos@8 referenced in function _WinMessage@16 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__SetCursorPos@8 1>SDL_syswm.obj : error LNK2001: unresolved external symbol __imp__SetCursorPos@8 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function _WinMessage@16 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__EndPaint@8 referenced in function _WinMessage@16 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__BeginPaint@8 referenced in function _WinMessage@16 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__SetCursor@4 referenced in function _WinMessage@16 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__SetCursor@4 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__ClipCursor@4 referenced in function _WinMessage@16 1>SDL_syswm.obj : error LNK2001: unresolved external symbol __imp__ClipCursor@4 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__ClientToScreen@8 referenced in function _WinMessage@16 1>SDL_sysmouse.obj : error LNK2001: unresolved external symbol __imp__ClientToScreen@8 1>SDL_syswm.obj : error LNK2001: unresolved external symbol __imp__ClientToScreen@8 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__AdjustWindowRect@12 referenced in function _WinMessage@16 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function _WinMessage@16 1>SDL_wingl.obj : error LNK2001: unresolved external symbol __imp__GetWindowRect@8 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__ToUnicode@24 referenced in function _SDL_RegisterApp 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__RegisterClassA@4 referenced in function _SDL_RegisterApp 1>SDL_sysevents.obj : error LNK2019: unresolved external symbol __imp__LoadImageA@24 referenced in function _SDL_RegisterApp 1>SDL_sysmouse.obj : error LNK2019: unresolved external symbol __imp__DestroyCursor@4 referenced in function _WIN_FreeWMCursor 1>SDL_sysmouse.obj : error LNK2019: unresolved external symbol __imp__GetCursor@0 referenced in function _WIN_FreeWMCursor 1>SDL_sysmouse.obj : error LNK2019: unresolved external symbol __imp__CreateCursor@28 referenced in function _WIN_CreateWMCursor 1>SDL_syswm.obj : error LNK2019: unresolved external symbol __imp__SetClassLongA@12 referenced in function _WIN_SetWMIcon 1>SDL_syswm.obj : error LNK2019: unresolved external symbol __imp__CreateIconFromResourceEx@28 referenced in function _WIN_SetWMIcon 1>SDL_syswm.obj : error LNK2019: unresolved external symbol __imp__SetWindowTextA@8 referenced in function _WIN_SetWMCaption 1>SDL_wingl.obj : error LNK2019: unresolved external symbol __imp__SetPixelFormat@12 referenced in function _Init_WGL_ARB_extensions 1>SDL_wingl.obj : error LNK2019: unresolved external symbol __imp__ChoosePixelFormat@8 referenced in function _Init_WGL_ARB_extensions 1>SDL_wingl.obj : error LNK2019: unresolved external symbol __imp__SwapBuffers@4 referenced in function _WIN_GL_SwapBuffers 1>SDL_wingl.obj : error LNK2019: unresolved external symbol __imp__DescribePixelFormat@16 referenced in function _WIN_GL_SetupWindow 1>.\Release/SDL.dll : fatal error LNK1120: 91 unresolved externals 1>Build log was saved at "file://c:\CPPLibs\SDL-1.2.11\VisualC\SDL\Release\BuildLog.htm" 1>SDL - 156 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I get similar errors when building some of the examples from the DX SDK: (This is from building the AntiAlias sample)
Quote:
1>------ Build started: Project: AntiAlias, Configuration: Release Win32 ------ 1>Compiling... 1>dxstdafx.cpp 1>Compiling... 1>DXUTSettingsDlg.cpp 1>DXUTRes.cpp 1>DXUTmisc.cpp 1>DXUTMesh.cpp 1>DXUTgui.cpp 1>DXUTenum.cpp 1>DXUT.cpp 1>Generating Code... 1>Compiling... 1>AntiAlias.cpp 1>Compiling resources... 1>Linking... 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__CallNextHookEx@16 referenced in function "long __stdcall LowLevelKeyboardProc(int,unsigned int,long)" (?LowLevelKeyboardProc@@YGJHIJ@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SetWindowsHookExW@16 referenced in function "void __cdecl DXUTAllowShortcutKeys(bool)" (?DXUTAllowShortcutKeys@@YAX_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__UnhookWindowsHookEx@4 referenced in function "void __cdecl DXUTAllowShortcutKeys(bool)" (?DXUTAllowShortcutKeys@@YAX_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SystemParametersInfoW@16 referenced in function "void __cdecl DXUTAllowShortcutKeys(bool)" (?DXUTAllowShortcutKeys@@YAX_N@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol __imp__SystemParametersInfoW@16 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__DeleteDC@4 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetDIBits@28 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SelectObject@8 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__CreateCompatibleDC@4 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetDC@4 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetObjectW@12 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetIconInfo@8 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function "struct tagRECT __cdecl DXUTGetWindowClientRect(void)" (?DXUTGetWindowClientRect@@YA?AUtagRECT@@XZ) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__GetClientRect@8 1>DXUTSettingsDlg.obj : error LNK2001: unresolved external symbol __imp__GetClientRect@8 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__MessageBoxW@16 referenced in function "void __cdecl DXUTDisplayErrorMessage(long)" (?DXUTDisplayErrorMessage@@YAXJ@Z) 1>dxerr.lib(dxerr.obj) : error LNK2001: unresolved external symbol __imp__MessageBoxW@16 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetSystemMetrics@4 referenced in function "void __cdecl DXUTDisplayErrorMessage(long)" (?DXUTDisplayErrorMessage@@YAXJ@Z) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__GetSystemMetrics@4 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SendMessageW@16 referenced in function "void __cdecl DXUTShutdown(int)" (?DXUTShutdown@@YAXH@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol __imp__SendMessageW@16 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__SendMessageW@16 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__ClipCursor@4 referenced in function "void __cdecl DXUTSetupCursor(void)" (?DXUTSetupCursor@@YAXXZ) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function "void __cdecl DXUTSetupCursor(void)" (?DXUTSetupCursor@@YAXXZ) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetClassLongW@8 referenced in function "void __cdecl DXUTSetupCursor(void)" (?DXUTSetupCursor@@YAXXZ) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SetCursor@4 referenced in function "void __cdecl DXUTSetupCursor(void)" (?DXUTSetupCursor@@YAXXZ) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__CommandLineToArgvW@8 referenced in function "void __cdecl DXUTParseCommandLine(void)" (?DXUTParseCommandLine@@YAXXZ) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetAsyncKeyState@4 referenced in function "bool __cdecl DXUTIsKeyDown(unsigned char)" (?DXUTIsKeyDown@@YA_NE@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol __imp__GetAsyncKeyState@4 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__IsWindowVisible@4 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__IsZoomed@4 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__AdjustWindowRect@12 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__IsIconic@4 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SetWindowPos@28 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SetWindowPlacement@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetMenu@4 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetWindowPlacement@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SetMenu@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SetWindowLongW@12 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetWindowLongW@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcW@16 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__GetCursorPos@4 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol __imp__PostQuitMessage@4 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassW@8 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__DestroyMenu@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__ScreenToClient@8 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExW@48 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__SetRect@20 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol __imp__SetRect@20 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__SetRect@20 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__RegisterClassW@4 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetStockObject@4 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__LoadCursorW@8 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__ExtractIconW@12 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__GetWindowTextW@12 referenced in function "long __cdecl DXUTSetWindow(struct HWND__ *,struct HWND__ *,struct HWND__ *,bool)" (?DXUTSetWindow@@YAJPAUHWND__@@00_N@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__DestroyAcceleratorTable@4 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageW@4 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol __imp__TranslateMessage@4 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__TranslateAcceleratorW@12 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z) 1>DXUT.obj : error LNK2019: unresolved external symbol __imp__PeekMessageW@20 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z) 1>DXUTgui.obj : error LNK2001: unresolved external symbol __imp__PeekMessageW@20 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__ReleaseCapture@0 referenced in function "public: static void __cdecl CDXUTDialog::ClearFocus(void)" (?ClearFocus@CDXUTDialog@@SAXXZ) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__ReleaseCapture@0 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__SetCapture@4 referenced in function "public: virtual bool __thiscall CDXUTCheckBox::HandleMouse(unsigned int,struct tagPOINT,unsigned int,long)" (?HandleMouse@CDXUTCheckBox@@UAE_NIUtagPOINT@@IJ@Z) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__SetCapture@4 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__PtInRect@12 referenced in function "public: virtual int __thiscall CDXUTCheckBox::ContainsPoint(struct tagPOINT)" (?ContainsPoint@CDXUTCheckBox@@UAEHUtagPOINT@@@Z) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__PtInRect@12 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__OffsetRect@12 referenced in function "public: virtual void __thiscall CDXUTSlider::UpdateRects(void)" (?UpdateRects@CDXUTSlider@@UAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__InflateRect@12 referenced in function "public: virtual void __thiscall CDXUTEditBox::UpdateRects(void)" (?UpdateRects@CDXUTEditBox@@UAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__keybd_event@16 referenced in function "protected: static void __cdecl CDXUTIMEEditBox::SendKey(unsigned char)" (?SendKey@CDXUTIMEEditBox@@KAXE@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__GetMessageW@16 referenced in function "public: void __thiscall CDXUTIMEEditBox::PumpMessage(void)" (?PumpMessage@CDXUTIMEEditBox@@QAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function "public: void __thiscall CDXUTIMEEditBox::PumpMessage(void)" (?PumpMessage@CDXUTIMEEditBox@@QAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__SetRectEmpty@4 referenced in function "public: void __thiscall CDXUTElement::SetTexture(unsigned int,struct tagRECT *,unsigned long)" (?SetTexture@CDXUTElement@@QAEXIPAUtagRECT@@K@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__CloseClipboard@0 referenced in function "protected: void __thiscall CDXUTEditBox::CopyToClipboard(void)" (?CopyToClipboard@CDXUTEditBox@@IAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__SetClipboardData@8 referenced in function "protected: void __thiscall CDXUTEditBox::CopyToClipboard(void)" (?CopyToClipboard@CDXUTEditBox@@IAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__EmptyClipboard@0 referenced in function "protected: void __thiscall CDXUTEditBox::CopyToClipboard(void)" (?CopyToClipboard@CDXUTEditBox@@IAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__OpenClipboard@4 referenced in function "protected: void __thiscall CDXUTEditBox::CopyToClipboard(void)" (?CopyToClipboard@CDXUTEditBox@@IAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__GetClipboardData@4 referenced in function "protected: void __thiscall CDXUTEditBox::PasteFromClipboard(void)" (?PasteFromClipboard@CDXUTEditBox@@IAEXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__GetKeyState@4 referenced in function "public: virtual bool __thiscall CDXUTEditBox::HandleKeyboard(unsigned int,unsigned int,long)" (?HandleKeyboard@CDXUTEditBox@@UAE_NIIJ@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__GetKeyboardLayout@4 referenced in function "protected: static void __cdecl CDXUTIMEEditBox::CheckInputLocale(void)" (?CheckInputLocale@CDXUTIMEEditBox@@KAXXZ) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__IntersectRect@12 referenced in function "public: virtual void __thiscall CDXUTEditBox::Render(struct IDirect3DDevice9 *,float)" (?Render@CDXUTEditBox@@UAEXPAUIDirect3DDevice9@@M@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "protected: static void __cdecl CDXUTIMEEditBox::GetReadingWindowOrientation(unsigned long)" (?GetReadingWindowOrientation@CDXUTIMEEditBox@@KAXK@Z) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__RegCloseKey@4 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExW@24 referenced in function "protected: static void __cdecl CDXUTIMEEditBox::GetReadingWindowOrientation(unsigned long)" (?GetReadingWindowOrientation@CDXUTIMEEditBox@@KAXK@Z) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__RegQueryValueExW@24 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExW@20 referenced in function "protected: static void __cdecl CDXUTIMEEditBox::GetReadingWindowOrientation(unsigned long)" (?GetReadingWindowOrientation@CDXUTIMEEditBox@@KAXK@Z) 1>DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__RegOpenKeyExW@20 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__PostMessageW@16 referenced in function "public: virtual bool __thiscall CDXUTIMEEditBox::MsgProc(unsigned int,unsigned int,long)" (?MsgProc@CDXUTIMEEditBox@@UAE_NIIJ@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__GetFocus@0 referenced in function "public: virtual bool __thiscall CDXUTIMEEditBox::MsgProc(unsigned int,unsigned int,long)" (?MsgProc@CDXUTIMEEditBox@@UAE_NIIJ@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__GetKeyboardLayoutList@8 referenced in function "public: static bool __cdecl CDXUTIMEEditBox::StaticMsgProc(unsigned int,unsigned int,long)" (?StaticMsgProc@CDXUTIMEEditBox@@SA_NIIJ@Z) 1>DXUTgui.obj : error LNK2019: unresolved external symbol __imp__GetCaretBlinkTime@0 referenced in function "public: __thiscall CDXUTEditBox::CDXUTEditBox(class CDXUTDialog *)" (??0CDXUTEditBox@@QAE@PAVCDXUTDialog@@@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SetDlgItemTextW@12 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__LoadIconW@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SetWindowTextW@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__EndDialog@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__EnableWindow@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__GetDlgItem@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__CheckDlgButton@12 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__IsDlgButtonChecked@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SystemParametersInfoA@16 referenced in function "int __cdecl DXUTGetMonitorInfo(struct HMONITOR__ *,struct tagMONITORINFO *)" (?DXUTGetMonitorInfo@@YAHPAUHMONITOR__@@PAUtagMONITORINFO@@@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__EnumDisplaySettingsW@12 referenced in function "void __cdecl DXUTGetDesktopResolution(unsigned int,unsigned int *,unsigned int *)" (?DXUTGetDesktopResolution@@YAXIPAI0@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__ShellExecuteW@24 referenced in function "bool __cdecl DXUTReLaunchMediaCenter(void)" (?DXUTReLaunchMediaCenter@@YA_NXZ) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__RegSetValueExW@24 referenced in function "void __cdecl DXUTDisplaySwitchingToREFWarning(void)" (?DXUTDisplaySwitchingToREFWarning@@YAXXZ) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__DialogBoxIndirectParamW@20 referenced in function "void __cdecl DXUTDisplaySwitchingToREFWarning(void)" (?DXUTDisplaySwitchingToREFWarning@@YAXXZ) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SetCursorPos@8 referenced in function "protected: void __thiscall CBaseCamera::GetInput(bool,bool,bool,bool)" (?GetInput@CBaseCamera@@IAEX_N000@Z) 1>DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__GetForegroundWindow@0 referenced in function "public: __thiscall CD3DArcBall::CD3DArcBall(void)" (??0CD3DArcBall@@QAE@XZ) 1>dxerr.lib(dxerr.obj) : error LNK2001: unresolved external symbol __imp__GetForegroundWindow@0 1>dxerr.lib(dxerr.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function _DXTraceA@20 1>Release/AntiAlias.exe : fatal error LNK1120: 94 unresolved externals 1>Build log was saved at "file://c:\Program Files\Microsoft DirectX SDK (April 2007)\Samples\C++\Direct3D\AntiAlias\Release\BuildLog.htm" 1>AntiAlias - 116 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Any ideas?

Share this post


Link to post
Share on other sites

Get, and install, the Platform SDK. A link to it and instructions to install and configure VC++ Express are on the VC++ Express pages. If you already have it, double-check that it is configured correctly.

Then double-check the linker options and settings in the IDE and make sure the right paths are set, that you're include things via the right paths, and that files actually exist in those paths.

Share this post


Link to post
Share on other sites
Then double-check configurations and that files exist, etc. Most (I didn't pick through all) of the unresolved symbols are Platform SDK ones, so the problem seems likely to be there.

Share this post


Link to post
Share on other sites

This topic is 3861 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this