Re: C/C++ API w/o installing mysql
Posted by: Bruce Martin
Date: October 22, 2005 02:41PM

Well, I was able to compile a bundle using the MySQL C APIs in xCode. I just can't get it to compile so my user doesn't need to install any Libs on their machine. In other words I want them to be included in this bundle. If anyone knows how to do this please let me know.

The key in xCode is to drop the libmysqlclient.a file into the resources of xCode interface, next to your main.c file in the listing. Also include the mysql.h file. Once that is done it is a matter of converting from CFStringRef to a C String.

Options: ReplyQuote


Subject
Views
Written By
Posted
768
July 15, 2005 10:39AM
358
August 24, 2005 04:17PM
Re: C/C++ API w/o installing mysql
433
October 22, 2005 02:41PM


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.