MySQL Forums
Forum List  »  Connector/C++

Re: connect() method crashes 1.0.4-beta
Posted by: Ulf Wendel
Date: April 14, 2009 01:55PM

Can you build the driver from source and check again?

C++ is not the most portable language when it comes to binaries... - see Paul's posting as an example. Or, see my NetBeans tutorial and the funny error messages you may get when mixing GCC 3.x and GCC 4.x binaries. Also, different STLs can cause troubles. You may be using Windows and the actual issue may be a little different, but its the same basic pattern.

The best we can do for the beginning is tell you what compilers and settings we use for building binaries. Due to a bug there has not been a README in the beta packages. The GA binary packages, however, will contain a README. At its end you will find the settings we used to build the binary. If your system is not an exact match for those settings - good luck.

In other words: please try to build the driver yourself. Its source code should be pretty portable. Unfortunately binary portability is partly beyond our control. At least for the 1.0 we cannot cover each and every compiler and configuration. We have to go for what we get out of the box on the 40+ build platforms we build on.

If you have suggestions how to improve the portability with reasonable efforts - highly welcome!

Thanks!
Ulf

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: connect() method crashes 1.0.4-beta
3109
April 14, 2009 01:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.