Hi MS guy:

How to debug the build.dat error? Any clue?

Thanks
Lu

--------------------Configuration: CIVLU: x86_Debug--------------------
Starting Build: set WINCEREL=1&&build -c
==============
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:PROGC ] Checking for
\WINCE500\sdk\bin\i386\srccheck.exe.
BUILD: [00:0000000001:PROGC ] SrcCheck exit code: 0 (dec).
BUILD: [00:0000000002:PROGC ] Compile and Link for x86.
BUILD: [00:0000000003:PROGC ] Loading
C:\WINCE500\PLATFORM\CIVLU\Build.dat.
BUILD: [00:0000000004:ERRORI] Bad database entry: Build Info\ 0 10 0.
BUILD: [00:0000000005:PROGC ] Files Warnings
Errors
BUILD: [00:0000000006:PROGC ] Midl 0 0
0
BUILD: [00:0000000007:PROGC ] Resource 0 0
0
BUILD: [00:0000000008:PROGC ] Message 0 0
0
BUILD: [00:0000000009:PROGC ] Precomp Header 0 0
0
BUILD: [00:0000000010:PROGC ] C/Cpp/Cxx 0 0
0
BUILD: [00:0000000011:PROGC ] Assembler 0 0
0
BUILD: [00:0000000012:PROGC ] Static Libraries 0 0
0
BUILD: [00:0000000013:PROGC ] Dll's 0 0
0
BUILD: [00:0000000014:PROGC ] Exe's 0 0
0
BUILD: [00:0000000015:PROGC ] Resx 0 0
0
BUILD: [00:0000000016:PROGC ] Csharp Targets 0 0
0
BUILD: [00:0000000017:PROGC ] Other 0 0
1
BUILD: [00:0000000018:PROGC ]
BUILD: [00:0000000019:PROGC ] Total 0 0
1
BUILD: [00:0000000020:PROGC ]
BUILD: [00:0000000021:PROGC ] 0 Warnings, 1 Errors
Build for Windows CE (Release) (Built on Apr 22 2004 10:38:01)
File names: Build.log Build.wrn Build.err Build.dat

CIVLUCESTB - 1 error(s), 0 warning(s)


Piece of Build.dat:

V 403
D \WINCE500\PLATFORM\CIVLU\src\drivers\J1708Subsystem\EVCMFC\ 543001
F Build Info\ 0 10 0
F debug.cpp 41 0 1C5E6502E7ECD98
I stdafx.h 1
F debug.h 44 0 1C5EA26AE7917D4
F EVCMFC.cpp 42041 0 1C5F4624DB72008
I stdafx.h 1
I EVCMFC.h 1
I EVCMFCDlg.h 1
F EVCMFC.h 44 0 1C5F4624DB6AAD8
I resource.h 1
F EVCMFC.rc 21 0 1C5F4712A2209C8
I resource.h 1
I afxres.h 1
I newres.h 1
I res\EVCMFC.rc2 1
I C:\Program 1
F EVCMFCDlg.cpp 42041 0 1C5F467938729B6
I stdafx.h 1
I EVCMFC.h 1
I EVCMFCDlg.h 1
I ItemTest.h 1
F EVCMFCDlg.h 44 0 1C5F46756A0D3F9
F ItemTest.cpp 41 0 1C5EA2C88C9C56E
I StdAfx.h 1
I Debug.h 1
I ItemTest.h 1
I vector 0
I JID.h 1
I JMessage.h 1
I JObserver.h 1
F ItemTest.h 44 0 1C5EA2CC26A604E
F JID.h 44 0 1C5E6F8BDB40A78
I Result.h 1
F JMessage.h 44 0 1C5EA24A94EFA82
I JID.h 1
I Message.h 1
I stdio.h 1
I vector 1
I string 1
F JObserver.h 44 0 1C5E653A299C6D0
I Message.h 1
I Observer.h 1
F Message.h 44 0 1C5E6518F2B1722
F newres.h 44 0 1C5F4624DB942E8
I commctrl.h 0
F obj\ 0 10 0
F Observer.h 44 0 1C5EA2C88D229DE
I Result.h 1
I message.h 1
F res\ 0 10 0
F resource.h 44 0 1C5F467690BD7C2
F Result.h 44 0 1C3B062B80F7E14
F StdAfx.cpp 41 0 1C5F4624DB8CDC2
I stdafx.h 1
F StdAfx.h 40044 0 1C5F4624DB87FA2
I afxwin.h 0
I afxext.h 0
I afxdtctl.h 0
I afxcmn.h 0
I afxsock.h 0
F StrTest.cpp 41 0 1C5EA3A7342B710
I StdAfx.h 1
I Debug.h 1
I ItemTest.h 1
I vector 0
F X86Dbg\ 0 10 0

D
\WINCE500\PLATFORM\CIVLU\src\drivers\J1708Subsystem\EVCMFC\obj\x86\debug\
3000

Thanks
Lu

Re: How to debug Build.dat error by Tom

Tom
Tue Nov 29 22:11:10 CST 2005

Don't use spaces in folder names inside your build tree. It looks like
you've got a folder called "Build Info" in your tree. Rename it to
"Build_Info", delete the BUILD.DAT file and rebuild.

Tom Gensel (eMVP)



Re: How to debug Build.dat error by gdshukla

gdshukla
Wed Dec 07 08:14:16 CST 2005

simply delete the entry that is causing trouble and build again. or delete
build.dat (be careful, keep backup, in case it doesn't work, rename it
would be better) and try to build again.


Re: How to debug Build.dat error by Tom

Tom
Wed Dec 07 08:35:27 CST 2005

It is not necessary to keep a backup of BUILD.DAT. The build system will
recreate it if it does not exist.

Tom Gensel (eMVP)