When I tried to build sysgen as a debug version I got some link errors for certain modules: ================================ Linking C:\WINCE600\platform\SMDK6410\target\ARMV4I\debug\PWM.dllerror LNK2001: unresolved external symbol dpCurSettings ================================ The solution is that you need to define the debugparams for the modules that are complained about. At the top of each problem module .cpp file just below the #includes put the following code: DBGPARAM dpCurSettings = \ { \ TEXT("PWM_Driver"), \ { \ TEXT("Init"), \ }, \ (0x0001) \ };