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

Author Topic: Error running sfml-app  (Read 912 times)

0 Members and 1 Guest are viewing this topic.

austinmw

  • Newbie
  • *
  • Posts: 6
    • View Profile
Error running sfml-app
« on: July 16, 2015, 08:14:33 am »
Hi, I just tried following the tutorial http://www.sfml-dev.org/tutorials/2.3/start-linux.php on a fresh install of Xubuntu 15.04 in Parallels. I did the updates and upgrades, then ran sudo apt-get install libsfml-dev. I also downloaded and extracted SFML-2.3.1 to my Documents folder, but I wasn't sure if I needed to do both. After following the steps, when trying to run the sfml-app I created, I get the message:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  74
  Current serial number in output stream:  75

I also get the same error if I try it in Codeblocks. Can anyone tell me what this means? Did I need to also do something with the SFML download after I ran the sudo apt-get install libsfml-dev command or was that an either/or type of thing? Any help is greatly appreciated, thanks.