Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Doesnt compile on Linux #60

Open
Nutomic opened this issue Sep 6, 2020 · 1 comment
Open

Doesnt compile on Linux #60

Nutomic opened this issue Sep 6, 2020 · 1 comment

Comments

@Nutomic
Copy link

Nutomic commented Sep 6, 2020

I wanted to give this project a try, but the client throws errors in the build. It seems like I need to install some libraries, would be nice if you could provide a full list of dependencies.

$ cargo build -p gv_server
Finished dev [unoptimized + debuginfo] target(s) in 1.02s
$ cargo -Z features=itarget build -p gv_client
Compiling shaderc-sys v0.5.1
Compiling gfx-backend-vulkan v0.3.3
Compiling imgui-winit-support v0.2.1
error: could not find native static library `SPIRV-Tools-opt`, perhaps an -L flag is missing?

Compiling shaderc v0.5.1
error: aborting due to previous error

The following warnings were emitted during compilation:

warning: Checking for system installed libraries.  Use --features = build-from-source to disable this behavior
warning: Found SPIRV.  Linking libSPIRV & libglslang

error: could not compile `shaderc-sys`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
@vladbat00
Copy link
Member

vladbat00 commented Sep 30, 2020

Hey, sorry it took me a while to answer. Are you on Arch? There's a fix in shaderc-sys that should help you. Unfortunately, Amethyst and rendy aren't on that version of shaderc yet (if I haven't missed anything).

google/shaderc-rs@69adfd6

I'll keep this issue open to track the update to a newer version of Amethyst, once the fix is available there.

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

No branches or pull requests

2 participants