MySQL Forums
Forum List  »  Connector/C++

Re: MySQL/C++ wrappers not working
Posted by: Andrey Hristov
Date: October 14, 2008 12:37AM

Hi,
I suppose you are trying to directly link to the Connector/C++. The preview version can't do it out of the box. This has been fixed in our internal development. Unfortunately, it was fixed after launchpad stopped mirroring, for unknown reason, the branch. You need to have mysql_driver.h and mysql_connection.h to be included by your application and mysql_connection.h should not
#include "mysql_private_iface.h"

but
struct st_mysql;
and search&replace the two instances of MYSQL in mysql_connection.h with struct st_mysql;

Hope this helps
Andrey

Options: ReplyQuote


Subject
Views
Written By
Posted
5519
October 12, 2008 01:39PM
3105
October 12, 2008 07:56PM
2882
October 13, 2008 04:17AM
2836
December 05, 2008 11:52AM
Re: MySQL/C++ wrappers not working
3208
October 14, 2008 12:37AM


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.