麦步社区-论坛

标题: not found appinfo.json [打印本页]

作者: apollono1    时间: 2016-9-13 23:17
标题: not found appinfo.json
我在模拟的时候,出现提示:not found appinfo.json
这个文件已经和C文件放在一起了,具体见下面:
生成资源文件...
not found appinfo.json
parse appinfo.json failed
正在编译...
arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m0 watchface_step_floor.c -I .\SDK\
arm-none-eabi-gcc: error: watchface_step_floor.c: No such file or directory
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
arm-none-eabi-ld: cannot find .\*.o: Invalid argument
readelf: Error: '.\build\maibu_code': No such file
正在打包...
not found appinfo.json
parse appinfo.json failed


正在编译...

In file included from E:\maibu\VisualMWatch_W64_v14\VisualMWatch_W64\watchface_step_floor\watchface_step_floor.c:29:0:
.\mbcc\include/maibu_res.h:3:0: warning: "IMAGE_ICON" redefined
#define  IMAGE_ICON  5001
^
In file included from E:/maibu/VisualMWatch_W64_v14/VisualMWatch_W64/mbcc/x86_64-w64-mingw32/include/windows.h:72:0,
                 from E:/maibu/VisualMWatch_W64_v14/VisualMWatch_W64/mbcc/x86_64-w64-mingw32/include/winsock2.h:23,
                 from .\mbcc\include/curl/multi.h:51,
                 from .\mbcc\include/curl/curl.h:1561,
                 from .\mbcc\include/os_comm.h:19,
                 from .\mbcc\include/maibu_sdk.h:23,
                 from E:\maibu\VisualMWatch_W64_v14\VisualMWatch_W64\watchface_step_floor\watchface_step_floor.c:28:
.\mbcc\include/winuser.h:3441:0: note: this is the location of the previous definition
#define IMAGE_ICON 1
^
E:\maibu\VisualMWatch_W64_v14\VisualMWatch_W64\watchface_step_floor\watchface_step_floor.c: In function 'init_sport_window':
E:\maibu\VisualMWatch_W64_v14\VisualMWatch_W64\watchface_step_floor\watchface_step_floor.c:178:22: error: 'RES_BITMAP_SPORT_BG' undeclared (first use in this function)
  res_get_user_bitmap(RES_BITMAP_SPORT_BG, &bitmap_bg);
                      ^
E:\maibu\VisualMWatch_W64_v14\VisualMWatch_W64\watchface_step_floor\watchface_step_floor.c:178:22: note: each undeclared identifier is reported only once for each function it appears in
'mbcc\bin\mw.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。


作者: apollono1    时间: 2016-9-13 23:34
原来是资源目录和两个文件要放在模拟器目录下,不能新建目录。
作者: 不贰小    时间: 2016-9-14 09:39
恩,只要按帮助文档的步骤去操作都是可以成功的




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