gpt4 book ai didi

c++ - 在 64 位 Linux 上编译 32 位 Qt - fatal error : gnu/lib-names-32. h

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:47:03 24 4
gpt4 key购买 nike

编辑:我终于找到了答案here .我一直在进行过于具体的搜索,当我进行更一般的搜索时,我发现了这一点。

我正在尝试在 64 位 Linux Mint 上编译 Qt 5.6.2 的 32 位版本,但出现错误 fatal error: gnu/lib-names-32.h

为了完成我所做的工作,我使用了以下配置命令:

./configure -platform linux-g++-64 -xplatform linux-g++-32 -prefix /home/matthew/Qt/Qt5.6.2-S32 -static -opensource -confirm-license -make libs

然后我使用 make -j4 构建它。我遇到了一些编译错误,这些错误通过安装 gcc-multilibg++-multilib 解决了,但随后遇到了另一个错误。

搜索最新错误的解决方案,大多数人建议安装 libx32gcc-4.8-devlibc6-dev-i386,但我仍然遇到相同的错误。

有人知道我需要安装什么才能在 64 位 Linux Mint 上构建 32bt Qt 吗?

最佳答案

我终于找到了答案here .我一直在进行过于具体的搜索,当我进行更一般的搜索时,我找到了答案。

关于c++ - 在 64 位 Linux 上编译 32 位 Qt - fatal error : gnu/lib-names-32. h,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41873640/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com