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

cannot find native shaderc library on system but Vulkan-SDK is installed #126

Open
Axeltherabbit opened this issue Jul 8, 2022 · 0 comments

Comments

@Axeltherabbit
Copy link

cargo build
   Compiling shaderc-sys v0.7.4
The following warnings were emitted during compilation:

warning: shaderc: searching native shaderc libraries in Vulkan SDK 'C:\VulkanSDK\1.2.182.0/lib'
warning: shaderc: cannot find native shaderc library on system; falling back to build from source

error: failed to run custom build command for `shaderc-sys v0.7.4`
 ls C:\VulkanSDK\1.2.182.0/lib


    Directory: C:\VulkanSDK\1.2.182.0\lib


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        05/07/2021     17:19           2002 dxcompiler.lib
-a----        05/07/2021     17:24         152594 GenericCodeGen.lib
-a----        05/07/2021     17:25         348266 glslang.lib
-a----        05/07/2021     17:24           1754 HLSL.lib
-a----        05/07/2021     17:25       27342690 MachineIndependent.lib
-a----        05/07/2021     17:24          46454 OGLCompiler.lib
-a----        05/07/2021     17:24          29794 OSDependent.lib
-a----        05/07/2021     17:33         373524 shaderc.lib
-a----        05/07/2021     17:33      103086770 shaderc_combined.lib
-a----        05/07/2021     17:33          14918 shaderc_shared.lib
-a----        05/07/2021     17:33         873740 shaderc_util.lib
-a----        05/07/2021     17:30          48324 spirv-cross-c-shared.lib
-a----        05/07/2021     17:30        1291886 spirv-cross-c.lib
-a----        05/07/2021     17:29        4337866 spirv-cross-core.lib
-a----        05/07/2021     17:29         958870 spirv-cross-cpp.lib
-a----        05/07/2021     17:29        6078700 spirv-cross-glsl.lib
-a----        05/07/2021     17:29        3720286 spirv-cross-hlsl.lib
-a----        05/07/2021     17:29        9525972 spirv-cross-msl.lib
-a----        05/07/2021     17:29         740386 spirv-cross-reflect.lib
-a----        05/07/2021     17:29          58934 spirv-cross-util.lib
-a----        05/07/2021     17:25        2482530 SPIRV-Tools-link.lib
-a----        05/07/2021     17:25       81939776 SPIRV-Tools-opt.lib
-a----        05/07/2021     17:25        9515616 SPIRV-Tools-reduce.lib
-a----        05/07/2021     17:24          15832 SPIRV-Tools-shared.lib
-a----        05/07/2021     17:24       22441006 SPIRV-Tools.lib
-a----        05/07/2021     17:25        6457614 SPIRV.lib
-a----        05/07/2021     17:24        1709384 SPVRemapper.lib
-a----        05/07/2021     17:41       10248404 VkLayer_utils.lib
-a----        05/07/2021     17:23          52366 vulkan-1.lib

I'm trying to build the crate but it keep failing, I installed Vulkan-SDK with chocolatey https://community.chocolatey.org/packages/vulkan-sdk

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

1 participant