| 本帖最后由 youjj2017 于 2017-2-13 11:26 编辑 
 
 第一步:安装arm到默认文件夹                                      
 第二步:解压VisualMWatch_W64文件夹到D盘                  
 第三步:电脑环境变量path编写为 C:\Program Files (x86)\GNU Tools ARMEmbedded\4.72014q2\bin;D:\VisualMWatch_W64\mbcc\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;                  
 第四步:复制藤蔓十字绣到VisualMWatch_W64文件夹内                   
 第五步:双击VisualMWatch_W64—文件—打开                 第六步:去掉//                 第七步:模拟                 
 下了不止一个文件,都出红字,不知道是什么原因,有的出现的更多,重装了电脑又换了不同的电脑,都是这样的情况,是不是我哪一步没有设置对呢? 后附另外一个,也是有大量红字,不明白怎么回事,都是别人的成功的代码,在我的电脑上就出现红字。 
 
 
 
 正在编译...arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m0 watcheface_show_morebosss_m01.c -I .\SDK\
 In file included from watcheface_show_morebosss_m01.c:6:0:
 maibu_res.h:3:0: warning: "RES_BITMAP_WATCHFACE_WEATHER_BG" redefined [enabled by default]
 In file included from .\SDK/maibu_sdk.h:120:0,
 from watcheface_show_morebosss_m01.c:5:
 .\SDK/maibu_res_bitmap_base_sdk.h:76:0: note: this is the location of the previous definition
 watcheface_show_morebosss_m01.c: In function 'window_reloading':
 watcheface_show_morebosss_m01.c:138:26: warning: initialization makes pointer from integer without a cast [enabled by default]
 watcheface_show_morebosss_m01.c: In function 'sec_callback':
 watcheface_show_morebosss_m01.c:183:26: warning: initialization makes pointer from integer without a cast [enabled by default]
 watcheface_show_morebosss_m01.c: In function 'data_handler_per_minute':
 watcheface_show_morebosss_m01.c:336:2: warning: passing argument 2 of 'strcat' from incompatible pointer type [enabled by default]
 In file included from watcheface_show_morebosss_m01.c:3:0:
 c:\program files (x86)\gnu tools arm embedded\4.7 2014q2\bin\../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/include/string.h:27:8: note: expected 'const char *' but argument is of type 'char (*)[2]'
 正在打包...
 -------------read appinfo.json-------------
 uuid:a2cd0396b28ac1abdf911a0d0a9fe625
 app_id:2833185
 name:金鸡报晓
 icon:5001
 version:101
 watchface:1
 sysapp:0
 res_num:3
 res:0, type:0, name:RES_BITMAP_WATCHFACE_WEATHER_BG, file:bg.bmp
 res:1, type:0, name:RES_BITMAP_SPORT_ble_con, file:ble_con.bmp
 res:2, type:0, name:RES_BITMAP_SPORT_ble_discon, file:ble_discon.bmp
 
 -----------------begin create res.h-------------
 -----------------create res.h ok-------------
 -----------------begin create res_file-------------
 type:0, res_key:5001, offset:66, res_size:2048, width:128, height:128
 type:0, res_key:5002, offset:2114, res_size:480, width:60, height:60
 type:0, res_key:5003, offset:2594, res_size:480, width:60, height:60
 -------------create res_file ok---------------
 ---------------prepare pack head----------
 ---------------read res_file----------
 ---------------read code----------
 ---------------write pack head----------
 ---------------write res ----------
 ---------------write code ----------
 ---------------pack file:金鸡报晓 ok ----------
 
 
 正在编译...
 
 D:\VisualMWatch_W64\watcheface_show_morebosss_m01.c: In function 'data_handler_per_minute':
 D:\VisualMWatch_W64\watcheface_show_morebosss_m01.c:336:34: warning: passing argument 2 of 'strcat' from incompatible pointer type
 strcat(g_show_more_str_altitude,&MMM);
 ^
 In file included from D:\VisualMWatch_W64\watcheface_show_morebosss_m01.c:3:0:
 D:/VisualMWatch_W64/mbcc/x86_64-w64-mingw32/include/string.h:52:18: note: expected 'const char * __restrict__' but argument is of type 'char (*)[2]'
 char * __cdecl strcat(char * __restrict__ _Dest,const char * __restrict__ _Source);
 ^
 
 |