主题 : NanoPC-T3_Plus wiki信息是否有误? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 48127
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2011-05-28
最后登录: 2018-02-25
楼主  发表于: 2018-02-19 14:51

 NanoPC-T3_Plus wiki信息是否有误?

网址:
http://wiki.friendlyarm.com/wiki/index.php/How_to_Build_%26_Install_Qt-5.9.1_Application_for_FriendlyELEC_Boards/zh#.E5.9C.A8.E5.BC.80.E5.8F.91.E6.9D.BF.E4.B8.8A.E7.BC.96.E8.AF.91Qt.E5.BA.94.E7.94.A8.E7.A8.8B.E5.BA.8F
原文:

S5P6818平台的编译并运行
git clone https://github.com/friendlyarm/QtE-Demo
mkdir build && cd build
/usr/local/Trolltech/Qt-5.9.1-nexell64-aarch64tools/bin/qmake ../QtE-Demo/QtE-Demo.pro
make
. setqt5env
./QtE-Demo

问题: make 于 setqt5env 先执行会告错:
/usr/local/Trolltech/Qt-5.9.1-nexell64/lib/libQt5Gui.so: undefined reference to `glGenerateMipmap'
/usr/local/Trolltech/Qt-5.9.1-nexell64/lib/libQt5Gui.so: undefined reference to `glActiveTexture'
/usr/local/Trolltech/Qt-5.9.1-nexell64/lib/libQt5Gui.so: undefined reference to `glCompressedTexImage2D'
/usr/local/Trolltech/Qt-5.9.1-nexell64/lib/libQt5Gui.so: undefined reference to `glCompressedTexSubImage2D'

即是是否  setqt5env  于 make 之前执行?