shawn1416

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  1. 问题:开发板#./test
    -sh: ./test: No such file or directory
    原因:内核,文件系统用的交叉编译工具链和qt库的不匹配

  2. 问题:没有合适的编译器
    方法:重启虚拟机

  3. (1)TRDqt程序交叉编译,结果:

    (2)helloworld qt程序+nfs文件系统,结果:
    libdbus-1

    (3)helloworld qt程序+sd文件系统,结果:
    Could not open display
    sh: line 1: 2362 Aborted DISPLAY=':0.0' /home/root/helloworld
    Application finished with exit code 134.

    之后sunny@sunny-VirtualBox:/nfsroot/lib$ ssh -X root@192.168.22.108
    root@192.168.22.108's password:
    xauth: file /home/root/.Xauthority does not exist
    root@plnx_aarch64:~# ./helloworld
    Could not initialize egl display
    Aborted

xcb是图形库,eglfs很麻烦

posted on 2017-08-22 23:00  shawn1416  阅读(297)  评论(0编辑  收藏  举报