Open martinak1 opened 6 years ago
I was able to solve the issue by disabling srgb, but it might be a good idea to mention this issue in the tutorial as it seems to be fairly common.
@martinak1 how do I do that? I'm having the same problem
@maffei2443 unfortunately I no longer have the code I was working on. I believe it was something simple like bellow, but I do not remember where it was specified.
.srgb(false)
I found the answer in one of the previous issues, so that may be your best place to look.
When I set .srgb(false)
I get the Error:
OpenGL Warning: glXChooseVisual: ignoring attribute 0x22
OpenGL Warning: vboxCall failed with VBox status code VERR_BUFFER_OVERFLOW
thread 'main' panicked at 'gl function was not loaded', /home/atoav/radiu/target/debug/build/gl-ec15099b00e923a0/out/bindings.rs:20624:13
I used Linux Mint 19 running as a virtualbox guest and disabling 3D-acceleration in the Virtualbox Settings fixed this for me.
I have the same problem on Windows 10...
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 2.41s
Running `target\debug\spinning-square.exe`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Couldn\'t find any pixel format that matches the criterias."', libcore\result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: process didn't exit successfully: `target\debug\spinning-square.exe` (exit code: 101)
I have the same problem on Windows 10...
$ cargo run Finished dev [unoptimized + debuginfo] target(s) in 2.41s Running `target\debug\spinning-square.exe` thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Couldn\'t find any pixel format that matches the criterias."', libcore\result.rs:1009:5 note: Run with `RUST_BACKTRACE=1` for a backtrace. error: process didn't exit successfully: `target\debug\spinning-square.exe` (exit code: 101)
were you able to solve it?
Attempted to follow the sudoku example up to chapter 5 where you are supposed to compile and the game board is displayed. Instead I get the following error with this backtrace:
I went through the code to make sure I did not make an error, and just to be extra sure, I cloned the repository and tried to build the example from the source provided. This is the error and backtrace provided from that:
Bellow is my system info:
Please let me know if I need to provide any more information.