vapor-community / mysql-provider

MySQL provider for the Vapor web framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1.0 error

ah-kevin opened this issue · comments

commented

@ah-kevin how did you create the xcode project? If you have latest Vapor Toolbox >1.0, then vapor xcode will be enough. If you are doing it manually, the mysql headers will have to be linked.

image
user toolbox 1.0.1 mysql-provider 1.0
vapor xcode --mysql

@loganwright I am currently having the same issue as well. When I added this dependency into my Package file, my Xcode couldn't compile due to similar error.
.Package(url: "https://github.com/vapor/mysql-provider.git", majorVersion: 1, minor: 0)
I've tried vapor clean and vapor Xcode multiple times. I am also sure that MySQL server is currently in my local machine.

Make sure MySQL is installed on your machine by following the instructions at: https://github.com/vapor/mysql