引用: 引用 15 楼 xdkui 的回复:
sources里
$(_PLATFORMROOT)\SRC\DRIVERS\IPU\DISPLAY\COMMON; \
改成
$(_TARGETPLATROOT)\SRC\DRIVERS\IPU\DISPLAY\COMMON; \


改完编译出现下面错误:
BUILD: [01:0000000281:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(88) : error C2059: syntax error : 'constant'
BUILD: [01:0000000282:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(89) : error C2059: syntax error : 'constant'
BUILD: [01:0000000283:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(93) : error C2059: syntax error : 'constant'
BUILD: [01:0000000284:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(94) : error C2059: syntax error : 'constant'
BUILD: [01:0000000285:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(95) : error C2059: syntax error : '}'
BUILD: [01:0000000286:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(99) : error C2059: syntax error : 'constant'
BUILD: [01:0000000287:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(100) : error C2059: syntax error : 'constant'
BUILD: [01:0000000288:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(101) : error C2059: syntax error : 'constant'
BUILD: [01:0000000289:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(102) : error C2059: syntax error : 'constant'
BUILD: [01:0000000290:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(103) : error C2059: syntax error : '}'
BUILD: [01:0000000291:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(190) : error C2061: syntax error : identifier 'POINTFIX'
BUILD: [01:0000000292:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(191) : error C2059: syntax error : '}'
BUILD: [01:0000000293:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2143: syntax error : missing ')' before '*'
BUILD: [01:0000000294:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2081: 'PATHDATA' : name in formal parameter list illegal
BUILD: [01:0000000295:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2143: syntax error : missing '{' before '*'
BUILD: [01:0000000296:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2059: syntax error : ')'
BUILD: [01:0000000297: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:0000000298: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
BUILD: [01:0000000299:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2146: syntax error : missing ')' before identifier 'prectfx'
BUILD: [01:0000000300:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2081: 'PRECTFX' : name in formal parameter list illegal
BUILD: [01:0000000301:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2061: syntax error : identifier 'prectfx'
BUILD: [01:0000000302:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2059: syntax error : ';'
BUILD: [01:0000000303:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(420) : error C2059: syntax error : ')'
BUILD: [01:0000000304:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(964) : error C2143: syntax error : missing ')' before '*'
BUILD: [01:0000000305:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(964) : error C2081: 'PATHDATA' : name in formal parameter list illegal
BUILD: [01:0000000306:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(964) : error C2143: syntax error : missing '{' before '*'
BUILD: [01:0000000307:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(964) : error C2059: syntax error : ')'
BUILD: [01:0000000308:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(964) : error C2059: syntax error : ';'
BUILD: [01:0000000309:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(965) : error C2081: 'PRECTFX' : name in formal parameter list illegal
BUILD: [01:0000000310:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(983) : error C2061: syntax error : identifier 'PFN_PATHOBJ_bEnum'
BUILD: [01:0000000311:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(985) : error C2365: 'XLATEOBJ_cGetPalette' : redefinition; previous definition was 'function'
BUILD: [01:0000000313:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(986) : error C2365: 'EngCreateDeviceSurface' : redefinition; previous definition was 'function'
BUILD: [01:0000000315:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(987) : error C2365: 'EngDeleteSurface' : redefinition; previous definition was 'function'
BUILD: [01:0000000317:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(988) : error C2365: 'EngCreateDeviceBitmap' : redefinition; previous definition was 'function'
BUILD: [01:0000000319:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(989) : error C2365: 'EngCreatePalette' : redefinition; previous definition was 'function'
BUILD: [01:0000000321:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(990) : error C2365: 'EngGetPaletteFromPool' : redefinition; previous definition was 'function'
BUILD: [01:0000000323:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(991) : error C2365: 'EngAddPaletteToPool' : redefinition; previous definition was 'function'
BUILD: [01:0000000325:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(992) : error C2365: 'EngReleasePooledPalette' : redefinition; previous definition was 'function'
BUILD: [01:0000000327:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(993) : error C2059: syntax error : '}'
BUILD: [01:0000000328:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1004) : error C2146: syntax error : missing ')' before identifier 'pCallbacks'
BUILD: [01:0000000329:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1004) : error C2081: 'PENGCALLBACKS' : name in formal parameter list illegal
BUILD: [01:0000000330:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1004) : error C2061: syntax error : identifier 'pCallbacks'
BUILD: [01:0000000331:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1004) : error C2059: syntax error : ';'
BUILD: [01:0000000332:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1005) : error C2059: syntax error : ')'
BUILD: [01:0000000333:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1007) : error C2146: syntax error : missing ')' before identifier 'pCallbacks'
BUILD: [01:0000000334:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1007) : error C2081: 'PENGCALLBACKS' : name in formal parameter list illegal
BUILD: [01:0000000335:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1007) : error C2061: syntax error : identifier 'pCallbacks'
BUILD: [01:0000000336:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1007) : error C2059: syntax error : ';'
BUILD: [01:0000000337:ERRORE] F:\WINCE600\public\common\oak\inc\winddi.h(1007) : error C2059: syntax error : ')'
BUILD: [01:0000000338:WARNN ] F:\WINCE600\public\common\oak\inc\genblt.h(107) : warning C4214: nonstandard extension used : bit field types other than int
BUILD: [01:0000000339:WARNN ] F:\WINCE600\public\common\oak\inc\genblt.h(108) :
点赞  2010-6-25 16:32
引用: 引用 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
点赞  2010-6-25 16:54
F:\WINCE600\public\common\oak\inc\winddi.h(88)行的内容是什么?
F:\WINCE600\public\common\oak\inc\winddi.h(420)?

main.c改名成main.cpp可以吗?
点赞  2010-6-25 17:55
main.c包含了哪些头文件?包含了windows.h了吗?
点赞  2010-6-25 18:01
引用: 引用 22 楼 xdkui 的回复:
F:\WINCE600\public\common\oak\inc\winddi.h(88)行的内容是什么?
F:\WINCE600\public\common\oak\inc\winddi.h(420)?

main.c改名成main.cpp可以吗?

谢谢楼上xdkui,非常感谢,我现在将问题描述如下:
1、F:\WINCE600\public\common\oak\inc\winddi.h(88)行的内容是(红色字体代表是那一行):typedef LONG    FIX;
2、F:\WINCE600\public\common\oak\inc\winddi.h(420)行内容是(红色字体代表是那一行):
   #if DDI                    // Must be set when compiling driver
   #define LEFTENTRY (*
   #define RIGHTENTRY )
   DEFINE_GDI_ENTRY_POINTS(extern,LEFTENTRY,RIGHTENTRY)
   #else
   DEFINE_GDI_ENTRY_POINTS(EMPTYPARM,APIENTRY,EMPTYPARM)
   #endif
3、main.c改名成main.cpp是不行的,我main里面的函数都不是以类的形式,.cpp是类函数形式的。
4、main.c包含了的头文件如下:
   #include "bsp.h"
   #include
   #pragma warning(push)
   #pragma warning(disable: 4115)
   #include
   #pragma warning(pop)
   #include "loader.h"
   #include "sdfmd.h"
   #include "bitmap.h"
   #include "precomp.h"
说明:#include "precomp.h"是我加进去的,只要加进去了编译就出错的,bsp.h中包含了windows.h 文件。
5、precomp.h文件中内容如下:
   #pragma warning(push)
   #pragma warning(disable: 4201)
   #include
   #include
   #include
   #include
   #include
   #include
   #include
   #include
   #include
   #include
   #include
   #pragma warning(pop)
   #include "bsp.h"

   #if !defined(BSP_POCKETPC) && !defined(BSP_SMARTPHONE) && !(UNDER_CE >= 600)
   #include "ddgpeuser.h"
   #endif

   #if defined(USE_C2D_ROUTINES)
   #include "c2d_api.h"
   #include "c2d_mutex.h"
  // Macros
   #define C2D_CALL(f)               \
   {                                 \
    status = f;                   \
    if (status != C2D_STATUS_OK)  \
        return status;            \
   }

   #define ON_ERROR_EXIT_AND_LOG(f, msg)       \
   {                                           \
    status = f;                             \
    if (status != C2D_STATUS_OK)            \
    {                                       \
        C2D_EXIT;                           \
        ERRORMSG(1, (msg));                 \
        return C2DStatusToScode(status);    \
    }                                       \
   }                                      

   #define C2D_UNKNOWNFORMAT C2D_COLOR_8888_RGBA
   const C2D_COLORFORMAT EDDGPEPixelFormatToC2DFormat[] = {
            C2D_COLOR_A1,       //ddgpePixelFormat_1bpp = 0,   
            C2D_UNKNOWNFORMAT,  //ddgpePixelFormat_2bpp,
            C2D_COLOR_A4,       //ddgpePixelFormat_4bpp,
            C2D_COLOR_8,        //ddgpePixelFormat_8bpp,
            C2D_COLOR_0565,        //ddgpePixelFormat_565,
            C2D_COLOR_1555,  //ddgpePixelFormat_5551,
            C2D_COLOR_4444,  //ddgpePixelFormat_4444,
            C2D_COLOR_1555,  //ddgpePixelFormat_5550,
            C2D_COLOR_8888,  //ddgpePixelFormat_8880,
            C2D_COLOR_8888,  //ddgpePixelFormat_8888,
            C2D_COLOR_YVYU,  //ddgpePixelFormat_YUYV422,C2D_UNKNOWNFORMAT,//
            C2D_COLOR_UYVY,  //ddgpePixelFormat_UYVY422,C2D_UNKNOWNFORMAT,//
            C2D_COLOR_YUY2,  //ddgpePixelFormat_YUY2422,C2D_UNKNOWNFORMAT,//
            C2D_UNKNOWNFORMAT,  //ddgpePixelFormat_YV12,
            C2D_UNKNOWNFORMAT,  //ddgpePixelFormat_15bppGeneric,
            C2D_UNKNOWNFORMAT,  //ddgpePixelFormat_16bppGeneric,
            C2D_COLOR_8888,  //ddgpePixelFormat_24bppGeneric,
            C2D_COLOR_8888,     //ddgpePixelFormat_32bppGeneric,
            C2D_UNKNOWNFORMAT   //ddgpePixelFormat_UnknownFormat,
     };
     #endif //#if defined(USE_C2D_ROUTINES)
     #include "ipu.h"
     #include "adc.h"
     #include "sdc.h"
     #include "dirtyrect.h"
     #include "pp.h"
     #include "ddipu.h"
6、bsp.h中内容如下:
   #ifndef __BSP_H
   #define __BSP_H
//------------------------------------------------------------------------------

   #if __cplusplus
   extern "C" {
   #endif

  //------------------------------------------------------------------------------

   #pragma warning(push)
   #pragma warning(disable: 4115 4201 4204 4214)
   #include
   #include
   #include
   #include "oal.h"
   #pragma warning(pop)

   // Processor Definitions
   #include "csp.h"

   // Custom OAL Definitions
   #include "oal_iomux.h"

   // Configuration Files
   #include "args.h"
   #include "bsp_clocks.h"
   #include "bsp_cfg.h"
   #include "bsp_base_reg_cfg.h"
   #include "ioctl_cfg.h"
   #include "image_cfg.h"

    // Board Level Definitions
   #include "cpld.h"

   //------------------------------------------------------------------------------

   #if __cplusplus
   }
   #endif

   #endif
点赞  2010-6-28 08:55
不好意思,从这些信息我看不出fail的原因,我需要debug下。
如果可以,请把代码打包发给我xdkui@163.com,我可以在我这边帮你查
点赞  2010-6-28 11:03
您好,xdkui,谢谢。我QQ号是54007341,你加我吧。东西太大没法传邮箱的。我QQ上面和你说
点赞  2010-6-28 11:54
继续关注一下:)
点赞  2010-6-28 12:48
12
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复