1
General / Console app using SFML for network and keypress detection (no x11)
« on: August 08, 2017, 08:28:54 pm »
I'm using sfml for keyboard and network. I wrote my app to run in the console, and so far everything was working just fine on my development PC in a terminal window...
Now I've moved the app to my Ubuntu server, there's no X11 environment, it's only the default command line...so when I run my app, it says failed to open X11 display...I'm sure it's because the keyboard reading is part of sfml-window, but is there anything I can do to make this work? Even if it involves switching to a different library for keypress detection?
Now I've moved the app to my Ubuntu server, there's no X11 environment, it's only the default command line...so when I run my app, it says failed to open X11 display...I'm sure it's because the keyboard reading is part of sfml-window, but is there anything I can do to make this work? Even if it involves switching to a different library for keypress detection?