embeddev_1 发表于 2015-7-4 09:39:00

fedoar10 qt4.5运行用户程序总报下面错误,怎么破?

vmware10+fedoar10快速安装,费了很大劲安装好qt4.5,分别编译了x86和arm环境,现在qvfb &运行正常
但是运行用户程序的时候,总报“QScreenLinuxFb::connect: No such device
Error opening framebuffer device /dev/fb0
”错误

查了下,我的只有/dev/fb,按照网上的2种方法(1: ln -s /dev/fb /dev/fb0 2: mknod /dev/fb0 c 29 0)试了均不行,怎么破?


embeddev_1 发表于 2015-7-4 12:13:36

{:biggrin:}

embeddev_1 发表于 2015-7-4 14:37:44

本帖最后由 embeddev_1 于 2015-7-4 16:06 编辑

可以了! ./configure -plugin-gfx-qvfb -plugin-kbd-qvfb -plugin-mouse-qvfb 或
./configure -qt-gfx-qvfb -qt-kbd-qvfb -qt-mouse-qvfb
重新编译下内核!

现在qtopia2.2.0编译还有些问题,折腾中!{:biggrin:}

e2fsprogs编译错误
/bin/ln: creating hard link `../libcom_err.a' => `libcom_err.a': Operation not permitted
make: *** Error 1
make: Leaving directory `/mnt/hgfs/share/e2fsprogs-1.39/lib/et'
make: *** Error 1
make: Leaving directory `/mnt/hgfs/share/e2fsprogs-1.39'
make: *** Error 2

qtopia错误

/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
make: *** [../../../lib/libqpe.so.1.5.3] Error 1
make: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make: *** Error 2
make: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make: *** Error 2
make: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make: *** Error 2
make: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make: *** Error 2
make: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia'
done !
cp: cannot create regular file `qtopia/image/opt/Qtopia/lib/fonts/': No such file or directory
自己先标志下!

lans0625 发表于 2015-7-4 15:16:50

Fedora10是不是太老了?

usecool 发表于 2015-7-4 15:20:38

程序后参数-qws

embeddev_1 发表于 2015-7-4 16:07:42

usecool 发表于 2015-7-4 15:20
程序后参数-qws

-qws肯定要加的! 看我说明,和这个完全没关系,这个已经解决了@

usecool 发表于 2015-7-4 16:36:16

现在没必要折腾这个版本的了,qtopia也赶紧升级

embeddev_1 发表于 2015-7-5 09:41:21

ok了!根据每个错误更新对应的库文件,一个一个来,总会解决! qtopia2.2.0是开源的最后一个版本{:biggrin:}
页: [1]
查看完整版本: fedoar10 qt4.5运行用户程序总报下面错误,怎么破?