Re: MySQL/C++ wrappers not working
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
Subject
Views
Written By
Posted
5569
October 12, 2008 01:39PM
3131
October 12, 2008 07:56PM
2931
October 13, 2008 04:17AM
2862
December 05, 2008 11:52AM
Re: MySQL/C++ wrappers not working
3229
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.