【发布时间】:2021-06-03 01:08:00
【问题描述】:
我正在尝试为 arm 交叉编译和构建 gst-rtsp-server
我已经运行 meson build 但它总是返回
Found CMake: NO
Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency glib-2.0
meson.build:136:0: ERROR: Neither a subproject directory nor a glib.wrap file was found
.但是我已经在介子交叉文件中填写了位置
[properties]
c_args = ['-I/opt/linaro/aarch64-linux-gnu/include/c++/7.5.0',
'/home/monki/gstream/include/glib-2.0']
cpp_args = ['-I/opt/linaro/aarch64-linux-gnu/include/c++/7.5.0',
'/home/monki/gstream/include/glib-2.0']
objc_args = []
objcpp_args = []
c_link_args = ['-L/opt/linaro/aarch64-linux-gnu/lib64',
'-L/home/monki/gstream/lib']
cpp_link_args = ['-L/opt/linaro/aarch64-linux-gnu/lib64',
'-L/home/monki/gstream/lib']
我做错了什么?
问候 谢谢
【问题讨论】:
标签: c cross-compiling meson-build