-
Notifications
You must be signed in to change notification settings - Fork 12
Swift build failed #16
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
Comments
@mengxiangyue if you're using Vapor's toolbox, just |
@loganwright ths
but now the path is
I resolved this problem with this commond in include dir
But when i use vapor build still faiure:
I'm Chineses, not good at English. Ths! |
I meet this problem,too. How can I deal with it? |
Same here. I am starting to learn Vapor with your videos but I can't use MySQL |
I have fix this bug ,I use brew to install mysql , maybe while you install mysql with *.dmg file which may be not support x86 structure!!
|
It works! Thank you very much. |
I have use @helinyu 's method to solve this problem .Because I have already installed "MySQL.dmg",i just give terminate a cmd below : And then rebuild again ,no error appear! |
For anyone running into this issue on Linux make sure you have 'libmysqlclient-dev' installed. For ubuntu:
|
MacOS Sierra 10.12.1
|
on Mac OS Sierra 10.12.2; I am having the same issue as above. |
I had the same issue with the posgresql connector. My solution is posted here: http://stackoverflow.com/questions/42171919/swift-vapor-postgres-xcode-build-error-could-not-build-objective-c-module-cpos/42171920#42171920 |
If anybody still encounters this, try
I had this issue on OS X 10.12.4 with MySQL 5.7.18 from Homebrew and the latest Vapor Toolbox.
This fixed it for me. |
@MoridinBG /Users/huanao/Desktop/swift-server/Test/Vapor_Test0/.build/checkouts/cmysql.git-3946220544950307782/shim.h:4:10: 'mysql/mysql.h' file not found |
The cmysql homebrew package needs an update that hasn't been released yet. Until that moment, you have to:
Your project should build again. |
@vzsg |
You should now be able to run |
I'm getting this error:
Here is my
Vapor:
Swift 4 (same error with Swift 3.1):
I've tried updating all brew packages but error persists when running Error also appears when running
However this works:
|
I use this in Package.json
but i get a failure:
And i already install mysql on my computer.
How do i fix this? ths
The text was updated successfully, but these errors were encountered: