- 收藏
- 点赞
- 分享
- 举报
如何解决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. 内容
- 缩进内容
- 图片![alt](url)
-
2017-11-13 11:04:48
-
2022-07-12 17:52:56
-
2017-03-31 15:24:54
-
2018-12-28 11:12:57
-
2017-02-09 10:35:07
-
2019-01-04 13:46:15
-
2016-08-05 16:27:37
-
2018-08-30 15:19:44
-
12016-10-15 22:10:29
-
2019-01-04 15:44:55
-
2018-12-27 16:17:05
-
2017-08-02 09:58:42
-
2015-11-06 11:06:17
-
2016-12-07 15:54:54
-
2017-08-10 10:11:29
-
2019-01-04 10:53:01
-
2018-08-02 14:05:17
-
2015-06-25 09:31:45
-
2015-07-29 17:25:58
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明