Слияние кода завершено, страница обновится автоматически
Hi guys,
I have encountered a problem when I am trying to use the header file osal_io.h
.
here is the part of my BUILD.gn file:
include_dirs = [
"include",
"$HDF_FRAMEWORKS/ability/sbuf/include",
"$HDF_FRAMEWORKS/core/shared/include",
"$HDF_FRAMEWORKS/core/host/include",
"$HDF_FRAMEWORKS/core/master/include",
"$HDF_FRAMEWORKS/include/core",
"$HDF_FRAMEWORKS/include/utils",
"$HDF_FRAMEWORKS/utils/include",
"$HDF_FRAMEWORKS/include/osal",
"//third_party/bounds_checking_function/include",
]
deps = [
"//drivers/hdf/lite/manager:hdf_core",
"//drivers/hdf/lite/adapter/osal/posix:hdf_posix_osal",
]
And then, the compile error throw up:
../../drivers/hdf/frameworks/include/osal/osal_io.h:62:10: fatal error: 'linux/io.h' file not found
#include <linux/io.h>
Thanks for your help.
You could reply in Chinese,