[英]MySQL Connector/C++ OS X 10.9 Mavericks and XCODE 5.0.2
I've upgraded to XCode 5.0.2 along with OS X 10.9 Mavericks and MYSQL 5.6.16 recently. 我最近升级到XCode 5.0.2以及OS X 10.9 Mavericks和MYSQL 5.6.16。 Has anyone had any luck getting the MySQL Connector/C++ to compile and work properly with this setup? 有没有人有幸运行MySQL Connector / C ++来编译并正常使用此设置?
I've been linking with the distributed MySQL Connector/C++ library under Snow Leopard with no problem for a few years now, but when I shifted to the above mentioned setup, I have no luck. 我已经连接了Snow Leopard下的分布式MySQL Connector / C ++库几年没有问题了,但是当我转向上面提到的设置时,我没有运气。
When I use the sql::Driver->connect I get EXC_BAD_ACCESS (code=EXC_I386_GPFLT) 当我使用sql :: Driver-> connect时,我得到EXC_BAD_ACCESS(代码= EXC_I386_GPFLT)
USING: 使用:
I saw the following post: MySQL Connector/C++ BAD ACCESS crash 我看到以下帖子: MySQL Connector / C ++ BAD ACCESS崩溃
So tried I downloading the MYSQL Connector/C++ source 1.1.3 and managed to get the 'static_test' subprogram to work, but the other tests fail with the same sql::Driver->connect returning NULL. 所以我尝试下载MYSQL Connector / C ++源1.1.3并设法使'static_test'子程序工作,但其他测试失败,同样的sql :: Driver-> connect返回NULL。
Anybody? 任何人?
OK resolved. 好的解决了。
The following post is the same problem: 以下帖子是同一个问题:
MySQL Connector/C++ BAD ACCESS crash MySQL Connector / C ++ BAD ACCESS崩溃
Just in case someone else has this situation: 以防其他人有这种情况:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.