-
Notifications
You must be signed in to change notification settings - Fork 64
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
error: linking with link.exe
failed: exit code: 1120
#99
Comments
Hi @mildcwen, could you provide more details? Like the verbose output of failing to compile your project? |
@antiagainst thanks for reply. I'm studying for Vulkan and I want use vk-shader-macros , but couldn't compile. So i new project just use shaderc. and copy it's Example Only! and error message is too long ....
There are some similarities to Issues #80 but don't have tip information.. |
Hi @mildcwen, the error looks like something related to language/locale settings in Rust itself. See rust-lang/rust#35785. I'm using English as my primary language on Windows. It works fine for me to Besides, you can try to use v0.7.0, which can detect Vulkan SDK and use the shaderc libraries there directly (if you have |
@antiagainst first, I've installed Vulkan SDK, and get the same error as before.
The next I uninstall [Visual C++ 2015, 2013, VS2015 X64 Native Tools Command(VC++ Build Tools)],just stay 2017 (it's only English )on PC.
I look the message found still use SHADERC_LIB_DIR, then delete it and restart PC, and compile ,all Fine. |
@antiagainst , Thank you very much. I've solved this trouble...ha-ha. please close this issue. |
@antiagainst |
The Vulkan Configurator GUI is something new that I haven't tried out. I typically use CLI environment variables to force layers on. I think you can use |
There's no need to reply. Thank you very much for your help! |
I could build shaderc-rs,
Compiling cc v1.0.66
Compiling libc v0.2.82
Compiling cmake v0.1.45
Compiling shaderc-sys v0.7.0 (D:\Code\rust\shaderc-rs\shaderc-sys)
warning: shaderc: searching native shaderc libraries in 'D:\Code\build\libshaderc\Release'
warning: shaderc: Windows MSVC static build is experimental
but could not complie Project.
What's this error?
The text was updated successfully, but these errors were encountered: