   DXUT library (updated / new issues)
  So I want to use the CModelViewerCamera class that is defined in DXUT, and I've already built the core and optional libraries located at C:\Program Files (x86)\Microsoft DirectX SDK (February 2010)\Samples\Cplusplus \DXUT.I have placed the .lib files in my local directory and have included the header and linked to the .lib file#include "DXUT.h"//#include "DXUTenum.h"//#include "DXUTmisc.h"#include "DXUTcamera.h"#pragma comment( lib, "DXUT.lib" )#pragma comment( lib, "DXUTOpt.lib" )but when I compile withCModelViewerCamera mvc; I get 2 linker errors:1>DXUT.lib(DXUT.obj) : error LNK2019: unresolved external symbol __imp__InitCommonControls@0 referenced in function "long __stdcall DXUTInit(bool,bool,wchar_t *,bool)" (?DXUTInit@@YGJ_N0PA_W0@Z)1>DXUT.lib(DXUTmisc.obj) : error LNK2019: unresolved external symbol _DXTraceW@20 referenced in function "long __stdcall DXUTTrace(char const *,unsigned long,long,wchar_t const *,bool)" (?DXUTTrace@@YGJPBDKJPB_W_N@Z)What exactly am I doing wrong? Is there an easier setup to use CModelViewerCamera? Thanks.[Edited by - 16bit_port on May 6, 2010 7:56:19 PM]
  Could you try linking against comctl32.lib also? That should give you InitCommonControls(), I am also using DXUT as a lib in my project, but I checked and I didn't have to explicitly link against comctl32.lib. DXTraceW can be had by linking against DXErr.lib (or DXErr9.lib if you have an older SDK)   ;  Thank you very much. I just linked to both of those libraries and it builds and links just fine.   