PeterOEMaeggard
Member
Hi folks,
I have compiled a game to Ubuntu on a Bananapi board. Being very new to Linux, I am having problems actually running the game.
My game has two files: execute.sh and runner. When I try to run them from the desktop, I don't get an error message. I am running them from the root account.
When I type in sh execute.sh in terminal, I get the following error:
When I type in sh runner in terminal, I get the following error:
On the Bananapi board, I have installed Ubuntu 18.04.02 LTS bionic, which I got from Armbian.com. I have installed xubuntu (or XFCE?) as a desktop.
I've tried making a really simple game with just a single object and a simple sprite in one room. When I try to run that (it only has one file), I gives out the syntax error above.
Thanks in advance,
Peter
I have compiled a game to Ubuntu on a Bananapi board. Being very new to Linux, I am having problems actually running the game.
My game has two files: execute.sh and runner. When I try to run them from the desktop, I don't get an error message. I am running them from the root account.
When I type in sh execute.sh in terminal, I get the following error:
Code:
xterm: Xt error: Can't open display: %s
xterm: DISPLAY is not set
Code:
runner: 1: runner: Syntax error: "(" unexpected.
I've tried making a really simple game with just a single object and a simple sprite in one room. When I try to run that (it only has one file), I gives out the syntax error above.
Thanks in advance,
Peter