Gigoteur / UnicornConsole

Unicorn Console: create quick fantasy game in Rust/Python/Lua/Rhai/Wasm !
MIT License
908 stars 47 forks source link

SdlError #58

Closed matheplica closed 6 years ago

matheplica commented 7 years ago

Hi, I'm trying to use PX8 on UbuntuStudio 17.04. I've got problem with libpython3.4m.so.1.0 but with this script it's ok https://gist.github.com/puentesarrin/8290754 Now I've got this error : [2017-07-15][17:51:58][INFO] [SDL] Creating renderer thread 'main' panicked at 'calledResult::unwrap()on anErrvalue: SdlError("Couldn\'t find matching render driver")', /checkout/src/libcore/result.rs:859 note: Run withRUST_BACKTRACE=1for a backtrace. Thanks for help I would like to use this wonderful tool

hallucino commented 7 years ago

Waht is the command line you use to build the project ?

hallucino commented 6 years ago

@matheynen have you the command line please ?

matheplica commented 6 years ago

cargo build --features="cpython px8_plugin_lua" --release I tried also with the binaries but same bug

hallucino commented 6 years ago

What is you graphical card ?

matheplica commented 6 years ago

Intel Corporation HD Graphics 5500. It's maybe a driver problem. I'm searching a solution

matheplica commented 6 years ago

Intel HD 5500. I've bug with ubuntu 17.04. I will downgrade

matheplica commented 6 years ago

Same bug on ubuntu 16.04

hallucino commented 6 years ago

Could you test some examples from: https://github.com/AngryLawyer/rust-sdl2/tree/master/examples

to see if it works please ?

matheplica commented 6 years ago

Sound, mouse examples works but all graphic not, except 'no-renderer' and 'renderer-target'

hallucino commented 6 years ago

ok so it seems more a bug with SDL rather than PX8

hallucino commented 6 years ago

I will close this bug. It the example with rust-sdl2 works but not with PX8, please reopen this bug.

Thank you