当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
29 Star 134 Fork 313

OpenHarmony / build_lite
暂停

 / 详情

ohos_build_compiler Undefined identifier

已拒绝
任务
创建于  
2022-02-25 15:55

参照https://device.harmonyos.com/cn/docs/documentation/guide/driver-hdf-sample-0000001052078177
编写用户程序和驱动交互代码
BUILD.gn包含如下
deps = [
"//drivers/adapter/uhdf/manager:hdf_core",
"//drivers/adapter/uhdf/posix:hdf_posix_osal",
]
编译的时候出现如下错误,请问这个错误应该如何解决。
ERROR at //build/lite/ndk/ndk.gni:32:5: Undefined identifier
if (ohos_build_compiler == "clang") {
^------------------
See //base/hiviewdfx/hilog_lite/frameworks/featured/BUILD.gn:15:1: whence it was imported.
import("//build/lite/ndk/ndk.gni")
^--------------------------------
See //drivers/adapter/uhdf/manager/BUILD.gn:44:5: which caused the file to be included.
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
^-------------------------------------------------------------

评论 (1)

miaon 创建了任务

@miaon 这里是openharmonyos,不是harmonyos。

chenmudan 任务状态待办的 修改为已拒绝

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
Python
1
https://gitee.com/openharmony/build_lite.git
git@gitee.com:openharmony/build_lite.git
openharmony
build_lite
build_lite

搜索帮助