SFML community forums

Bindings - other languages => General => Topic started by: short_name on May 16, 2017, 08:08:50 pm

Title: [solved] All rust examples fail to run
Post by: short_name 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?
Title: Re: All rust examples fail to run
Post by: short_name on May 17, 2017, 10:46:05 pm
I forgot to run:

Code: [Select]
cargo build