Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic running examples on Ubuntu 18.04 #212

Closed
Charles-Schleich opened this issue Mar 3, 2020 · 2 comments · Fixed by #354
Closed

Panic running examples on Ubuntu 18.04 #212

Charles-Schleich opened this issue Mar 3, 2020 · 2 comments · Fixed by #354
Labels
bug Something isn't working question Further information is requested

Comments

@Charles-Schleich
Copy link

Charles-Schleich commented Mar 3, 2020

Error message.

charles@charles-TE:~/rust/iced/examples/progress_bar (master)
$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.29s
     Running `/home/charles/rust/iced/target/debug/progress_bar`
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /rustc/f3e1a954d2ead4e2fc197c7da7d71e6c61bad196/src/libcore/macros/mod.rs:15:40
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
charles@charles-TE:~/rust/iced/examples/progress_bar (master)
$ cargo --version
cargo 1.41.0 (626f0f40e 2019-12-03)
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

Am i attempting to run this incorrectly ?
I have done a clean build. are there any libraries I need to support this ?
or some command line arguments to target a specific renderer ?

Works fine on my windows target, just my ubuntu target that is failing.

@Charles-Schleich
Copy link
Author

Do i need Vulkan installed on Ubuntu to run this ?
Even if i don't have a discrete GPU ?

@hecrj
Copy link
Member

hecrj commented Mar 3, 2020

Yes, you need a graphics driver that supports Vulkan.

There is no built-in OpenGL / software renderer yet.

@hecrj hecrj added bug Something isn't working question Further information is requested labels Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants