realm.one icon indicating copy to clipboard operation
realm.one copied to clipboard

Unable to run game

Open captain-yossarian opened this issue 5 years ago • 1 comments

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?

captain-yossarian avatar Mar 15 '20 11:03 captain-yossarian

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".

vigdail avatar Mar 15 '20 16:03 vigdail