Unable to build Chapter 1
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust, wasm
- Domain
- build-system
Research direction
Reproduce the reported cargo build --release --target wasm32-unknown-unknown failure after adding the rltk dependency. Start by checking the project’s dependency declarations and the reported bracket-terminal 0.8.7 errors involving glow imports and InitHints; done means the Chapter 1 project builds successfully for the wasm target.
Written by the indexing model from the issue text.
Description
Hi,
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 importsglow::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};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ noNativeTexturein the root
| |
| noNativeFramebufferin the rooterror[E0609]: no field
fitscreenon typehal::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:fullscreenSome errors have detailed explanations: E0432, E0609.
For more information about an error, tryrustc --explain E0432.
error: could not compile
bracket-terminaldue to 2 previous errors
Is this an issue with the bracket library wrapper?
- Dominant language
- Rust
- Stars
- 967
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from amethyst/rustrogueliketutorial
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 45/100
All issues in amethyst/rustrogueliketutorial
Similar issues
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
discover: `sudo RTK_DISABLED=$VAR …` is not detected as a bypass when `sudo` is a transparent prefixOpenarea:cli bug good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
skill:code-review
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
component:sight
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
agentic-os-org/ANOLISA#4115 · 1 comment ·
Maintainers usually reply within 1 day