- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试构建 Parrot SDK,但在运行命令时,由于未找到多个 libav 包变体,它不断失败。下面是错误信息。
user@TheMysteriousMachine:~/WORKING_DIRECTORY$ ./build.sh -p arsdk-native -t build-sdk -j [I] Starting task 'build-sdk' [I] In '/home/user/WORKING_DIRECTORY': ALCHEMY_TARGET_CONFIG_DIR="/home/user/WORKING_DIRECTORY/products/arsdk /native/config" ALCHEMY_TARGET_OUT="/home/user/WORKING_DIRECTORY/out/arsdk-native" ALCHEMY_TARGET_PRODUCT="arsdk" ALCHEMY_TARGET_PRODUCT_VARIANT="native" ALCHEMY_TARGET_SCAN_ADD_DIRS=" /home/user/WORKING_DIRECTORY/packages" ALCHEMY_TARGET_SCAN_PRUNE_DIRS=" /home/user/WORKING_DIRECTORY" ALCHEMY_USE_COLORS="1" ALCHEMY_WORKSPACE_DIR="/home/user/WORKING_DIRECTORY" PARROT_BUILD_PROP_GROUP="drones" PARROT_BUILD_PROP_PRODUCT="arsdk" PARROT_BUILD_PROP_PROJECT="arsdk" PARROT_BUILD_PROP_UID="arsdk-native-20190316-1404-0.0.0" PARROT_BUILD_PROP_VARIANT="native" PARROT_BUILD_PROP_VERSION="0.0.0" /home/user/WORKING_DIRECTORY/build/alchemy/scripts/alchemake -j 8 all ---------------------------------------------------------------------- + ALCHEMY_WORKSPACE_DIR = /home/user /WORKING_DIRECTORY + TARGET_PRODUCT = arsdk + TARGET_PRODUCT_VARIANT = native + TARGET_OS = linux + TARGET_OS_FLAVOUR = native + TARGET_LIBC = native + TARGET_ARCH = x64 + TARGET_CPU = + TARGET_OUT = /home/user/WORKING_DIRECTORY/out/arsdk-native + TARGET_CONFIG_DIR = /home/user/WORKING_DIRECTORY /products/arsdk/native/config + TARGET_CC_PATH = /usr/bin/cc + TARGET_CC_VERSION = 7 ---------------------------------------------------------------------- Scanning /home/user/WORKING_DIRECTORY/packages for makefiles... Found 44 makefiles Prebuilt module ncurses marked as overriden Prebuilt module ncurses marked as overriden Package libavcodec was not found in the pkg-config search path. Perhaps you should add the directory containing据我了解,libav 已被 ffmpeg 取代,但构建仍应能够将这些包引用为 libav。我尝试使用“export PKG_CONFIG_PATH=...”向 PKG_CONFIG_PATH 添加不同的路径,但没有成功。可能我没有添加正确的路径,我使用“dpkg -L ffmpeg”来定位包。其输出是:libavcodec.pc'
libavformat.pc' to the PKG_CONFIG_PATH environment variable No package 'libavformat' found Package libswscale was not found in the pkg-config search path. Perhaps you should add the directory containing
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containinglibswscale.pc'
libavutil.pc' to the PKG_CONFIG_PATH environment variable No package 'libavutil' found Package libavcodec was not found in the pkg-config search path. Perhaps you should add the directory containing
to the PKG_CONFIG_PATH environment variable
No package 'libswscale' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containinglibavcodec.pc'
libavformat.pc' to the PKG_CONFIG_PATH environment variable No package 'libavformat' found Package libswscale was not found in the pkg-config search path. Perhaps you should add the directory containing
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containinglibswscale.pc'
libavutil.pc' to the PKG_CONFIG_PATH environment variable No package 'libavutil' found Found 96 modules Computing modules dependencies... Checking modules dependencies... /home/user/WORKING_DIRECTORY/build/alchemy/main.mk:360: *** /home/user /WORKING_DIRECTORY/packages/libARDiscovery: module 'libARDiscovery' depends on unknown module 'avahi'. Stop. [E] Task 'build-sdk' failed (Command failed (returncode=2))
to the PKG_CONFIG_PATH environment variable
No package 'libswscale' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing
user@TheMysteriousMachine:~$ dpkg -L ffmpeg /. /etc /etc/ffserver.conf /usr /usr/bin /usr/bin/ffmpeg /usr/bin/ffplay /usr/bin/ffprobe /usr/bin/ffserver /usr/bin/qt-faststart /usr/share /usr/share/doc /usr/share/doc/ffmpeg /usr/share/doc/ffmpeg/RELEASE_NOTES /usr/share/doc/ffmpeg/copyright /usr/share/ffmpeg /usr/share/ffmpeg/libvpx-1080p.ffpreset /usr/share/ffmpeg/libvpx-1080p50_60.ffpreset /usr/share/ffmpeg/libvpx-360p.ffpreset /usr/share/ffmpeg/libvpx-720p.ffpreset /usr/share/ffmpeg/libvpx-720p50_60.ffpreset /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/ffmpeg /usr/share/man /usr/share/man/man1 /usr/share/man/man1/ffmpeg-all.1.gz /usr/share/man/man1/ffmpeg-bitstream-filters.1.gz /usr/share/man/man1/ffmpeg-codecs.1.gz /usr/share/man/man1/ffmpeg-devices.1.gz /usr/share/man/man1/ffmpeg-filters.1.gz /usr/share/man/man1/ffmpeg-formats.1.gz /usr/share/man/man1/ffmpeg-protocols.1.gz /usr/share/man/man1/ffmpeg-resampler.1.gz /usr/share/man/man1/ffmpeg-scaler.1.gz /usr/share/man/man1/ffmpeg-utils.1.gz /usr/share/man/man1/ffmpeg.1.gz /usr/share/man/man1/ffplay-all.1.gz /usr/share/man/man1/ffplay.1.gz /usr/share/man/man1/ffprobe-all.1.gz /usr/share/man/man1/ffprobe.1.gz /usr/share/man/man1/ffserver-all.1.gz /usr/share/man/man1/ffserver.1.gz /usr/share/man/man1/qt-faststart.1.gz /usr/share/doc/ffmpeg/changelog.Debian.gz...其中有用的部分是我添加到我的 PKG_CONFIG_PATH 中的“/usr/bin”,但在构建时仍然出现相同的错误。我正在运行 Ubuntu 18.04 LTS。我很茫然,在过去的两天里一直在努力解决这个问题,我们将 非常感谢任何帮助。谢谢,我很乐意提供更多需要的信息。作为一个小请求,我是 Linux 的新手,所以如果您能在命令行操作中包含尽可能多的详细信息,这将有助于 很多。
最佳答案
假设您在此处遵循 FFmpeg Ubuntu 编译指南:https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
你要找的路径一定在这里:PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig
关于ubuntu - 找不到包 - 将 libav 添加到 PKG_CONFIG_PATH 环境变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55200674/
例如,我有一个父类Author: class Author { String name static hasMany = [ fiction: Book,
代码如下: dojo.query(subNav.navClass).forEach(function(node, index, arr){ if(dojo.style(node, 'd
我有一个带有 Id 和姓名的学生表和一个带有 Id 和 friend Id 的 Friends 表。我想加入这两个表并找到学生的 friend 。 例如,Ashley 的 friend 是 Saman
我通过互联网浏览,但仍未找到问题的答案。应该很容易: class Parent { String name Child child } 当我有一个 child 对象时,如何获得它的 paren
我正在尝试创建一个以 Firebase 作为我的后端的社交应用。现在我正面临如何(在哪里?)找到 friend 功能的问题。 我有每个用户的邮件地址。 我可以访问用户的电话也预订。 在传统的后端中,我
我主要想澄清以下几点: 1。有人告诉我,在 iOS 5 及以下版本中,如果您使用 Game Center 设置多人游戏,则“查找 Facebook 好友”(如与好友争夺战)的功能不是内置的,因此您需要
关于redis docker镜像ENTRYPOINT脚本 docker-entrypoint.sh : #!/bin/sh set -e # first arg is `-f` or `--some-
我是一名优秀的程序员,十分优秀!