accessing mysql from Cocoa <newbie>
accessing mysql from Cocoa <newbie>
- Subject: accessing mysql from Cocoa <newbie>
- From: Matthew White <email@hidden>
- Date: Sat, 02 Jun 2001 09:09:40 +0000
Hi,
I'm a newbie to Cocoa programming, having come from a 4D background with a
leetle bit of C.
I have been through many of the tutorials and written some little apps
myself to get a hang of PB/IB/ObjC etc.
Now its time to do 'Something Useful (tm)'.
I'm working on building a SQL browser type application for MySQL.
It seems to me that they best way of doing this is to use the MySQL c api
library and wrap it in an ObjC Class.
I may be naive but reading the documentation I have on MySQL it seems to me
that all I have to do is #include <mySQL.h> and I should be able to access
the various MySQL api functions (obviously I have this and related files on
my system after a successfull installation of MySQL).
So I add the MySQL.h file to my project and build. It runs for a while and
then stops with Build failed (see build log for details).
The last line of the build log is
...failed StandaloneExecutable.LinkUsingFileList
I'm continuing to tinker, but has anyone else tried to use the MySQL c api
from Cocoa or have any general pointers (keep the list to less than 50 items
:-) as to where I am going wrong?
Maybe if I can get this going it could be turned into a framework for the
coding pleasure of all and sundry.
Cheers,
Matthew
--
Matthew White
Systems Development Munger
ipoints.co.uk ltd
http://www.ipoints.co.uk