I was trying to run the simple window script found at the Ruby Tutorials section and also a custom script but I always get this weird error message. If I run the same script on any *buntu GNU/Linux OS I don't get this error message.
~$ ruby1.9.1 gosuwindow.rb
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 1 (X_CreateWindow)
Serial number of failed request: 160
Current serial number in output stream: 161
I'm completely sure I didn't forget to install any package.
~# apt-get install g++ libgl1-mesa-dev libpango1.0-dev libboost-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev ruby1.9.1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-dev is already the newest version.
g++ is already the newest version.
libgl1-mesa-dev is already the newest version.
libpango1.0-dev is already the newest version.
ruby1.9.1-dev is already the newest version.
libsdl-mixer1.2-dev is already the newest version.
libsdl-ttf2.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Can anyone lend me a hand here?
Loading...