首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >meta-qt5 yocto层不编译。

meta-qt5 yocto层不编译。
EN

Stack Overflow用户
提问于 2020-06-02 08:21:47
回答 1查看 1.2K关注 0票数 1

我用Yocto为板编译了图像和SDK。编译映像(没有-c populate_sdk)看起来不错,但是当我尝试填充SDK时,我会得到一些错误(似乎问题在"meta-qt5“层中)。

所以,我使用bitbake <image_name> -c populate_sdk。分支是rocko。在执行bitbake之后,我得到了下一个错误:

代码语言:javascript
复制
ERROR: qt3d-5.9.8+gitAUTOINC+0d923f9fc3-r0 do_compile: Function failed: do_compile (log file is located at /opt/PHYTEC_BSPs/IMX6/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/qt3d/5.9.8+gitAUTOINC+0d923f9fc3-r0/temp/log.do_compile.2150)
ERROR: Logfile of failure stored in: /opt/PHYTEC_BSPs/IMX6/build/tmp/work/cortexa9hf-neon-phytec-linux-gnueabi/qt3d/5.9.8+gitAUTOINC+0d923f9fc3-r0/temp/log.do_compile.2150
ERROR: Task (/opt/PHYTEC_BSPs/IMX6/sources/poky/../meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5415 tasks of which 5406 didn't need to be rerun and 2 failed.
NOTE: Writing buildhistory

Summary: 2 tasks failed:
  /opt/PHYTEC_BSPs/IMX6/sources/poky/../meta-qt5/recipes-qt/qt5/qt3d_git.bb:do_compile
  /opt/PHYTEC_BSPs/IMX6/sources/poky/../meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile

下面是日志文件:webkitqt3d。它们很大,但可能很有用。

另外,我在Ubuntu16.04虚拟机(4 CPU,8GB RAM)上编译了它。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-06-24 06:26:43

找到了Ubuntu 18.04的解决方案。

对于构建SDK,需要安装一些额外的软件。尝试执行下一个命令并重新运行bitbake。

代码语言:javascript
复制
sudo apt-get update

sudo apt-get install -y -q --no-install-recommends -o Dpkg::Options::="--force-confdef" \
-o Dpkg::Options::="--force-confold" build-essential chrpath cpio diffstat file  \
g++-multilib gawk gcc-multilib git-core locales openssh-client python python3 \
socat sudo texinfo tmux unzip wget

sudo rm -rf /var/lib/apt/lists/*

sudo locale-gen en_US.UTF-8

export LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'

我对Ubuntu16.04并不确定,但在18.04,一切都很适合我。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62147753

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档