[SOLVED] ReShade won't build in VS, "cmd.exe" error 9009

  • Posts: 2
7 months 2 weeks ago #1 by Zumokufu
The Building section on the github page is pretty vague..... I installed VS2019 Community edition, with the correct SDK and build tools, Git for Windows for cloning the repo and all submodules and Python 3.8.0. There is no guide anywhere on how to build. I'm on a fully updated Windows 8.1 system. Anyone care to help?

error log:
Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB6006	"cmd.exe" exited with code 9009.	ReShade	F:\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v150\Microsoft.CppCommon.targets	209	

output log:
1>------ Build started: Project: ReShade FX, Configuration: Release x64 ------
2>------ Build started: Project: gl3w, Configuration: Release x64 ------
3>------ Build started: Project: ImGui, Configuration: Release x64 ------
4>------ Build started: Project: MinHook, Configuration: Release x64 ------
5>------ Build started: Project: stb, Configuration: Release x64 ------
6>------ Skipped Build: Project: ReShade Setup, Configuration: Release Any CPU ------
6>Project not selected to build for this solution configuration 
7>------ Skipped Build: Project: Injector, Configuration: Release x64 ------
7>Project not selected to build for this solution configuration 
1>effect_codegen_glsl.cpp
2>gl3w.c
3>imgui.cpp
4>buffer.c
5>stb_impl.c
4>hde32.c
4>hde64.c
3>imgui_draw.cpp
2>gl3w.vcxproj -> F:\reshade\bin\x64\Release\gl3w.lib
4>hook.c
3>imgui_widgets.cpp
4>trampoline.c
3>Generating Code...
1>effect_codegen_hlsl.cpp
5>stb.vcxproj -> F:\reshade\bin\x64\Release\stb.lib
4>Generating Code...
4>MinHook.vcxproj -> F:\reshade\bin\x64\Release\MinHook.lib
1>effect_codegen_spirv.cpp
1>effect_expression.cpp
1>effect_lexer.cpp
3>ImGui.vcxproj -> F:\reshade\bin\x64\Release\ImGui.lib
1>effect_parser.cpp
1>effect_preprocessor.cpp
1>effect_symbol_table.cpp
1>ReShadeFX.vcxproj -> F:\reshade\bin\x64\Release\ReShadeFX64.lib
8>------ Build started: Project: ReShade, Configuration: Release App x64 ------
9>------ Skipped Build: Project: FXC, Configuration: Release x64 ------
9>Project not selected to build for this solution configuration 
8>Performing Custom Build Tools
8>'glslangValidator.exe' is not recognized as an internal or external command,
8>operable program or batch file.
8>Performing Custom Build Tools
8>'glslangValidator.exe' is not recognized as an internal or external command,
8>operable program or batch file.
8>F:\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v150\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code 9009.
8>Done building project "ReShade.vcxproj" -- FAILED.
========== Build: 5 succeeded, 1 failed, 0 up-to-date, 3 skipped ==========

Please Log in or Create an account to join the conversation.

  • Posts: 3747
7 months 2 weeks ago #2 by crosire
You need to install the Vulkan SDK as well (to compile the internal GLSL shaders): vulkan.lunarg.com/sdk/home#windows

Please Log in or Create an account to join the conversation.

  • Posts: 2
7 months 2 weeks ago - 7 months 2 weeks ago #3 by Zumokufu
Well poo, it says Vulkan SDK is optional if building for Vulkan so I didn't install it lol! Ty for sharing the link.

Please Log in or Create an account to join the conversation.