-
Notifications
You must be signed in to change notification settings - Fork 894
add easy Windows install instructions to the readme #26
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
Conversation
Also fix a typo of LLaMA's casing in the chat.cpp file, and add cmake's generated files to the gitignore
Thanks a lot for the instructions, they help a lot! However I get an error when building with cmake (
I'm guessing it might be the compiler that I have that isn't right? I'm using MSVC 2019. Thanks! |
Yeah, you look to be an older version of Windows, with an older copy of MSBuild. For comparison I'm on Windows 11 22H2,
|
Windows 10 here, followed directions in your Readme and got up to this: " 'nmake' '-?' failed with: The system cannot find the file specified CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage |
@mcmonkey4eva Thanks, I'll try with MSBuild 18 to see if it will work. |
@patricktlo Insalled Visual Studio Community 2022 with MSVC v143 and restarted. Producing same error in my previous post. |
@creo13 I'm not sure how to fix that, if that helps that's what I have on my vs setup: I got it working now with Windows 10 SDK 10.0.19041.0, thanks @mcmonkey4eva ! |
how are you telling the cmake to use the Windows 10 SDK? Thanks! It won't compile, can't find the standard header files if Windows 11 SDK is missing. I'm running Windows 10. MSVC 2022. I'm getting the std::vector() assert pop up after enter is pressed after the 2nd query prompt in Alpaca. |
@Castaa I didn't, it did automatically. I got the appropriate SDK for my windows version (which was off at first) and it worked well. What build are you on? (first line of |
D:\alpaca.cpp>cmake . |
This adds extremely simple user-friendly install instructions for Windows users, to hopefully make it much easier for the average (non-technical) user to give Alpaca.cpp a try.
I tested these install instructions myself, and had another user try them as well, we both got it running with no issue based on this.
This PR also adds to the
.gitignore
all files that Windows CMake tends to generate.In this PR I also fixed a tiny typo I noticed, it should be
LLaMA
notLLaMa
(the caps).You can view the formatted markdown @ https://github.com/mcmonkey4eva/alpaca.cpp/blob/master/README.md if you'd like to double-check it.