Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Console app using SFML for network and keypress detection (no x11)  (Read 1198 times)

0 Members and 1 Guest are viewing this topic.

lehthanis

  • Newbie
  • *
  • Posts: 6
    • View Profile
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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Console app using SFML for network and keypress detection (no x11)
« Reply #1 on: August 08, 2017, 08:50:30 pm »
sfml-window is not able to operate without X11, whatever feature(s) you use.
Laurent Gomila - SFML developer