realm.one
realm.one copied to clipboard
Unable to run game
Hi, I'm trying to run game and I receive:
error: failed to run custom build command for `gfx-backend-metal v0.3.3`
Caused by:
process didn't exit successfully: `D:\rust\realm.one\target\debug\build\gfx-backend-metal-4c6718d17db5c8c8\build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'unsupported target x86_64-pc-windows-msvc', C:\Users\sergi\.cargo\registry\src\github.com-1ecc6299db9ec823\gfx-backend-metal-0.3.3\build.rs:17:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
rustc 1.41.1 (f3e1a954d 2020-02-24) Windows 10, 64
What I'm doing wrong?
Hello, @captain-yossarian.
Try to set default = ["vulkan"] in cargo.toml file in [features] section.
There are several graphics backends used in Amethyst. It seems that author uses macOs, so he set "metal" backend by delault. Win/linux users have to use "vulkan".