Create an emulator osdesign, Which is skipped by XXX characters, as shown in the following figure:
Then build and find
Error: Failed setting line
Makeimg: Fatal error: Command returned non-zero exit code 1 (DEC ).
Makeimg: Fatal error: Command returned non-zero exit code 1 (DEC ).
Blddemo: myosdesign build complete.
Myosdesign-4 error (s), 5 Warning (s)
============ Generate: 0 succeeded or the latest, 1 failed, 0 skipped ============
Find the log carefully and find that:
Error: cocould not find file 'C:/wince600/osdesigns/myosdesign/reldir/myemulatorbsp_armv4i_release/kitl. dll 'on disk
Kitl. dll C:/wince600/osdesigns/myosdesign/reldir/myemulatorbsp_armv4i_release/kitl. dll NK sHz
Well, we can solve the problem caused by kitl. dll, and Google will find the first suspect.
Http://blogs.msdn.com/ B /mohitgog/archive/2007/01/08/build-error-with-device-emulator-bsp-and-windows-ce6-0.aspx
The fix is simple just to rename DeviceEmulator-preri.bat in mybsp/Files directory to MyBSP-preri.bat
Tried, useless
And then Google to the second suspect:
Http://blog.csdn.net/ffeige1984/archive/2009/06/25/4298763.aspx
Modify common. bib under/public/common/oak/Files
If imgnokitldll!
Nk.exe $ (_ flatreleasedir)/oal.exe NK sHz
; Kitl. dll $ (_ flatreleasedir)/kitl. dll NK sHz
Endif imgnokitldll!
Comment out the line of kitl. dll and compile it. myosdesign-0 error (s), 15 warning (s)
============ Generate: 1 successful or latest, 0 failed, 0 skipped ============
However, this seems to be a permanent solution. When you create an osdesign, select kitl,
,,,,,,,,,
Think about the following:Kitl(Kernel independent transport layer) is a software technology based on the Windows CE platform, based on which developers can easily support various debugging functions. Because Windows CE debugging is a remote debugging, http://www.microsoft.com/china/ctc/newsletter/newsletter200503/kitl.htm
Should I select release + NO kitl in the selection of the activity platform? Or debug + kitl
Verify ing...
Check the log carefully and find that:
Preromimage calling DeviceEmulator-preri.bat
Well, remember to C:/wince600/platform/myemulatorbsp/files/DeviceEmulator-preri.bat renamed to % name % BSP. bat? Change back to DeviceEmulator-preri.bat
Compile...