Compilation of MTK Resources

Source: Internet
Author: User

MTK compilation is divided into resource compilation and code compilation.
1) Compile Resources
A) In the following cases, you need to recompile the resource:
L modified the serial resource file (ref_list.txt), font file (fontres. C, L _ **. h), MMI configuration file (mmi_featurespluto.h), and so on. These files are located in
../Plutommi/customer/custresource/pluto_mmi /;
L modified the MMI resource loading configuration files, which are located in
.. /Plutommi/customer/custresource/pluto_mmi/res_mmi directory, all of which are RES _*. * file: The resource loading file for each AP or module, including the configuration for loading menus, images, and string resources;
L note: The Cust *. * file is generated by resource compilation and cannot be modified manually.
B) Compilation Method
Go to the ../plutommi/customer directory and run remakeresource. bat. If it is used on the simulator, you need to build it in the VC environment to see the effect.
C) files related to resource Compilation
L resgenerator_h1_bat
It is automatically called when "new" and "resgen" options are available during compilation of the mobile phone target board project;
L resgenerator. bat
In the mobile PC simulator project, you must manually call the new resource after adding it;
L remakeresource. bat
In the mobile phone PC simulator project, you must manually call it to replace images or update strings;
L res_gen.txt
The log file compiled by the resource is under the build directory;
L makefile
../Plutommi/customer/resgenerator/makefile
This file is the makefile of the Resource load precompiled program;
L populateres. c
../Plutommi/MMI/resource/populateres. c
Executes resource loading. The main body is the function populateresdata (),
Mtk_resgenerator.exe calls this function during execution;
L mmidatatype. h
../Plutommi/MMI/INC/mmidatatype. h
Defines the range of AP IDs.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.