-
Notifications
You must be signed in to change notification settings - Fork 72
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
Can not build with Swift 5.9.1 #768
Comments
You are running in the wrong environment. As the instructions state, run from a VS developer cmd shell. /usr/bin/link would onky appear if you are using bash as the shell. |
Thanks, that worked. It is strange that cmake presets don't bootstrap the environment like it is possible with vscode in non cmake-preset cases, but this seems to be intentional from cmake. I missing the instructions because they are in the swift package manager section. Would you accept a PR where I would update the README in that regard for the cmake section? Just in case somebody else have the same issue. |
@tonka3000 Absolutely! |
@compnerd I add #769 with the update in the Readme One thing I hit with 5.9 when I used SPM to build. It always throw an error error: 'swift-win32': package '[email protected]' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 5.9' to specify the current tools version when I type I was only able to fix it by copy Maybe there are better ways to do that, but I was my first time playing with swift and the redirect package.swift files seems not to allow the declaration of another swift-tools-version. |
Hmm, I think that something weird is going on. SPM should be using The intent is to have a version for the older releases and have the latest release use This does sound like a separate issue, perhaps we should create a new issue to track and discuss it? |
See #771 |
Add more information about compiling with cmake as mentioned in [#768](#768 (comment)) Co-authored-by: Saleem Abdulrasool <[email protected]>
I tried to build the project with the 5.9.1 build from https://www.swift.org/download but I always get the same error with CoreAnimation.
Any idea what is wrong here? Static vs dynamic build?
The text was updated successfully, but these errors were encountered: