Reshade build error

  • Alfredo
  • Topic Author
More
1 year 9 months ago #1 by Alfredo Reshade build error was created by Alfredo
I try to build  github.com/crosire/reshade/tree/39ddcafe...b181453fb20045609f50 in visual studio 2022 and get this error 
Severity Code Description Project File Line Suppression State
Error MSB3073 The command "python gl3w_gen.py" exited with code 9009. C:\Users\New folder\deps\gl3w.vcxproj C:\Users\New folder\deps\gl3w.vcxproj 104

Anyone know how to fix this?

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

  • crosire
More
1 year 9 months ago #2 by crosire Replied by crosire on topic Reshade build error
You need to install Python (and have it in PATH) to be able to build (as the readme points out: github.com/crosire/reshade#readme ).

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

  • Alfredo
  • Topic Author
More
1 year 9 months ago #3 by Alfredo Replied by Alfredo on topic Reshade build error
I installed Visual Studio 2022 and Pyton 3.10. Put in the path like this www.javatpoint.com/how-to-set-python-path .
Open Reshade files, started Reshade.sln, started building 32 version and get this error:
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'stb_image.h': No such file or directory stb C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\stb_impl.c 6
Error C1083 Cannot open source file: 'minhook\src\buffer.c': No such file or directory MinHook C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1 1
Error C1083 Cannot open source file: 'minhook\src\HDE\hde32.c': No such file or directory MinHook C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1 1
Error C1083 Cannot open source file: 'minhook\src\HDE\hde64.c': No such file or directory MinHook C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1 1
Error C1083 Cannot open source file: 'minhook\src\hook.c': No such file or directory MinHook C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1 1
Error C1083 Cannot open source file: 'minhook\src\trampoline.c': No such file or directory MinHook C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1 1
Error C1083 Cannot open source file: 'imgui\imgui.cpp': No such file or directory ImGui C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1xx 1
Error C1083 Cannot open source file: 'imgui\imgui_draw.cpp': No such file or directory ImGui C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1xx 1
Error C1083 Cannot open source file: 'imgui\imgui_tables.cpp': No such file or directory ImGui C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1xx 1
Error C1083 Cannot open source file: 'imgui\imgui_widgets.cpp': No such file or directory ImGui C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1xx 1
Error MSB3073 The command "python gl3w_gen.py" exited with code 9009. gl3w C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\gl3w.vcxproj 104
Error C1083 Cannot open source file: 'fpng\src\fpng.cpp': No such file or directory fpng C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\deps\c1xx 1
Error C1083 Cannot open include file: 'spirv.hpp': No such file or directory ReShade FX C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\source\effect_codegen_spirv.cpp 14
Error C1083 Cannot open include file: 'imgui.h': No such file or directory ReShade C:\Users\r\Desktop\reshade-39ddcafef5805e32e87fb181453fb20045609f50\examples\07-generic_depth\generic_depth.cpp 8

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

  • crosire
More
1 year 9 months ago #4 by crosire Replied by crosire on topic Reshade build error
You also need to clone the ReShade Git Repository *including submodules* (as the readme also points out). Otherwise none of the dependencies will be there.
It looks like you downloaded the source code as a Zip from GitHub, which won't work. Need to use Git.

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

  • Alfredo
  • Topic Author
More
1 year 9 months ago - 1 year 9 months ago #5 by Alfredo Replied by Alfredo on topic Reshade build error
I cloned the subdirectoried ibb.co/cTN6wMT
When I try to build 32 version this error happens
Severity Code Description Project File Line Suppression State
Error MSB3073 The command "python gl3w_gen.py" exited with code 9009. gl3w C:\Users\r\Desktop\PortableGit\reshade\deps\gl3w.vcxproj 104
Error C1083 Cannot open include file: 'GL/gl3w.h': No such file or directory ReShade C:\Users\r\Desktop\PortableGit\reshade\source\dll_main_test_app.cpp 17
Can You build the solution to see if everything is ok?
Last edit: 1 year 9 months ago by Alfredo.

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

  • crosire
More
1 year 9 months ago - 1 year 9 months ago #6 by crosire Replied by crosire on topic Reshade build error
It builds, yes. The error indicates that Python is not in PATH. So either have to add it there, or alternatively edit deps\gl3w.vcxproj with a text editor and change "<Exec Command="python gl3w_gen.py" WorkingDirectory="gl3w\" />" at the bottom to your python path, e.g. "<Exec Command="&quot;C:\Program Files\Python\Python37\python.exe&quot; gl3w_gen.py" WorkingDirectory="gl3w\" />"
Last edit: 1 year 9 months ago by crosire.

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

  • Alfredo
  • Topic Author
More
1 year 9 months ago - 1 year 9 months ago #7 by Alfredo Replied by Alfredo on topic Reshade build error
Ok, thanks. It works but shaders won't compile because version of reshade is 0.0.0.0. unregistered. How to change to 5.2.2?
When I try to build new version step by step, I get this error on last step build release setup:
Severity    Code    Description    Project    File    Line    Suppression State
Error        The command "C:\Users\r\Desktop\New folder (2)\reshade\tools\7za.exe a -y "C:\Users\r\Desktop\New folder (2)\reshade\bin\AnyCPU\Release\ReShade Setup.exe.zip" "ReShade32.json" "ReShade64.json" "C:\Users\r\Desktop\New folder (2)\reshade\bin\Win32\Release\ReShade32.dll" "C:\Users\r\Desktop\New folder (2)\reshade\bin\x64\Release\ReShade64.dll"" exited with code 9009.    ReShade Setup    C:\Users\r\Desktop\New folder (2)\reshade\setup\ReShade Setup.csproj    172    
or this whatever I select 32 or 64 build
Build started...
1>
Skipped Build: Project: Injector, Configuration: Debug Win32
1>Project not selected to build for this solution configuration 
2>
Skipped Build: Project: stb, Configuration: Debug Win32
2>Project not selected to build for this solution configuration 
3>
Skipped Build: Project: MinHook, Configuration: Debug Win32
3>Project not selected to build for this solution configuration 
4>
Skipped Build: Project: ImGui, Configuration: Debug Win32
4>Project not selected to build for this solution configuration 
5>
Skipped Build: Project: gl3w, Configuration: Debug Win32
5>Project not selected to build for this solution configuration 
6>
Skipped Build: Project: fpng, Configuration: Debug Win32
6>Project not selected to build for this solution configuration 
7>
Skipped Build: Project: ReShade FX, Configuration: Debug Win32
7>Project not selected to build for this solution configuration 
8>
Skipped Build: Project: FXC, Configuration: Debug Win32
8>Project not selected to build for this solution configuration 
9>
Skipped Build: Project: ReShade, Configuration: Debug Win32
9>Project not selected to build for this solution configuration 
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 9 skipped ==========
 
Last edit: 1 year 9 months ago by Alfredo.

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

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.