Closed bdashore3 closed 1 month ago
Nevermind, it looks like I was able to fix it by finding some other examples. Specifically https://github.com/bazelbuild/rules_swift/pull/831
Made a PR in #8742
In addition, C++ 14 and higher is required for windows as older versions don't support some features that are include in llama.cpp's codebase.
This issue was closed because it has been inactive for 14 days since being marked as stale.
What happened?
I'm trying to build the Swift package of llama.cpp on Windows using Swift 5.10. However, the build fails with errors stating that some return types are part of a C++ 14 extension. I decided to switch the cxx standard in Package.swift to C++ 14, which yielded a different set of errors in the logs field.
I expected the build to succeed with no issues so I can continue building my application.
I'm not too familiar with C++ build tooling, so I'd appreciate the help and would be happy to provide more verbose logs if needed.
System info:
Name and Version
Commit 4730fac
What operating system are you seeing the problem on?
Windows
Relevant log output