-
Notifications
You must be signed in to change notification settings - Fork 59
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
现在的Perfect-MySQL好像不兼容最新的swift #35
Comments
你好,你解决了吗? 刚看到有人说需要安装5.7.21版本的 mysql, 不知道是不是这样原因。? |
解决了,pull request中有写 |
你好 我按照 pull request 里的修改了 但是 my_bool类型报错还是有啊 |
typealias my_bool = CChar 加上这句! |
现在已经解决,我把我解决的方法公布出来吧,方便大家解决。 |
具体应该怎么做?我尝试了还是不行。是在module.map文件加上那一句之后,然后根据错误提示到每个文件里做修改? |
是,我就是那么处理的,如果你那样不行,看看你是否还有其他问题 |
有一个警告:warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed 还有 /Users/admin/Desktop/workflow/Test/PerfectTemplate/.build/checkouts/Perfect-MySQL.git--3177730509280018944/Sources/PerfectMySQL/MySQL.swift:175:11: error: use of unresolved identifier 'MYSQL_OPT_USE_REMOTE_CONNECTION' |
你这是部署在Ubuntu上吧? |
没有,就是mac上本地服务 |
问题解决了吗 |
我也遇到了 failed to retrieve search paths with pkg-config; maybe pkg-config is not installed |
Perfect-MySQL中的my_bool类型报错,还有MySQL.Swift中的exposedOptionToMySQLOption方法报错
The text was updated successfully, but these errors were encountered: