开局点灯出现问题,大佬们帮忙看看
-
完全参照 https://xr806.docs.aw-ol.com/study/soft_led/ 文档点灯教程。
hb build 出现问题:jie@jie-BEDROCK:~/workspace/xr806$ hb clean && hb build [OHOS INFO] [1/1] Regenerating ninja files [OHOS INFO] [1/254] STAMP obj/applications/sample/wifi-iot/app/startup/startup.stamp [OHOS INFO] [2/254] STAMP obj/applications/sample/wifi-iot/app/app.stamp [OHOS INFO] [3/254] gcc cross compiler obj/base/hiviewdfx/hiview_lite/libhiview_lite.hiview_config.o [OHOS INFO] [4/254] gcc cross compiler obj/base/hiviewdfx/hilog_lite/frameworks/mini/libhilog_lite.hiview_log_limit.o [OHOS INFO] [5/254] gcc cross compiler obj/base/hiviewdfx/hiview_lite/libhiview_lite.hiview_service.o [OHOS INFO] [6/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/libhichainsdk.add_auth_info.o [OHOS INFO] [7/254] gcc cross compiler obj/base/hiviewdfx/hievent_lite/frameworks/libhievent_lite.hiview_event.o [OHOS INFO] [8/254] gcc cross compiler obj/base/hiviewdfx/hilog_lite/frameworks/mini/libhilog_lite.hiview_log.o [OHOS INFO] [9/254] gcc cross compiler obj/base/hiviewdfx/hiview_lite/libhiview_lite.hiview_cache.o [OHOS INFO] [10/254] STAMP obj/base/startup/syspara_lite/frameworks/token/token_notes.stamp [OHOS INFO] [11/254] STAMP obj/build/lite/ndk.stamp [OHOS INFO] [12/254] gcc cross compiler obj/base/hiviewdfx/hilog_lite/command/libhilog_lite_command.hilog_lite_command.o [OHOS INFO] [13/254] AR libs/libhilog_lite_command.a [OHOS INFO] [14/254] gcc cross compiler obj/base/startup/bootstrap_lite/services/source/libbootstrap.bootstrap_service.o [OHOS INFO] [15/254] gcc cross compiler obj/base/hiviewdfx/hilog_lite/frameworks/mini/libhilog_lite.hiview_output_log.o [OHOS INFO] [16/254] gcc cross compiler obj/base/hiviewdfx/hievent_lite/frameworks/libhievent_lite.hiview_output_event.o [OHOS INFO] [17/254] gcc cross compiler obj/base/startup/bootstrap_lite/services/source/libbootstrap.system_init.o [OHOS INFO] [18/254] gcc cross compiler obj/base/hiviewdfx/hiview_lite/libhiview_lite.hiview_util.o [OHOS INFO] [19/254] gcc cross compiler obj/base/hiviewdfx/hiview_lite/libhiview_lite.hiview_file.o [OHOS INFO] [20/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/libhichainsdk.add_auth_info_client.o [OHOS INFO] [21/254] AR libs/libhiview_lite.a [OHOS INFO] [22/254] gcc cross compiler obj/base/startup/syspara_lite/frameworks/token/src/token_impl_hal/libtoken_static.token.o [OHOS INFO] [23/254] AR libs/libhilog_lite.a [OHOS INFO] [24/254] gcc cross compiler obj/base/startup/syspara_lite/frameworks/parameter/src/param_impl_hal/libsysparam.param_impl_hal.o [OHOS INFO] [25/254] AR libs/libhievent_lite.a [OHOS INFO] [26/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/libhichainsdk.auth_info.o [OHOS INFO] [27/254] STAMP obj/base/hiviewdfx/hilog_lite/frameworks/mini/hilog_lite_ndk.stamp [OHOS INFO] [28/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/libhichainsdk.remove_auth_info_client.o [OHOS INFO] [29/254] gcc cross compiler obj/base/startup/syspara_lite/frameworks/parameter/src/libsysparam.parameter_common.o [OHOS INFO] [30/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/libhichainsdk.exchange_auth_info_client.o [OHOS INFO] [31/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/libhichainsdk.exchange_auth_info.o [OHOS INFO] [32/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/libhichainsdk.key_agreement.o [OHOS INFO] [33/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/libhichainsdk.key_agreement_client.o [OHOS INFO] [34/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/json/libhichainsdk.commonutil.o [OHOS INFO] [35/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/json/libhichainsdk.jsonutil.o [OHOS INFO] [36/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/libhichainsdk.key_agreement_server.o [OHOS INFO] [37/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/libhichainsdk.sec_clone_server.o [OHOS INFO] [38/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/libhichainsdk.sts_client.o [OHOS INFO] [39/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.add_auth_info_request.o [OHOS INFO] [40/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/log/libhichainsdk.log.o [OHOS INFO] [41/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.add_auth_info_response.o [OHOS INFO] [42/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/libhichainsdk.pake_client.o [OHOS INFO] [43/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/libhichainsdk.pake_server.o [OHOS INFO] [44/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/libhichainsdk.hichain.o [OHOS INFO] [45/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/schedule/libhichainsdk.build_object.o [OHOS INFO] [46/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.add_auth_info_data.o [OHOS INFO] [47/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.auth_ack_request.o [OHOS INFO] [48/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.auth_ack_response.o [OHOS INFO] [49/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/libhichainsdk.sts_server.o [OHOS INFO] [50/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.exchange_request.o [OHOS INFO] [51/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.auth_start_request.o [OHOS INFO] [52/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.exchange_auth_data.o [OHOS INFO] [53/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/schedule/libhichainsdk.distribution.o [OHOS INFO] [54/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.inform_message.o [OHOS INFO] [55/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.auth_start_response.o [OHOS INFO] [56/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.import_add_auth_data.o [OHOS INFO] [57/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.exchange_response.o [OHOS INFO] [58/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.key_agreement_version.o [OHOS INFO] [59/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.pake_client_confirm.o [OHOS INFO] [60/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/huks_adapter/libhichainsdk.huks_adapter.o [OHOS INFO] [61/254] STAMP obj/base/security/huks/frameworks/huks_lite/huks_sdk.stamp [OHOS INFO] [62/254] STAMP obj/device/xradio/xr806/xr806.stamp [OHOS INFO] [63/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.pake_request.o [OHOS INFO] [64/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.parsedata.o [OHOS INFO] [65/254] AR libs/libbootstrap.a [OHOS INFO] [66/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.rmv_auth_info_data.o [OHOS INFO] [67/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.pake_server_confirm.o [OHOS INFO] [68/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.rmv_auth_info_request.o [OHOS INFO] [69/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.pake_response.o [OHOS INFO] [70/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.rmv_auth_info_response.o [OHOS INFO] [71/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/iot_hardware/wifiiot_lite/libhal_iothardware.iot_watchdog.o [OHOS INFO] [72/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/iot_hardware/wifiiot_lite/libhal_iothardware.reset.o [OHOS INFO] [73/254] gcc cross compiler obj/base/security/deviceauth/frameworks/deviceauth_lite/source/struct/libhichainsdk.sec_clone_data.o [OHOS INFO] [74/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/iot_hardware/wifiiot_lite/libhal_iothardware.lowpower.o [OHOS INFO] [75/254] AR libs/libhichainsdk.a [OHOS INFO] [76/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/iot_hardware/wifiiot_lite/libhal_iothardware.iot_uart.o [OHOS INFO] [77/254] STAMP obj/base/security/deviceauth/frameworks/deviceauth_lite/hichainsdk.stamp [OHOS INFO] [78/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_iot_lowpower.o [OHOS INFO] [79/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_iot_reset.o [OHOS INFO] [80/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_iot_flash.o [OHOS INFO] [81/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_iot_pwm.o [OHOS INFO] [82/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_iot_watchdog.o [OHOS INFO] [83/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_iot_i2c.o [OHOS INFO] [84/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_iot_gpio.o [OHOS INFO] [85/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_iot_uart.o [OHOS INFO] [86/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_mem.o [OHOS INFO] [87/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.main.o [OHOS INFO] [88/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm.o [OHOS INFO] [89/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.command.o [OHOS INFO] [90/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_net_ap.o [OHOS INFO] [91/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/iot_hardware/wifiiot_lite/libhal_iothardware.iot_flash.o [OHOS INFO] [92/254] gcc cross compiler obj/device/xradio/xr806/adapter/console/src/libapp_console.cmd_hm_net_sta.o [OHOS INFO] [93/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/communication/wifi_lite/wifiservice/source/libwifiservice.wifi_device_util.o [OHOS INFO] [94/254] AR libs/libapp_console.a [OHOS INFO] [95/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/communication/wifi_lite/wifiservice/source/libwifiservice.wifi_hotspot.o [OHOS INFO] [96/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/iot_hardware/wifiiot_lite/libhal_iothardware.iot_gpio.o [OHOS INFO] [97/254] gcc cross compiler obj/device/xradio/xr806/os/libliteos_glue.os_errno.o [OHOS INFO] [98/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/iot_hardware/wifiiot_lite/libhal_iothardware.iot_pwm.o [OHOS INFO] [99/254] gcc cross compiler obj/device/xradio/xr806/ohosdemo/LED/src/libapp_led.main.o [OHOS INFO] [100/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/iot_hardware/wifiiot_lite/libhal_iothardware.iot_i2c.o [OHOS INFO] [101/254] gcc cross compiler obj/device/xradio/xr806/os/libliteos_glue.os_queue.o [OHOS INFO] [102/254] gcc cross compiler obj/device/xradio/xr806/os/libliteos_glue.os_debug.o [OHOS INFO] [103/254] gcc cross compiler obj/device/xradio/xr806/os/libliteos_glue.os_mutex.o [OHOS INFO] [104/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/utils/file/src/libhal_file_static.hal_file.o [OHOS INFO] [105/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/communication/blue_lite/src/libohos_bt_gatt.ohos_bt_gatt.o [OHOS INFO] [106/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/communication/wifi_lite/wifiservice/source/libwifiservice.wifi_device.o [OHOS INFO] [107/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/communication/wifi_lite/xr_wifi/libxr_wifi_adapter.xr_wifi_adapter.o [OHOS INFO] [108/254] gcc cross compiler obj/device/xradio/xr806/adapter/hals/communication/blue_lite/src/libohos_bt_gatt.ohos_bt_gap.o [OHOS ERROR] [99/254] gcc cross compiler obj/device/xradio/xr806/ohosdemo/LED/src/libapp_led.main.o [OHOS ERROR] FAILED: obj/device/xradio/xr806/ohosdemo/LED/src/libapp_led.main.o [OHOS ERROR] ~/tools/gcc-arm-none-eabi-10-2020-q4-major/bin/arm-none-eabi-gcc -I../../../kernel/liteos_m/kernel/arch/arm/cortex-m33/gcc -I../../../kernel/liteos_m/kernel/include -I../../../kernel/liteos_m/kal -I../../../kernel/liteos_m/kal/cmsis -I../../../kernel/liteos_m/components/backtrace -I../../../kernel/liteos_m/components/bounds_checking_function/include -I../../../kernel/liteos_m/components/cppsupport -I../../../kernel/liteos_m/components/cpup -I../../../kernel/liteos_m/components/exchook -I../../../kernel/liteos_m/components/fs/fatfs -I../../../kernel/liteos_m/utils -I../../../base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite -I../../../utils/native/lite/include -I../../../base/security/deviceauth/frameworks/deviceauth_lite/source -I../../../device/xradio/xr806 -I../../../device/xradio/xr806/xr_skylark -I../../../device/xradio/xr806/xr_skylark/include -I../../../device/xradio/xr806/xr_skylark/include/net/lwip-2.1.2 -I../../../device/xradio/xr806/xr_skylark/project -I../../../device/xradio/xr806/xr_skylark/project/common/framework -I../../../device/xradio/xr806/xr_skylark/project/demo/wlan_ble_demo -I../../../device/xradio/xr806/xr_skylark/include/net/mbedtls-2.16.8 -I../../../base/iot_hardware/peripheral/interfaces/kits -mcpu=cortex-m33 -mtune=cortex-m33 -march=armv8-m.main+dsp -mfpu=fpv5-sp-d16 -mfloat-abi=softfp -mcmse -mthumb -c -g -fno-common -fmessage-length=0 -fno-exceptions -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -Wno-cpp -Wpointer-arith -Wno-error=unused-function -MMD -MP -Os -DNDEBUG -Wno-error=stringop-truncation -Wno-error=restrict -includexr_config.h -includecommon/prj_conf_opt.h -DCONFIG_CHIP_ARCH_VER=3 -DCONFIG_ARCH_APP_CORE -DCONFIG_CPU_CM33F -includelog/log.h -DVIRTUAL_HCI -DCONFIG_ARM -std=gnu99 -c ../../../device/xradio/xr806/ohosdemo/LED/src/main.c -o obj/device/xradio/xr806/ohosdemo/LED/src/libapp_led.main.o [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c: In function 'MainThread': [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:17:1: error: unknown type name '\U0000200b' [OHOS ERROR] 17 | IoTGpioSetOutputVal(GPIO_ID_PA21, 1); //(5) [OHOS ERROR] | [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:8:22: error: expected declaration specifiers or '...' before numeric constant [OHOS ERROR] 8 | #define GPIO_ID_PA21 21 [OHOS ERROR] | ^~ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:17:28: note: in expansion of macro 'GPIO_ID_PA21' [OHOS ERROR] 17 | IoTGpioSetOutputVal(GPIO_ID_PA21, 1); //(5) [OHOS ERROR] | ^~~~~~~~~~~~ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:17:42: error: expected declaration specifiers or '...' before numeric constant [OHOS ERROR] 17 | IoTGpioSetOutputVal(GPIO_ID_PA21, 1); //(5) [OHOS ERROR] | ^ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:18:1: error: unknown type name '\U0000200b' [OHOS ERROR] 18 | OS_MSleep(500); [OHOS ERROR] | [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:18:18: error: expected declaration specifiers or '...' before numeric constant [OHOS ERROR] 18 | OS_MSleep(500); [OHOS ERROR] | ^~~ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:19:1: error: unknown type name '\U0000200b' [OHOS ERROR] 19 | IoTGpioSetOutputVal(GPIO_ID_PA21, 0); //(6) [OHOS ERROR] | [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:8:22: error: expected declaration specifiers or '...' before numeric constant [OHOS ERROR] 8 | #define GPIO_ID_PA21 21 [OHOS ERROR] | ^~ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:19:28: note: in expansion of macro 'GPIO_ID_PA21' [OHOS ERROR] 19 | IoTGpioSetOutputVal(GPIO_ID_PA21, 0); //(6) [OHOS ERROR] | ^~~~~~~~~~~~ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:19:42: error: expected declaration specifiers or '...' before numeric constant [OHOS ERROR] 19 | IoTGpioSetOutputVal(GPIO_ID_PA21, 0); //(6) [OHOS ERROR] | ^ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:20:1: error: unknown type name '\U0000200b' [OHOS ERROR] 20 | OS_MSleep(500); [OHOS ERROR] | [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:20:18: error: expected declaration specifiers or '...' before numeric constant [OHOS ERROR] 20 | OS_MSleep(500); [OHOS ERROR] | ^~~ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c: In function 'LEDMain': [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:28:1: error: '\U0000200b' undeclared (first use in this function) [OHOS ERROR] 28 | OS_THREAD_PRIO_APP, 4 * 1024) != OS_OK) { [OHOS ERROR] | [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:28:1: note: each undeclared identifier is reported only once for each function it appears in [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:28:4: error: expected ')' before 'OS_PRIORITY_NORMAL' [OHOS ERROR] 28 | OS_THREAD_PRIO_APP, 4 * 1024) != OS_OK) { [OHOS ERROR] | ^ [OHOS ERROR] | ) [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:27:7: error: too few arguments to function 'OS_ThreadCreate' [OHOS ERROR] 27 | if (OS_ThreadCreate(&g_main_thread, "MainThread", MainThread, NULL, [OHOS ERROR] | ^~~~~~~~~~~~~~~ [OHOS ERROR] In file included from ../../../device/xradio/xr806/xr_skylark/include/kernel/os/os.h:34, [OHOS ERROR] from ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:3: [OHOS ERROR] ../../../device/xradio/xr806/xr_skylark/include/kernel/os/os_thread.h:92:11: note: declared here [OHOS ERROR] 92 | OS_Status OS_ThreadCreate(OS_Thread_t *thread, const char *name, [OHOS ERROR] | ^~~~~~~~~~~~~~~ [OHOS ERROR] ../../../device/xradio/xr806/ohosdemo/LED/src/main.c:29:4: error: expected ';' before 'printf' [OHOS ERROR] 29 | printf("[ERR] Create MainThread Failed\n"); [OHOS ERROR] | ^ ~~~~~~ [OHOS ERROR] | ; [OHOS ERROR] you can check build log in /home/jie/workspace/xr806/out/xr806/wifi_skylark/build.log [OHOS ERROR] command: "/home/jie/workspace/xr806/prebuilts/build-tools/linux-x86/bin/ninja -w dupbuild=warn -C /home/jie/workspace/xr806/out/xr806/wifi_skylark" failed [OHOS ERROR] return code: 1 [OHOS ERROR] execution path: /home/jie/workspace/xr806
-
-
用vim打开看了以下发现编辑器前面插了<200>
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号