Nercury/rust-and-opengl-lessons

No available video device

sergiuchuckmisha opened this issue · 1 comments

OS: Ubuntu 18.04

just cloned repo, installed cmake and, according to instruction from readme
installed:
libsdl2-dev

and finally command
cargo run in lesson-01 gives error:
thread 'main' panicked at 'called Result::unwrap()on anErr value: "No available video device"', src/libcore/result.rs:1009:5

Googling didn't help.

May you suggest what is wrong?

It is the SDL issue, can't help you here.

Try googling "SDL No available video device".

Some suggestions that pop up is to install packages xorg-dev and ia32-libs.