引用: 引用 15 楼 xdkui 的回复:
sources里
$(_PLATFORMROOT)\SRC\DRIVERS\IPU\DISPLAY\COMMON; \
改成
$(_TARGETPLATROOT)\SRC\DRIVERS\IPU\DISPLAY\COMMON; \
我按你要求该了的。下面是哪个Build.log(路径:F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\SRC\BOOTLOADER)中的内容:
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:PROGC ] Build started with parameters: -c
BUILD: [00:0000000001:PROGC ] Build started in directory: F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER
BUILD: [00:0000000002:PROGC ] Checking for F:\WINCE600\sdk\bin\i386\srccheck.exe.
BUILD: [00:0000000003:PROGC ] Running passes WCEFILES0, MIDL, MC, ASN, THUNK, PRECOMPHEADER, COMPILE, LIB, LINK, MANAGEDRESX, MANAGEDMOD, MANAGEDDLL, MANAGEDEXE, MANAGEDWIN for ARM.
BUILD: [00:0000000004:PROGC ] Ignoring build database (-c specified).
BUILD: [00:0000000005:PROGC ] Computing include file dependencies:
BUILD: [00:0000000006:PROGC ] Checking for SDK include directory: F:\WINCE600\sdk\CE\inc.
BUILD: [00:0000000007:PROGC ] Scan F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\
BUILD: [00:0000000008:PROGC ] Scan F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\EBOOT\
BUILD: [00:0000000009:PROGC ] Scan F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\XLDR\NAND\
BUILD: [00:0000000010:PROGC ] Scan F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\XLDR\SD\NONSECURE\
BUILD: [00:0000000011:PROGC ] Scan F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\BOOTSHELL\
BUILD: [00:0000000012:PROGC ] Saving F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\Build.dat.
BUILD: [00:0000000013:INFO ] Done.
BUILD: [00:0000000014:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\main.c because target: obj\ARMV4I\retail\main.obj is missing.
BUILD: [00:0000000015:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\flash.c because target: obj\ARMV4I\retail\flash.obj is missing.
BUILD: [00:0000000016:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\utils.c because target: obj\ARMV4I\retail\utils.obj is missing.
BUILD: [00:0000000017:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\nand.c because target: obj\ARMV4I\retail\nand.obj is missing.
BUILD: [00:0000000018:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\nor.c because target: obj\ARMV4I\retail\nor.obj is missing.
BUILD: [00:0000000019:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\esdhc.c because target: obj\ARMV4I\retail\esdhc.obj is missing.
BUILD: [00:0000000020:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\ether.c because target: obj\ARMV4I\retail\ether.obj is missing.
BUILD: [00:0000000021:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\nfc_boot.cpp because target: obj\ARMV4I\retail\nfc_boot.obj is missing.
BUILD: [00:0000000022:INFO ] Will Build F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\startup.s because target: obj\ARMV4I\retail\startup.obj is missing.
BUILD: [00:0000000023:PROGC ] Building COMPILE Pass in F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\ directory.
BUILD: [00:0000000024:PROG ] 'NMAKE.EXE TargetCompilePass -i -c BUILDMSG=Stop. BUILDROOT=F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6 CLEANBUILD=1 NOLINK=1 NOPASS0=1'
BUILD: [01:0000000025:INFO ] makefile.def: Including F:\WINCE600\public\common\oak\misc\Sources.default
BUILD: [01:0000000026:INFO ] makefile.def: BUILDROOT is F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6
BUILD: [01:0000000027:INFO ] makefile.def: Including F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\sources.cmn
BUILD: [01:0000000028:INFO ] makefile.def: Including F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\sources
BUILD: [01:0000000029:INFO ] makefile.def: Including F:\WINCE600\public\common\oak\misc\Sources.CE
BUILD: [01:0000000030:INFO ] Directory: F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON
BUILD: [01:0000000031:INFO ] TARGETNAME: bootcmn
BUILD: [01:0000000032:INFO ] makefile.def: Including F:\WINCE600\public\common\oak\misc\sources.ReleaseType_PLATFORM
BUILD: [01:0000000033:PROGC ] Compiling .\main.c
BUILD: [01:0000000034:INFO ] cl -nologo /Gy -Foobj\ARMV4I\retail\main.obj -c -IARM\ -I. -IF:\WINCE600\platform\iMX35-3DS-PDK1_6\src\inc -IF:\WINCE600\platform\common\src\soc\common_fsl_v2_pdk1_6\inc -IF:\WINCE600\platform\common\src\soc\mx35_fsl_v2_pdk1_6\inc -IF:\WINCE600\platform\common\src\inc -IF:\WINCE600\platform\common\src\soc\common_fsl_v2_pdk1_6\boot\fmd\sdmmc -IF:\WINCE600\platform\common\src\soc\common_fsl_v2_pdk1_6\boot\fmd\nand -IF:\WINCE600\platform\common\src\soc\common_fsl_v2_pdk1_6\ipu\inc -IF:\WINCE600\platform\iMX35-3DS-PDK1_6\SRC\DRIVERS\IPU\DISPLAY\COMMON -IF:\WINCE600\public\common\sdk\inc -IF:\WINCE600\public\common\oak\inc -IF:\WINCE600\public\common\ddk\inc -IF:\WINCE600\sdk\CE\inc -I.\Resource\0804 -Ox -Os -GF -Zi -FdF:\WINCE600\platform\iMX35-3DS-PDK1_6\lib\ARMV4I\retail\bootcmn.pdb -D_CRT_SECURE_NO_DEPRECATE -D_USE_32BIT_TIME_T -DUNICODE -D_UNICODE -DUNDER_CE=600 -D_WIN32_WCE=0x600 -DWINCEOEM -DWINCEINTERNAL -DWIN32 -DSTRICT -DARM -DARMV4I -D_ARM_ -DNDEBUG=1 -DCEDDK_USEDDKMACRO -DBSP_PLATFORM_MDK -DBOOTLOADER -DINTERNATIONAL -DINTLMSG_CODEPAGE=1252 -WX -QRimplicit-import- -Zi -Zc:wchar_t- -Zc:forScope- -wd4867 -wd4430 -MT -U_MT -W4 /GR- -QRarch4T -DTHUMBSUPPORT -QRinterwork-return /GS F:\WINCE600\PLATFORM\iMX35-3DS-PDK1_6\src\BOOTLOADER\COMMON\.\main.c
BUILD: [01:0000000035:INFO ] main.c
BUILD: [01:0000000036:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(88) : error C2059: syntax error : 'constant'
BUILD: [01:0000000037:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(89) : error C2059: syntax error : 'constant'
BUILD: [01:0000000038:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(93) : error C2059: syntax error : 'constant'
BUILD: [01:0000000039:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(94) : error C2059: syntax error : 'constant'
BUILD: [01:0000000040:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(95) : error C2059: syntax error : '}'
BUILD: [01:0000000041:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(99) : error C2059: syntax error : 'constant'
BUILD: [01:0000000042:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(100) : error C2059: syntax error : 'constant'
BUILD: [01:0000000043:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(101) : error C2059: syntax error : 'constant'
BUILD: [01:0000000044:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(102) : error C2059: syntax error : 'constant'
BUILD: [01:0000000045:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(103) : error C2059: syntax error : '}'
BUILD: [01:0000000046:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(190) : error C2061: syntax error : identifier 'POINTFIX'
BUILD: [01:0000000047:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(191) : error C2059: syntax error : '}'
BUILD: [01:0000000048:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2143: syntax error : missing ')' before '*'
BUILD: [01:0000000049:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2081: 'PATHDATA' : name in formal parameter list illegal
BUILD: [01:0000000050:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2143: syntax error : missing '{' before '*'
BUILD: [01:0000000051:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2059: syntax error : ')'
BUILD: [01:0000000052:WARNN ] F:\WINCE600\public\common\oak\inc\winddi.h(420) : warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int
BUILD: [01:0000000053:WARNN ] F:\WINCE600\public\common\oak\inc\winddi.h(420) : warning C4218: nonstandard extension used : must specify at least a storage class or a type