Unable to build from source

  • Posts: 3
9 months 2 weeks ago #1 by forgath
Hello,

I cloned the repository on my PC and opened the project with Visual Studio 2019.
When I try to build the Solution, it stops at ReShade with this error
Error	MSB3073	The command "tools\verbuild res\version.h *.*.*.+ -xFP -b0.0.0.0 -s
:VCEnd" exited with code -1073741515.	ReShade	C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets	128	

I can't seem to find what the problem exactly is, any help is appreciated, thanks :)

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

  • Posts: 3667
9 months 1 week ago #2 by crosire
Try and create an empty text file called "version.h" in the "res" folder and rebuild.

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

  • Posts: 3
9 months 1 week ago #3 by forgath
Hey, thanks for the reply!
Sadly, it didn't work. I get the same error plus some more errors of undeclaration.
I tried declaring some constant inside version.h and they go away, but the error regarding version.h is always there, without a file, with an empty file or with a file with some lines.
Maybe it's something missing in the environment, but i don't understand what.

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

  • Posts: 3667
9 months 1 week ago #4 by crosire
Exit code -1073741515 is error code 0xc0000135, which means a dependency is missing. You are likely missing the Visual C++ 2012 redistributable.

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

  • Posts: 3
9 months 1 week ago #5 by forgath
You were right, I had the 64bit redistributable but not the 32bit ones installed.
Now it works like a charm.
Thank you very much!

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

  • Posts: 1
9 months 1 week ago #6 by tomw
Checking your redistributable and make sure you install the 32 bit.
clicker heroes

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