【发布时间】: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