Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run game #19

Open
captain-yossarian opened this issue Mar 15, 2020 · 1 comment
Open

Unable to run game #19

captain-yossarian opened this issue Mar 15, 2020 · 1 comment

Comments

@captain-yossarian
Copy link
Collaborator

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?

@vigdail
Copy link

vigdail commented Mar 15, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants