已阅读5页,还剩5页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
MTK资源的编译VC+中的Win32 Application和Win32 Console Application区别MTK资源编译加载时找不到模块的头文件?2009-03-30 13:31分类:MTK平台技术文档 字号: 大大 中中 小小 如:discoverydiscoveryincmyappDefs.h文件在资源编译时找不到,为什么呢?如果这么个模块是我们自己新加入的,则很有可能没有在目录(plutommiCustomerResGenerator)下的makefile中添加我们自己头文件目录。以下是该makefile文件中的有关系统中所有module的头文件路径设置;该makefile文件是由资源编译加载程序所使用。include custom_option.txtinclude custom_include.txtPLUTO_INC = -I ./././Discovery/DiscoveryInc -I ./customerinc -I ././MMI/PoC/PoCInc -I ././MMI/DebugLevels/DebugLevelInc -I ././MMI/Calls/CallsInc -I ././MMI/ChatApp/ChatAppInc -I ././MMI/EmailApp/EmailAppInc -I ././MMI/IMPS/IMPSInc -I ././MMI/Inc -I ././MMI/Inc/ImgID -I ././MMI/Inc/MenuID -I ././MMI/Inc/StringID -I ././MtkApp/MtkAppInc -I ././MtkApp/EngineerMode/EngineerModeInc -I ././MtkApp/Connectivity/ConnectivityInc -I ././MtkApp/SoundRecorder/SoundRecorderInc -I ././MtkApp/AudioPlayer/AudioPlayerInc -I ././MtkApp/ABRepeater/ABRepeaterInc -I ././MtkApp/mmiapi/include -I ././MMI/Framework/osl/oslinc -I ././MMI/CallManagement/CommonFiles/CommonInc -I ././MMI/CallManagement/OutgoingCallManagement/OutgoingInc -I ././MMI/CallManagement/IncomingCallManagement/IncomingInc -I ././MMI/GSMCallApplication/CommonFiles/CommonInc -I ././MMI/GSMCallApplication/OutgoingCallManagement/OutgoingInc -I ././MMI/GSMCallApplication/IncomingCallManagement/IncomingInc -I ././MMI/Setting/SettingInc -I ././MMI/PhoneBook/PhoneBookInc -I ././MMI/CommonScreens/CommonScreensInc -I ././MMI/Framework/CommonFiles/CommonInc -I ././MMI/Framework/Tasks/TasksInc -I ././MMI/Framework/EventHandling/EventsInc -I ././MMI/Framework/History/HistoryInc -I ././MMI/Framework/MemManager/MemManagerInc -I ././MMI/DataAccount/DataAccountInc -I ././MMI/FunAndGames/FunAndGamesInc -I ././MMI/gui/gui_inc -I ././MMI/gui/oem_inc -I ././MMI/DateTime/DateTimeInc -I ././MMI/MiscFramework/MiscFrameworkInc -I ././MMI/Help/HelpInc -I ././MMI/IdleScreen/IdleScreenInc -I ././MMI/Messages/MessagesInc -I ././MMI/NITZHandler/NITZInc -I ././MMI/PROFILES/ProfilesInc -I ././MMI/SAT/SATInc -I ././MMI/SSC/SSCInc -I ././MMI/Organizer/OrganizerInc -I ././MMI/Extra/ExtraInc -I ././MMI/JataayuAppjBrowserMMIjBrowserMMIInc -I ././MMI/UnifiedMMS/MMSApp/MMSAppInc -I ././MMI/JataayuAppjCommonModulesjProvisioningjProvisioningInc -I ././MMI/JataayuAppjCommonModulesjProfileHandlerjProfileHandlerInc -I ././MMI/JataayuAppjMMSMMIjMMSMMIInc -I ././MMI/Customer/CustResource -I ././MMI/FontData -I ././MMI/debuglevels/DebugLevelInc -I ././MMI/MainMenu/MainMenuInc -I ././MMI/ems/emsinc -I ././MMI/Dictionary/DictInc -I ././MMI/Framework/NVRAMManager/NVRAMManagerInc -I ././MMI/EbookReader/EbookInc -I ././MMI/VoIP/VoIPInc -I ././MMI/UCM/UCMInc -I ./././kal/include -I ./././ps/interfaces/enum -I ./././ps/l4/include -I ./././ps/gen/mcd -I ./././ps/interfaces/local_inc -I ././MMI/CPHS/CPHSInc -I ././MMI/audio/audioinc -I . -I ./././custom/audio/MT6208_CEVB -I ./Customize -I ./. -I ./././custom/audio/CHICAGO2003_BB -I ./././custom/audio/KLM2003_BB -I ./././interface/mmi -I ././MTkApp/Camera/CameraInc -I ././MTkApp/Video/VideoInc -I ././MTkApp/FileMgr/FileMgrInc -I ./././j2me/interface -I ./././j2me/jam/include -I ././MTkApp/GDI/GDIInc -I ./././fmtinclude -I ././MTkApp/vObjects/vObjectInc -I ././MMI/Stopwatch/StopwatchInc -I ././MTkApp/FMRadio/FMRadioInc -I ././MTkApp/FMScheduleRec/FMScheduleRecInc -I ././MTkApp/VRSD/VRSDInc -I ././MTkApp/VRSI/VRSIInc -I ././MTkApp/PhotoEditorPhotoEditorInc -I ././MTkApp/BGSound/BGSoundInc -I ././MMI/ResourceInc -I ./././vendor/wap/jataayu4/adaptation/mmi/srcs/include -I ././MtkAppJavaAgencyJavaAgencyInc -I ././MMI/UnifiedMessage/UnifiedMessageInc -I ././MtkApp/DLAgent/DLAgentInc -I ././MTkApp/BarcodeReader/BarcodeReaderInc -I ././MTkApp/SWFlash/SWFlashInc -I ././MTkApp/SyncML/SyncMLInc -I ././MMI/UnifiedComposer/UnifiedComposerInc -I ././MtkApp/VideoEditor/VideoEditorInc -I ././MTkApp/DeviceManagement/DeviceManagementInc -I ././MtkApp/CentralConfigAgent/CentralConfigAgentInc -I ././MTkApp/Avatar/AvatarInc -I ././MtkApp/CSBrowser/CSBrowserInc -I ././MtkApp/PictBridge/PictBridgeInc -I ././MMI/BrowserApp/Browser/BrowserInc -I ././MMI/BrowserApp/Profile/ProfileInc -I ././MMI/BrowserApp/PushInbox/PushInboxInc -I ././MTkApp/RightsMgr/RightsMgrInc -I ././MtkApp/DMUIApp/DMUIAppInc -I ././MMI/MobileService/MobileServiceInc -I ././MMI/CustomerService/CustomerServiceInc -I ./././vendor/langlearn/app/inc -I ./././vendor/mercury_master/inc -I ././MTkApp/MyFavorite/MyFavoriteInc -I ././MtkApp/MobileTVPlayer/MobileTVPlayerInc -I ././MMI/VideoCall/VideoCallInc -I ././MMI/UnifiedMMS/MMSBGSR/MMSBGSRInc -I ./././vendor/gis/mapbar/mmi/inc -I ././mercury_master/inc -I ./././vendor/mercury_master/incINC = $(PLUTO_INC) $CUSTOM_INC如以上红色标注的就是我们自己添加的模块头文件路径,这样在编译加载资源时(make resgen时 )就不会提示找不到我们自己模块的头文件了。当然了,我们也可以将我们模块的头文件路径放置在变量CUSTOM_INC中,那么怎样放进去呢?这个就要追溯到Gsm2.mak文件了,看下resgen行为就明白了。# Resource generate#resgen:ifeq ($(strip $(call Upper,$(LEVEL),VENDOR)if exist $(MMIDIR)VendorAppDevResourceResGenerator.bat ($(MMIDIR)VendorAppDevResourceResGenerator.bat -t)elseif exist $(MMIDIR)customer (if /I $(RUN_RESGEN) EQU TRUE (echo CUSTOM_OPTION = $(foreach def,$(BOARD_VER) $(PLATFORM) $(LCD_MODULE) $(EXT_CAM_MODULE) $(CMOS_SENSOR),-D $(def) $(MMIDIR)customerresGeneratorcustom_option.txt) )toolsstrcmpex.exe TRUE TRUE e makecus_opt.tmp $(foreach def,$(COM_DEFS),-D $(def)if exist $(MMIDIR)customer (if /I $(RUN_RESGEN) EQU TRUE (type makecus_opt.tmp $(MMIDIR)customerresGeneratorcustom_option.txt) )toolsstrcmpex.exe TRUE TRUE e maketgt_opt.tmp $(foreach def,$(COM_DEFS) $(LCD_MODULE),/D $(def)if exist $(MMIDIR)customer (if /I $(RUN_RESGEN) EQU TRUE (del $(MMIDIR)mmiTargetOption.txt) & (copy /Y maketgt_opt.tmp $(MMIDIR)MMITargetOption.txt) )toolsstrcmpex.exe TRUE TRUE e makeinc.tmp $(foreach inc,$(COMMINCDIRS),$(inc)if exist $(MMIDIR)customer (if /I $(RUN_RESGEN) EQU TRUE (type makeinc.tmp $(MMIDIR)customerresGeneratorcustom_include.tmp) )以上红色语句表示,函数foreach将目录变量COMMINCLUDIRS中的目录路径一个个解析出来放到零时文件inc.tmp中,然后再将零时文件内容复制到custom_include.tmp中。ifeq ($(strip $(NEED_COPY_MMIFEATURE),CUSTOMER_MMI)if exist $(MMIDIR)customer (if /I $(RUN_RESGEN) EQU TRUE (perl -e open F,$(MMIDIR)customerresGeneratorcustom_include.tmp;my $i=join(,);close F;$i =s/s+/ /gs;$i = s/(S+)/-I .$1/gs;print CUSTOM_INC = $i; $(MMIDIR)customerresGeneratorcustom_include.txt) & (perl -e open F,$(MMIDIR)customerresGeneratorcustom_include.tmp;my $i=join(,);close F;$i =s/s+/ /gs;$i = s/(S+)/I .$1n/gs;print $i; $(MMIDIR)MMIGlobalTargetPathDef) & (if exist $(MMIDIR)customerreplace_project_name.pl (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.tmp XXX $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.tmp XXX $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.tmp XXX $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerremakeResource.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerUpdateSkin.tmp XXX $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerUpdateSkin.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.bat YYY $(patsubst %_MMI,%,$(CUSTOMER) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.bat YYY $(patsubst %_MMI,%,$(CUSTOMER) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.bat YYY $(patsubst %_MMI,%,$(CUSTOMER) $(MMIDIR)customerremakeResource.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerUpdateSkin.bat YYY $(patsubst %_MMI,%,$(CUSTOMER) $(MMIDIR)customerUpdateSkin.bat) ) ) if exist $(MMIDIR)customer (if /I $(RUN_RESGEN) EQU TRUE (if exist $(MMIDIR)customerreplace_project_name.pl (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.bat SSS $(patsubst %_MMI,%,$(OPTR_SPEC) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.bat MMM $(patsubst %_MMI,%,$(MAIN_LCD_SIZE) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.bat PPP $(patsubst %_MMI,%,$(OPTR_PATH) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.bat SSS $(patsubst %_MMI,%,$(OPTR_SPEC) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.bat MMM $(patsubst %_MMI,%,$(MAIN_LCD_SIZE) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.bat PPP $(patsubst %_MMI,%,$(OPTR_PATH) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.bat SSS $(patsubst %_MMI,%,$(OPTR_SPEC) $(MMIDIR)customerremakeResource.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.bat MMM $(patsubst %_MMI,%,$(MAIN_LCD_SIZE) $(MMIDIR)customerremakeResource.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.bat PPP $(patsubst %_MMI,%,$(OPTR_PATH) $(MMIDIR)customerremakeResource.bat) ) & (del $(MMIDIR)customerresGeneratorcustom_include.tmp) & ($(MMIDIR)customerResGenerator_HW.bat $(MMI_VERSION) $(CUSTOMER) )elseif exist $(MMIDIR)customer (if /I $(RUN_RESGEN) EQU TRUE (perl -e open F,$(MMIDIR)customerresGeneratorcustom_include.tmp;my $i=join(,);close F;$i =s/s+/ /gs;$i = s/(S+)/-I .$1/gs;print CUSTOM_INC = $i; $(MMIDIR)customerresGeneratorcustom_include.txt) & (perl -e open F,$(MMIDIR)customerresGeneratorcustom_include.tmp;my $i=join(,);close F;$i =s/s+/ /gs;$i = s/(S+)/I .$1n/gs;print $i; $(MMIDIR)MMIGlobalTargetPathDef) & (if exist $(MMIDIR)customerreplace_project_name.pl (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.tmp XXX $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.tmp XXX $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.tmp XXX $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerremakeResource.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerUpdateSkin.tmp XXX $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerUpdateSkin.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.bat YYY $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.bat YYY $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.bat YYY $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerremakeResource.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerUpdateSkin.bat YYY $(patsubst %_MMI,%,$(MMI_VERSION) $(MMIDIR)customerUpdateSkin.bat) ) ) if exist $(MMIDIR)customer (if /I $(RUN_RESGEN) EQU TRUE (if exist $(MMIDIR)customerreplace_project_name.pl (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.bat SSS $(patsubst %_MMI,%,$(OPTR_SPEC) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.bat MMM $(patsubst %_MMI,%,$(MAIN_LCD_SIZE) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator_HW.bat PPP $(patsubst %_MMI,%,$(OPTR_PATH) $(MMIDIR)customerResGenerator_HW.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.bat SSS $(patsubst %_MMI,%,$(OPTR_SPEC) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.bat MMM $(patsubst %_MMI,%,$(MAIN_LCD_SIZE) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerResGenerator.bat PPP $(patsubst %_MMI,%,$(OPTR_PATH) $(MMIDIR)customerResGenerator.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.bat SSS $(patsubst %_MMI,%,$(OPTR_SPEC) $(MMIDIR)customerremakeResource.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.bat MMM $(patsubst %_MMI,%,$(MAIN_LCD_SIZE) $(MMIDIR)customerremakeResource.bat) & (perl $(MMIDIR)customerreplace_project_name.pl $(MMIDIR)customerremakeResource.bat PPP $(patsubst %_MMI,%,$(OPTR_PATH) $(MMIDIR)customerremakeResource.bat) ) & (del $(MMIDIR)customerresGeneratorcustom_include.tmp) & ($(MMIDIR)customerResGenerator_HW.bat $(MMI_VERSION) $(CUSTOMER) )endif # cop
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 中国国际航空股份有限公司北京地区统招岗位2026届高校毕业生校园招聘备考题库附答案
- 2026年国家移民管理局直属事业单位公开招聘事业编制人员(16人)参考题库附答案解析
- 2025四川天府银行社会招聘(遂宁)备考题库附答案解析
- 2025广东广州市花都区狮岭镇育华小学招聘临聘教师1人历年真题库带答案解析
- 2025年西安市北方医院招聘(14人)参考题库附答案解析
- 2026长光卫星校园招聘笔试模拟试卷附答案解析
- 2025浙江绍兴市凯泰特种纤维科技有限公司招聘4人笔试模拟试卷附答案解析
- 2025广东广州市皮肤病医院招聘编制外合同制工作人员40人历年真题汇编附答案解析
- 2026年陕西省选调生招录(面向西安电子科技大学)参考题库带答案解析
- 2026广东“百万英才汇南粤”-广州市从化区教育局第一次招聘事业单位编制教师229人模拟试卷附答案解析
- 安全监督先进个人主要事迹范文七篇
- GB/T 38661-2020电动汽车用电池管理系统技术条件
- GB/T 12149-2017工业循环冷却水和锅炉用水中硅的测定
- 八年级班主任家长会发言稿
- 小儿骨骺损伤课件
- 各种纯烃类组分的辛烷值
- 人教版数学六年级上册期中测试卷课件
- 《工程制图》教案
- 起重安全培训课件
- 重庆市住宅物业服务等级标准详
- JJG 700 -2016气相色谱仪检定规程-(高清现行)
评论
0/150
提交评论