- 收藏
- 点赞
- 分享
- 举报
如何解决QT移植3516D,./configure出现重复定义问题
今天想把QT移植到dv300,今天在网上找教程,找到这位大神的移植教程
https://blog.csdn.net/cocoron/article/details/105662856
我的ubuntu12.04,我按照他的步骤,下载了qt-everywhere-src-5.12.0.tar.xz到./configure -prefix /opt/qt5.12.8_hi3516dv300/shared的时候就出现了错误,如下:
.In file included from /home/phoenix/OPT/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qendian.h:1:0,
from /home/phoenix/OPT/qt-everywhere-src-5.12.0/qtbase/src/corelib/codecs/qutfcodec.cpp:43:
/home/phoenix/OPT/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:165:61: error: redeclaration ‘constexpr T qbswap(T) [with T = qfloat16]’ differs in ‘constexpr’
template <> inline qfloat16 qbswap
^
/home/phoenix/OPT/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = qfloat16]’
template
^
/home/phoenix/OPT/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:170:52: error: redeclaration ‘constexpr T qbswap(T) [with T = float]’ differs in ‘constexpr’
template <> inline float qbswap
^
/home/phoenix/OPT/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = float]’
template
^
/home/phoenix/OPT/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:175:55: error: redeclaration ‘constexpr T qbswap(T) [with T = double]’ differs in ‘constexpr’
template <> inline double qbswap
^
/home/phoenix/OPT/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = double]’
template
^
make: * [qutfcodec.o] Error 1
似乎是似乎是个和大小端有关的函数,出现qbswap重复定义的错误了,有没有大佬遇过相似的问题?
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
-
2017-11-13 11:04:48
-
2022-07-12 17:52:56
-
2017-03-31 15:24:54
-
2018-12-28 11:12:57
-
2016-08-05 16:27:37
-
2017-02-09 10:35:07
-
2019-01-04 13:46:15
-
2018-08-30 15:19:44
-
12016-10-15 22:10:29
-
2017-08-02 09:58:42
-
2019-01-04 15:44:55
-
2018-12-27 16:17:05
-
2015-06-25 09:31:45
-
2016-12-07 15:54:54
-
2015-11-06 11:06:17
-
2017-08-10 10:11:29
-
2018-08-02 14:05:17
-
2019-01-04 10:53:01
-
2019-05-31 15:58:45
-
10T32crop和fcrop怎么从中间裁剪?
-
53516卡死问题
-
10hi3516cv610 去除风扇声音,人说话声音正常输出不变声
-
5hi3516cv610适配imx662的wdr模式出图图像不正常怎么去解决
-
5ss928 [sample_comm_venc_get_venc_stream_proc]-2627: get venc stream time out, exit thread
-
10要一份RK3576最新硬件资料包
-
5海思DPU的查找表怎么获取
-
10海思Hi3519DV500 自动对焦算法求助
-
10鸿欧派 Hi3519Dv500
-
10【求助】RK3576实现推流和GC2053摄像头颜色偏绿
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明

微信扫码分享
QQ好友
该回答已被题主采纳为最佳答案