SFML community forums

Help => General => Topic started by: lehthanis on August 08, 2017, 08:28:54 pm

Title: Console app using SFML for network and keypress detection (no x11)
Post by: lehthanis 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?
Title: Re: Console app using SFML for network and keypress detection (no x11)
Post by: Laurent on August 08, 2017, 08:50:30 pm
sfml-window is not able to operate without X11, whatever feature(s) you use.