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

Author Topic: [solved] All rust examples fail to run  (Read 4980 times)

0 Members and 1 Guest are viewing this topic.

short_name

  • Newbie
  • *
  • Posts: 14
    • View Profile
[solved] All rust examples fail to run
« on: May 16, 2017, 08:08:50 pm »
I am very new to rust so I may just be doing this wrong but here is my setup:

Up to date 64 bit archlinux
rustc 1.17.0 (56124baa9 2017-04-24)
csfml 2.4-1
on commit 2e94805761c8293a4942a87cb6a3944fed0302b9 of rust-sfml
I try to run an example and I see the following:
Code: [Select]
$ cargo run --example mouse
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `/home/ed/program/rust/rust-sfml/target/debug/examples/mouse`
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  38
  Current serial number in output stream:  39

Suggestions?
« Last Edit: May 17, 2017, 10:46:19 pm by short_name »

short_name

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: All rust examples fail to run
« Reply #1 on: May 17, 2017, 10:46:05 pm »
I forgot to run:

Code: [Select]
cargo build

 

anything