LostRuins / koboldcpp

A simple one-file way to run various GGML and GGUF models with KoboldAI's UI
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.35k stars 312 forks source link

Resolve compilation error of sdtype_adapter.cpp on macOS #847

Closed beebopkim closed 1 month ago

beebopkim commented 1 month ago

Resolves following compilation error:

otherarch/sdcpp/sdtype_adapter.cpp:163:40: error: cannot pass non-trivial object of type 'std::string' (aka 'basic_string<char>') to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
        printf("With TAE SD VAE: %s\n",taesdpath);
                                 ~~    ^~~~~~~~~