-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Vapor build error with toolbox 2 and vapor 1.* project #162
Comments
I don't think Vapor 1.x is compatible with Toolbox 2.x... I could be wrong, but does going back to Toolbox 1.x fix your problem? If that doesn't help, please take a look at this issue. |
That will work but it's a known bug |
Please use this for the time being (thanks @mludi): swift build -Xswiftc -I/usr/local/include/mysql -Xlinker -L/usr/local/lib We're working on a solution for the next update. |
Closing this since we are about to tag Toolbox 2.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, on a Vapor 1 project is a build error with toolbox 2 beta.
On my machine I'm running
Vapor Toolbox: 2.0.0-beta.2
Vapor Framework: 1.5.15
So with
vapor build -Xswiftc -I/usr/local/bin/mysql -Xlinker -L/usr/local/bin/mysql
or
vapor build -Xswiftc -I/usr/local/include/mysql -Xlinker -L/usr/local/bin
I got the error
For a temporary fix the SPM helps
swift build -Xswiftc -I/usr/local/include/mysql -Xlinker -L/usr/local/lib
The text was updated successfully, but these errors were encountered: