|
WinCE5.0修改S3C2443LCD驱动,链接时出错,望大家赐教。
[复制链接]
大家好~在下有个问题请教。
S3C2443开发板,WinCE5.0更换LCD屏幕,屏幕由320*240改为480*272。
修改驱动时:
修改C:\WINCE500\PLATFORM\SMDK2443\Src\Inc\s3c2443_lcd.h文件将
#define LCD_XSIZE_TFT (320)
#define LCD_YSIZE_TFT (240)
修改为
#define LCD_XSIZE_TFT (480)
#define LCD_YSIZE_TFT (272)
Buid时,PB提示
BUILD: [00:0000001319:PROGC ] Linking \WINCE500\PLATFORM\SMDK2443\Src\Drivers\SDHC\SDHC\ directory.
BUILD: [01:0000001327:PROGC ] Linking C:\WINCE500\platform\smdk2443\target\ARMV4I\retail\SDHC_SC2443.dll
BUILD: [01:0000001346:ERRORE] sdiocontroller.obj : error LNK2019: unresolved external symbol "public: __cdecl CSDIOControllerBase::CSDIOControllerBase(struct SDCARD_HC_CONTEXT *)" (??0CSDIOControllerBase@@QAA@PAUSDCARD_HC_CONTEXT@@@Z) referenced in function "public: __cdecl CSDIOController::CSDIOController(struct SDCARD_HC_CONTEXT *)" (??0CSDIOController@@QAA@PAUSDCARD_HC_CONTEXT@@@Z)
BUILD: [01:0000001347:ERRORE] SC2443_SDHCBase.lib(sdhcmain.obj) : error LNK2019: unresolved external symbol "class CSDIOControllerBase * __cdecl CreateSDIOController(struct _SDCARD_HC_CONTEXT *)" (?CreateSDIOController@@YAPAVCSDIOControllerBase@@PAU_SDCARD_HC_CONTEXT@@@Z) referenced in function SDH_Init
BUILD: [01:0000001348:ERRORE] C:\WINCE500\platform\smdk2443\target\ARMV4I\retail\SDHC_SC2443.dll : fatal error LNK1120: 2 unresolved externals
BUILD: [00:0000001350:PROGC ] Files Warnings Errors
Build for Windows CE (Release) (Built on Apr 22 2004 10:38:01)
File names: Build.log Build.wrn Build.err Build.dat
BUILD: [00:0000001351:PROGC ] Midl 0 0 0
BUILD: [00:0000001352:PROGC ] Resource 0 0 0
BUILD: [00:0000001353:PROGC ] Message 0 0 0
BUILD: [00:0000001354:PROGC ] Precomp Header 0 0 0
BUILD: [00:0000001355:PROGC ] C/Cpp/Cxx 61 9 0
BUILD: [00:0000001356:PROGC ] Assembler 0 0 0
BUILD: [00:0000001357:PROGC ] Static Libraries 11 1 0
BUILD: [00:0000001358:PROGC ] Dll's 30 41 3
BUILD: [00:0000001359:PROGC ] Exe's 0 0 0
BUILD: [00:0000001360:PROGC ] Resx 0 0 0
BUILD: [00:0000001361:PROGC ] Csharp Targets 0 0 0
BUILD: [00:0000001362:PROGC ] Other 0 2 1
BUILD: [00:0000001363:PROGC ]
BUILD: [00:0000001364:PROGC ] Total 102 53 4
BUILD: [00:0000001365:PROGC ]
BUILD: [00:0000001366:PROGC ] 53 Warnings, 4 Errors
后来发现,即使打开C:\WINCE500\PLATFORM\SMDK2443\Src\Inc\s3c2443_lcd.h文件将
#define LCD_XSIZE_TFT (320)
#define LCD_YSIZE_TFT (240)
修改回原值,即320和240,仍然出错。
还望大家指点一二,先在此谢过。
|
|