You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after adding the rltk dependency I get the following error when I attempt to build the project:
cargo build --release --target wasm32-unknown-unknown
Compiling bracket-terminal v0.8.7
error[E0432]: unresolved imports glow::NativeFramebuffer, glow::NativeTexture
--> /home/occult/.cargo/registry/src/github.com-1ecc6299db9ec823/bracket-terminal-0.8.7/src/hal/gl_common/framebuffer.rs:3:24
|
3 | use glow::{HasContext, NativeFramebuffer, NativeTexture};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no NativeTexture in the root
| |
| no NativeFramebuffer in the root
error[E0609]: no field fitscreen on type hal::wasm::InitHints
--> /home/occult/.cargo/registry/src/github.com-1ecc6299db9ec823/bracket-terminal-0.8.7/src/initializer.rs:455:29
|
455 | self.platform_hints.fitscreen = fitscreen;
| ^^^^^^^^^ help: a field with a similar name exists: fullscreen
Some errors have detailed explanations: E0432, E0609.
For more information about an error, try rustc --explain E0432.
error: could not compile bracket-terminal due to 2 previous errors
Is this an issue with the bracket library wrapper?
The text was updated successfully, but these errors were encountered:
This commit on the library repository provides a fix. You can temporarily switch to the git version of the library until the fix makes its way into the next release. I've left an example on how to do so below.
# ... rest of toml file
[dependencies]
# old rltk dependency# rltk = { version = "0.8.0" }# new rltk dependencyrltk = { git = "https://github.com/amethyst/bracket-lib" }
Doing this fixed an issue for me where the window would open but hovering over it with a mouse would crash it with the message Error sending request: Resource temporarily unavailable
Hi,
after adding the rltk dependency I get the following error when I attempt to build the project:
Is this an issue with the bracket library wrapper?
The text was updated successfully, but these errors were encountered: