LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.84k stars 342 forks source link

[RESOLVED] Compiling KoboldCpp at Windows, now successful #74

Closed gustrd closed 1 year ago

gustrd commented 1 year ago

Hello guys,

I was just able to compile the project succesfully at Windows using w64devkit version 1.18.0 .

The problem I had is that I was using the binaries directly at my PATH, and I needed to use the embedded terminal to compile the project. Both "make simple" and "make" worked at the first try.

Just registering it here to help anyone that is having the same issue.

@LostRuins , do you think that it would be good adding a Compiling at Windows session at the readme? I can do it if you agree.

Best regards and congratulations by the new features, it's getting great!

Ph0rk0z commented 1 year ago

I compiled using msys and it can't find the DLL even though they are built in the same folder.

LostRuins commented 1 year ago

Sure, if you like you can do a draft for windows build instructions next to OSX and linux section. I'll take a look tomorrow.

Midaychi commented 1 year ago

Lol. So you post this the day after I spend way too long trying to get it to compile and end up hacking something together with MSYS2.

gustrd commented 1 year ago

@Midaychi

I just created a PR with the detailed guide, please try and see if it works for you also.