麦步社区-论坛

标题: 在模拟中出现以下错误提示,请问是什么原因? [打印本页]

作者: gearss    时间: 2016-4-23 12:02
标题: 在模拟中出现以下错误提示,请问是什么原因?
我自己编写的程序,在模拟中出现以下错误提示,请问是什么原因?---------------
生成资源文件...
-------------read appinfo.json-------------
uuid:ce77a8e2196376211c57a8aabb404676
app_id:0
name:demo_web
icon:0
version:1
watchface:2
sysapp:0
res_num:0

-----------------begin create res.h-------------
-----------------create res.h ok-------------
-----------------begin create res_file-------------
-------------create res_file ok---------------
---------------prepare pack head----------
---------------read res_file----------
---------------read code----------
not found file:.\build\maibu_code
create pack failed
正在编译...
demo_web_request.c:28:23: fatal error: maibu_res.h: No such file or directory
compilation terminated.
arm-none-eabi-ld: cannot find .\*.o: Invalid argument
拒绝访问。
正在打包...
-------------read appinfo.json-------------
uuid:ce77a8e2196376211c57a8aabb404676
app_id:0
name:demo_web
icon:0
version:1
watchface:2
sysapp:0
res_num:0

-----------------begin create res.h-------------
-----------------create res.h ok-------------
-----------------begin create res_file-------------
-------------create res_file ok---------------
---------------prepare pack head----------
---------------read res_file----------
---------------read code----------
not found file:.\build\maibu_code
create pack failed


正在编译...

C:\Program Files\GNU Tools ARM Embedded\VisualMWatch_W32\demo_web_request.c:114:1: error: expected identifier or '(' before '}' token
}
^
'mbcc\bin\mw.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。


作者: yicaofeiying    时间: 2016-5-11 11:14
情况类似,我也遇到:

生成资源文件...
-------------read appinfo.json-------------
uuid:93b968459cda9d44859f7b468808beb1
app_id:32513
name:双时表盘
icon:0
version:101
watchface:1
sysapp:0
res_num:12
res:0, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_BG, file:bg.bmp
res:1, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_0, file:0.bmp
res:2, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_1, file:1.bmp
res:3, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_2, file:2.bmp
res:4, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_3, file:3.bmp
res:5, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_4, file:4.bmp
res:6, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_5, file:5.bmp
res:7, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_6, file:6.bmp
res:8, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_7, file:7.bmp
res:9, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_8, file:8.bmp
res:10, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_9, file:9.bmp
res:11, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_MAOHAO, file:maohao.bmp

-----------------begin create res.h-------------
-----------------create res.h ok-------------
-----------------begin create res_file-------------
type:0, res_key:5001, offset:201, res_size:2048, width:128, height:128
type:0, res_key:5002, offset:2249, res_size:69, width:19, height:23
type:0, res_key:5003, offset:2318, res_size:46, width:11, height:23
type:0, res_key:5004, offset:2364, res_size:69, width:19, height:23
type:0, res_key:5005, offset:2433, res_size:69, width:19, height:23
type:0, res_key:5006, offset:2502, res_size:69, width:19, height:23
type:0, res_key:5007, offset:2571, res_size:69, width:19, height:23
type:0, res_key:5008, offset:2640, res_size:69, width:19, height:23
type:0, res_key:5009, offset:2709, res_size:69, width:19, height:23
type:0, res_key:5010, offset:2778, res_size:69, width:19, height:23
type:0, res_key:5011, offset:2847, res_size:69, width:19, height:23
type:0, res_key:5012, offset:2916, res_size:23, width:8, height:23
-------------create res_file ok---------------
---------------prepare pack head----------
---------------read res_file----------
---------------read code----------
---------------write pack head----------
---------------write res ----------
---------------write code ----------
---------------pack file:双时表盘 ok ----------
正在编译...
watchface_double_time_zone.c: In function 'app_double_timezone_watch_time_change':
watchface_double_time_zone.c:285:27: warning: initialization makes pointer from integer without a cast [enabled by default]
正在打包...
-------------read appinfo.json-------------
uuid:93b968459cda9d44859f7b468808beb1
app_id:32513
name:双时表盘
icon:0
version:101
watchface:1
sysapp:0
res_num:12
res:0, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_BG, file:bg.bmp
res:1, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_0, file:0.bmp
res:2, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_1, file:1.bmp
res:3, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_2, file:2.bmp
res:4, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_3, file:3.bmp
res:5, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_4, file:4.bmp
res:6, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_5, file:5.bmp
res:7, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_6, file:6.bmp
res:8, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_7, file:7.bmp
res:9, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_8, file:8.bmp
res:10, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_9, file:9.bmp
res:11, type:0, name:RES_BITMAP_WATCHFACE_TIMEZONE_MAOHAO, file:maohao.bmp

-----------------begin create res.h-------------
-----------------create res.h ok-------------
-----------------begin create res_file-------------
type:0, res_key:5001, offset:201, res_size:2048, width:128, height:128
type:0, res_key:5002, offset:2249, res_size:69, width:19, height:23
type:0, res_key:5003, offset:2318, res_size:46, width:11, height:23
type:0, res_key:5004, offset:2364, res_size:69, width:19, height:23
type:0, res_key:5005, offset:2433, res_size:69, width:19, height:23
type:0, res_key:5006, offset:2502, res_size:69, width:19, height:23
type:0, res_key:5007, offset:2571, res_size:69, width:19, height:23
type:0, res_key:5008, offset:2640, res_size:69, width:19, height:23
type:0, res_key:5009, offset:2709, res_size:69, width:19, height:23
type:0, res_key:5010, offset:2778, res_size:69, width:19, height:23
type:0, res_key:5011, offset:2847, res_size:69, width:19, height:23
type:0, res_key:5012, offset:2916, res_size:23, width:8, height:23
-------------create res_file ok---------------
---------------prepare pack head----------
---------------read res_file----------
---------------read code----------
---------------write pack head----------
---------------write res ----------
---------------write code ----------
---------------pack file:双时表盘 ok ----------


正在编译...

E:\maibuOS\VisualMWatch\watchface_double_time_zone.c:36:27: fatal error: os_res_bitmap.h: No such file or directory
#include "os_res_bitmap.h"
                           ^
compilation terminated.
'mbcc\bin\mw.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。





欢迎光临 麦步社区-论坛 (http://bbs.maibu.cc/) Powered by Discuz! X3.2