- 收藏
- 点赞
- 分享
- 举报
如何解决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
-
2017-03-31 15:24:54
-
2022-07-12 17:52:56
-
2017-02-09 10:35:07
-
2016-08-05 16:27:37
-
2018-08-30 15:19:44
-
12016-10-15 22:10:29
-
2018-12-28 11:12:57
-
2019-01-04 13:46:15
-
2017-08-02 09:58:42
-
2015-11-06 11:06:17
-
2016-12-07 15:54:54
-
2017-08-10 10:11:29
-
2015-06-25 09:31:45
-
2018-12-27 16:17:05
-
2019-01-04 15:44:55
-
2018-08-02 14:05:17
-
2015-07-29 17:25:58
-
2019-05-31 15:58:45

-
5hi3516dv500改了sensor驱动后使用pqtools出图出现彩色的竖条纹
-
10海思3559的VGS模块在VI上画线问题
-
53519dv500接lvds的sensor mn34120,图像出现很多竖线,sensor板接以前的3519v101没问题
-
103403外接hdmi口1024*600显示屏报错
-
5SS928点DC camera的6946,全屏紫色
-
5hi3519 的 网络传输的MTU值可以修改到比1500大嘛?
-
10WS73V100星闪扫描不到设备sle
-
5SS928/SD3403 录像失败 venc stream time out, exit thread; venc 2 stream buffer is full
-
10Hi3516DV500无法运行PQTool软件
-
10君正T23+1084带TF卡插卡(给该主板适配TF卡驱动,电机驱动,适配GPIO)
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明