3276
- 收藏
- 点赞
- 分享
- 举报
Hi3559A Qt移植带opengl运行错误
本想利用Hi3559A来加速qt渲染,可移植运行报错。
错误如下:
qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_emu")
qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_mali", "eglfs_emu")
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_mali"
qt.qpa.egldeviceintegration: Failed to load EGL device integration "eglfs_mali"
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_emu"
qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_emu"
EGL library doesn't support Emulator extensions
Aborted
qt配置如下:
qmake.conf
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
QMAKE_CFLAGS += -mcpu=cortex-a73.cortex-a53
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
# modifications to g++.conf
QMAKE_CC = aarch64-himix100-linux-gcc
QMAKE_CXX = aarch64-himix100-linux-g++
QMAKE_LINK = aarch64-himix100-linux-g++
QMAKE_LINK_SHLIB = aarch64-himix100-linux-g++
# modifications to linux.conf
QMAKE_AR = aarch64-himix100-linux-ar cqs
QMAKE_OBJCOPY = aarch64-himix100-linux-objcopy
QMAKE_NM = aarch64-himix100-linux-nm -P
QMAKE_STRIP = aarch64-himix100-linux-strip
# Mali EGL and GLES2 are in fact located in the same .so file.
QMAKE_INCDIR_EGL = /usr/local/gpu/include
QMAKE_LIBDIR_EGL = /usr/local/gpu/lib
QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
QMAKE_LIBDIR_OPENGL_ES2 = $${QMAKE_LIBDIR_EGL}
QMAKE_LIBS_EGL = -lmali
QMAKE_LIBS_OPENGL_ES2 = -lmali
DEFINES += EGL_EGLEXT_PROTOTYPES GL_GLEXT_PROTOTYPES EGL_FBDEV EGL_API_FBDEV EGL_API_MIDGARD PLATFORM_MALI700
EGLFS_DEVICE_INTEGRATION = eglfs_mali
qt config配置:
./configure \
-prefix /opt/qt \
-opensource -confirm-license \
-recheck-all \
-release \
-shared \
-strip \
-xplatform aarch64 \
-prefix /home/hdd/qt/Qt5.8/build_aarch64/qt512_aarch64_gl \
-eglfs -linuxfb -qt-zlib -no-gif -qt-libpng -qt-libjpeg -qt-freetype \
-no-rpath -no-pch -no-avx -no-openssl -no-cups -no-dbus -no-pkg-config \
-no-glib -no-iconv -make libs -opengl es2 \
-nomake examples -nomake tools -qt-sqlite \
-skip qtgamepad \
-skip qtandroidextras \
-skip qtmacextras \
-skip qtx11extras \
-skip qtsensors \
-skip qtserialbus \
-skip qtserialport \
-skip qtwebengine \
-skip qtwebchannel \
-skip qtwebsockets
不知道大家有没有遇到这样问题,一起讨论下。
错误如下:
qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_emu")
qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_mali", "eglfs_emu")
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_mali"
qt.qpa.egldeviceintegration: Failed to load EGL device integration "eglfs_mali"
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_emu"
qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_emu"
EGL library doesn't support Emulator extensions
Aborted
qt配置如下:
qmake.conf
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
QMAKE_CFLAGS += -mcpu=cortex-a73.cortex-a53
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
# modifications to g++.conf
QMAKE_CC = aarch64-himix100-linux-gcc
QMAKE_CXX = aarch64-himix100-linux-g++
QMAKE_LINK = aarch64-himix100-linux-g++
QMAKE_LINK_SHLIB = aarch64-himix100-linux-g++
# modifications to linux.conf
QMAKE_AR = aarch64-himix100-linux-ar cqs
QMAKE_OBJCOPY = aarch64-himix100-linux-objcopy
QMAKE_NM = aarch64-himix100-linux-nm -P
QMAKE_STRIP = aarch64-himix100-linux-strip
# Mali EGL and GLES2 are in fact located in the same .so file.
QMAKE_INCDIR_EGL = /usr/local/gpu/include
QMAKE_LIBDIR_EGL = /usr/local/gpu/lib
QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
QMAKE_LIBDIR_OPENGL_ES2 = $${QMAKE_LIBDIR_EGL}
QMAKE_LIBS_EGL = -lmali
QMAKE_LIBS_OPENGL_ES2 = -lmali
DEFINES += EGL_EGLEXT_PROTOTYPES GL_GLEXT_PROTOTYPES EGL_FBDEV EGL_API_FBDEV EGL_API_MIDGARD PLATFORM_MALI700
EGLFS_DEVICE_INTEGRATION = eglfs_mali
qt config配置:
./configure \
-prefix /opt/qt \
-opensource -confirm-license \
-recheck-all \
-release \
-shared \
-strip \
-xplatform aarch64 \
-prefix /home/hdd/qt/Qt5.8/build_aarch64/qt512_aarch64_gl \
-eglfs -linuxfb -qt-zlib -no-gif -qt-libpng -qt-libjpeg -qt-freetype \
-no-rpath -no-pch -no-avx -no-openssl -no-cups -no-dbus -no-pkg-config \
-no-glib -no-iconv -make libs -opengl es2 \
-nomake examples -nomake tools -qt-sqlite \
-skip qtgamepad \
-skip qtandroidextras \
-skip qtmacextras \
-skip qtx11extras \
-skip qtsensors \
-skip qtserialbus \
-skip qtserialport \
-skip qtwebengine \
-skip qtwebchannel \
-skip qtwebsockets
不知道大家有没有遇到这样问题,一起讨论下。
我来回答
回答3个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2017-05-02 15:36:52
-
2020-03-17 16:53:10
-
2019-04-25 15:04:32
-
2018-05-12 11:37:46
-
2019-03-01 09:22:24
-
2019-02-28 19:30:21
-
2019-03-20 17:02:53
-
2017-11-04 21:56:57
-
2019-04-01 17:09:35
-
2019-12-25 14:53:50
-
2019-07-15 21:46:47
-
2019-03-30 17:05:11
-
2019-07-24 17:09:44
-
42019-08-02 09:16:03
-
02020-09-06 16:24:20
-
42020-10-16 12:03:24
-
02020-08-26 17:19:52
-
2018-12-14 11:29:13
-
2019-08-13 15:22:23
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
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板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认