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 build #78

Open
JonathanWoollett-Light opened this issue Jun 8, 2020 · 3 comments
Open

Unable to build #78

JonathanWoollett-Light opened this issue Jun 8, 2020 · 3 comments

Comments

@JonathanWoollett-Light
Copy link

In cloning the https://github.com/google/shaderc-rs and running cargo build on both the shaderc-sys and shaderc-rs neither work

Resulting in these errors respectively:

shaderc-sys errors:

image

shaderc-rs errors:

image

Install

image

(and got both VS 2017 and VS 2019 installed with their respective build tools, Desktop development with C++ tool)

(originally I was trying to compile a library which depended upon this library (vulkano) which eventually lead me to this issue.)

What am I doing wrong here?

@Razaekel
Copy link

To add on to this, a very similar issue that I have:

image
image

required software is installed:
image

@JonathanWoollett-Light
Copy link
Author

An update, it seems to now work:

image

I have no idea why, nor have I really changed anything purposefully. Since I really have no idea what caused the original issue, I'm not closing the issue.

@raphlinus
Copy link

raphlinus commented Sep 5, 2020

If any one runs into this issue, it's likely because the C++ components of the build are leaving stale junk around somewhere in the target/ filter after a failed build, for example if you don't have the prerequisites installed. In other words, if your build fails, you install the required components, and try again, you'll likely see this error.

Nuking target worked for me.

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

3 participants