Closed MagicAndre1981 closed 1 year ago
compile fails with random errors like C1047
Have you read the build instructions? https://github.com/winsiderss/systeminformer/tree/master/build#readme
TL;DR - run build_thirdparty.cmd
I did this and it didn't work at time of filling the issue.
Now you added the -prerelease
parameter and compiling with VS 2022 Preview now works, the random.h
errors are also gone with the WDK 22621.382 and SDK 22621.755, it looks like the original 22621.1 SDK/WDK had several bugs.
Brief description of your issue
I can't compile the Release version when calling build_release.cmd
Steps to reproduce (optional)
clone repository and run build_release.cmd
Expected behavior (optional)
that I can compile the app as release
Actual behavior (optional)
compile fails with random errors like C1047 (phlib.lib was created with different version of compiler) or missing .h from WDK, compiling the debug version works fine
I also had to add
-prerelease
to vswhere commandline in several cmds otherwise nothing happensEnvironment (optional)