-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Help Request] How to build with VS2022 Build Tools only and what is the minimum required components for the project to successfully compile? #30
Comments
It may be a problem with the vcpkg installation, check For example, does the file gmp.h exist in the following path?
|
Doesn't have the suffix
lib folder does not exist in Is static necessary? Should I reinstall vcpkg or will the proj. be updated to handle such case? |
I see line 21 of the log,
The log shows that the project uses the Static is not required, but the project is configured to use dynamic libraries correctly. That could be the problem, try that first. Then you should also make sure Make sure the |
Thank you. I used One more thing, could you please outline the bare minimum components of the VS 2022 Build Tools required for this project to compile successfully? I downloaded over 2.3 GB solely for compiling. I'd prefer to have only what's necessary since it will be compiled on systems w/ limited space and/or poor connection. |
Here's a copy of the Visual Studio Build Tools component catalogue, which, in addition to the necessary tools, requires
Reference |
OS: Windows 11 Pro
I cobbled up a batch script that generates the key automatically last year and it still works as of today, however, with the xz utils incident several months ago, I wanna be on the safe side and have the script eventually be able to build the KG from source automatically without installing the entire Visual Studio. I'm no developer, just casually learning how to write batch script; it's a bit of a struggle for me to figure it out.
Downloaded source zip and extracted to C:
Downloaded hMSBuild.bat and moved it to
C:\Windows
Installed VS2022 Build Tools along + some per this issue for it to stop throwing an error "vcpkg install error:in triplet x64-windows: Unable to find a valid Visual Studio instance Could not locate a complete Visual Studio instance"
Rebooted
Installed git
Installed vcpkg
Build fails. See log below. What am I doing wrong? How can I simplify the process and ensure that only the necessary stuff are installed?
The text was updated successfully, but these errors were encountered: