返回官网官方微博

麦步社区-论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: MAI 表盘

第一次修改表盘,做个标记

查看数: 6798 | 评论数: 11 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2016-5-11 18:38

正文摘要:

纯新手 第一次修改,困难多多。 1、appinfo.json直接用记事本保存提示报错, 2、simulator_init()、simulator_wait()接口  没添加  或者没删除 3、mw.exe反复报错。(最后发现去掉两个模拟接口 ...

回复

超爱麦步 发表于 2016-6-22 19:15:13
可喜可贺!
陶坤@麦步 发表于 2016-5-12 16:01:45

:lol 恭喜恭喜
超爱麦步 发表于 2016-5-12 12:32:17
yicaofeiying 发表于 2016-5-12 10:54
请帮忙查看,只是调整了字体大小就报错:
生成资源文件...
-------------read appinfo.json- ...

30 之后就是 42,36号没有的
yicaofeiying 发表于 2016-5-12 10:54:08

请帮忙查看,只是调整了字体大小就报错:
生成资源文件...
-------------read appinfo.json-------------
uuid:caf218070932f8d7aeab9b7b6e7f046f
app_id:2673441
name:haitong
icon:5001
version:102
watchface:1
sysapp:0
res_num:1
res:0, type:0, name:RES_BITMAP_SPORT_BG, file:bg.bmp

-----------------begin create res.h-------------
-----------------create res.h ok-------------
-----------------begin create res_file-------------
type:0, res_key:5001, offset:36, res_size:2048, width:128, height:128
-------------create res_file ok---------------
---------------prepare pack head----------
---------------read res_file----------
---------------read code----------
---------------write pack head----------
---------------write res ----------
---------------write code ----------
---------------pack file:haitong ok ----------
正在编译...
watchface_step_floor.c: In function 'app_step_floor_time_change':
watchface_step_floor.c:66:23: warning: initialization makes pointer from integer without a cast [enabled by default]
watchface_step_floor.c: In function 'app_sport_timer_callback':
watchface_step_floor.c:98:22: warning: initialization makes pointer from integer without a cast [enabled by default]
watchface_step_floor.c: In function 'init_sport_window':
watchface_step_floor.c:173:53: error: 'U_ASCII_ARIALBD_36' undeclared (first use in this function)
watchface_step_floor.c:173:53: note: each undeclared identifier is reported only once for each function it appears in
arm-none-eabi-ld: cannot find .\*.o: Invalid argument
readelf: Error: '.\build\maibu_code': No such file
正在打包...
-------------read appinfo.json-------------
uuid:caf218070932f8d7aeab9b7b6e7f046f
app_id:2673441
name:haitong
icon:5001
version:102
watchface:1
sysapp:0
res_num:1
res:0, type:0, name:RES_BITMAP_SPORT_BG, file:bg.bmp

-----------------begin create res.h-------------
-----------------create res.h ok-------------
-----------------begin create res_file-------------
type:0, res_key:5001, offset:36, res_size:2048, width:128, height:128
-------------create res_file ok---------------
---------------prepare pack head----------
---------------read res_file----------
---------------read code----------
not found file:.\build\maibu_code
create pack failed


正在编译...

E:\maibuOS\VisualMWatch\watchface_step_floor.c: In function 'init_sport_window':
E:\maibuOS\VisualMWatch\watchface_step_floor.c:173:53: error: 'U_ASCII_ARIALBD_36' undeclared (first use in this function)
  LayerText lt_hm = {time_str, frame_hm, GAlignLeft, U_ASCII_ARIALBD_36, 0};
                                                     ^
E:\maibuOS\VisualMWatch\watchface_step_floor.c:173:53: note: each undeclared identifier is reported only once for each function it appears in
'mbcc\bin\mw.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

超爱麦步 发表于 2016-5-12 10:47:07
yicaofeiying 发表于 2016-5-12 09:54
U_ASCII_ARIALBD_30
请问字体最大支持30吗?超过30就报错

字体最大是42
陶坤@麦步 发表于 2016-5-12 10:15:31
二维码 这个比较实用
不贰小 发表于 2016-5-12 10:04:06
不错,先易后难嘛,都是从基础做起,要不要加入我们的开发者群,可以向大神们学习
安装后APP显示,表盘不显示,具体是指哪儿不显示?

QQ|Archiver|手机版|小黑屋|麦步官方论坛 ( 粤ICP备12052190号  

GMT+8, 2024-11-24 12:29 , Processed in 0.074655 second(s), 28 queries .

Powered by Discuz! X3.2

© 2012-2021 Comsenz Inc.

快速回复 返回顶部 返回列表