【问题标题】:Trying to run cool-retro-term on Raspberry Pi / RetroPie / Debian Jessie尝试在 Raspberry Pi / RetroPie / Debian Jessie 上运行cool-retro-term
【发布时间】:2023-04-04 13:24:01
【问题描述】:

我正在尝试让 Swordfish90 的出色 cool-retro-term 工作在 RetroPie(运行 Debian Jessie)上,以运行具有适当复古风格的文本游戏。

instructions for Debian Jessie 允许我编译,但现在我知道的还不够,无法进行下一步。

首先,我安装了 deps:

$ sudo apt-get install build-essential qmlscene qt5-qmake qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtquick-dialogs qml-module-qtquick-localstorage qml-module-qtquick-window2

为了在没有内存错误的情况下编译它,我需​​要增加我的交换文件大小。但后来我很高兴。虽然花了一些时间,但编译成功。

$ git clone --recursive https://github.com/Swordfish90/cool-retro-term.git
$ cd cool-retro-term
$ qmake && make

但是当我运行它时,我得到一个错误。

$ ./cool-retro-term
QXcbConnection: Could not connect to display

我对 X-windows 要求的理解存在很大差距。我错过了什么?

【问题讨论】:

    标签: qt raspberry-pi debian


    【解决方案1】:

    我会先尝试:

    ./cool-retro-term -display :0
    

    甚至更好:

    bash -c "/fullpath/cool-retro-term -display :0"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-12-17
      • 2012-06-30
      • 1970-01-01
      • 2019-08-02
      • 2014-06-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多