-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fails to build in Windows (Microsoft Build Engine version 16.7.0+b89cb5fde) #3
Comments
Hello @axsaucedo, thanks for the issue. Windows is a pain so I can't promise you to check, but I will try if I have Time. |
Missing |
I ran into the same issue. My Vulkan SDK has precompiled libraries for shaderc so for Windows you could potentially skip compiling it from source and use the precompiled static libraries.
ffi.set_source('_pyshaderc', source, libraries=l,
library_dirs=[f1, f2]) With: from os import environ
vulkan_sdk_lib = path.join(environ["VULKAN_SDK"], "Lib")
ffi.set_source('_pyshaderc', source, libraries=l,
library_dirs=[vulkan_sdk_lib]) |
Thanks @marcusklang for the info. Could you check in the |
@realitix - I have now added a PR that I have tested with kompute on Windows 10, Linux (Ubuntu 16.04) and macOS (12.2.1). The test was to compile the compute shader example with pyshaderc on https://github.com/KomputeProject/kompute and then run it. One question that remains is if the precompiled should be default or fallback - right now I opted it as a fallback if the CMake configure or compile fails for any reason. |
Currently trying to install pyshaderc in windows, it seems it fails with the error:
The full stack trace is:
What would be the best way to amend, it seems the main issue (so far) is he
echo
error, but I can see there is another issue #2 which outlines a compile issue on Windows, do you know what could be a fix for this?The text was updated successfully, but these errors were encountered: