azul: Build failed with "failed to resolve: could not find `IoReader` in `bincode`" error
Description
warning: build failed, waiting for other jobs to finish... error: build failed PS L:\R\Coding\Rust\my_first_azul_app> cargo run Compiling webrender_api v0.60.0 error[E0433]: failed to resolve: could not find 'IoReader' in 'bincode' --> C:\Users\Admin\.cargo\registry\src\github.com-1ecc6299db9ec823\webrender_api-0.60.0\src\display_list.rs:270:35 | 270 | let reader = bincode::IoReader::new(UnsafeReader::new(&mut self.data)); | ^^^^^^^^ could not find 'IoReader' in 'bincode' error: aborting due to previous error For more information about this error, try 'rustc --explain E0433.
error: could not compile 'webrender_api.
Version / OS
-
azul version: 0.1
-
Operating system: Windows 10
-
Windowing system (X11 or Wayland, Linux only):
Steps to Reproduce
cargo run
Additional Information
CMake installed, default toolchain is stable-x86_64-pc-windows-msvc, MSVC installed
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 19
- Comments: 27 (5 by maintainers)
@fschutt when i am pointing to wip branch, i am getting different erros.
For some reason
webrender-0.60.0broke, which isn’t a problem since azul has already been upgraded towebrender-0.61.0on the wip branch. The master branch is severely outdated, the wip branch works though.I just came back from vacation, so I didn’t do anything last month. The documentation + installation instructions are horribly outdated, which is why I pushed the README to reflect that.
No, you currently can’t use Azul to build applications, it’s broken. I’ll fix it (on the wip branch) but that still needs time.
I’m on macOS 10.15 with Azul 0.1 experiencing the same issue
I am using Ubuntu 20.04 LTS (Rust toolchain stable-x86_64-unknown-linux-gnu) and I am experiencing the same issue.
I’m on Linux lite experiencing the same issue
Same issue here on Linux Mint Debian Edition 4. I get the same error as @xudesheng is stating when switching to the WIP branch. Visiting the Travis CI build history I was not able to find a last successful build.
Does someone know a commit that builds successfully?
It’s pretty obvious but i have the same issue when using stable-x86_64-pc-windows-gnu
@fschutt As of today, cloning azul and
cd azul-dll && cargo install --path .results to:Not the expected
~/.cargo/lib/azul-dll-0.0.1/target/release/libazul.so(Debian GNU/Linux 9.13 (stretch) using clang+±7 as C++17+ compiler and rust 1.49.0)
A minimal example is “building” with a symlink but this is far-fetched and the simplest
examples/hello_world/hello_world.rsdoesn’t compile.Not usable for now.
@jim4067
cd azul-dll && cargo install --path .as I said.I’m Having the same issues, I still haven’t tried the solution suggested by @emirror-de . But I have to express my consern since I’m learning the language and planned a project and was looking for a gui framework and I saw the “are we gui ready yet” website and saw azul first, I was hoping it would work. but for a first impression it disapoints me very much. not that I don’t understand that it’s not that ready but I was hoping it would be usable at least one of the examples.
I set as you said and got these errors:
I also tried to run the examples from the forked azul and they launched but with glitches