Re: Can't find mysql.h
Re: Can't find mysql.h
- Subject: Re: Can't find mysql.h
- From: "Mohammad F. Haque" <email@hidden>
- Date: Tue, 26 Feb 2002 19:12:06 -0500
it works now, taking out -l from the build setting fixed the problem.
thanks
On Tuesday, February 26, 2002, at 03:11 AM, Sam Goldman wrote:
I don't think you want #import "mysql.h"
Instead, put:
#include <mysql.h>
Using quotes means it wants a file in the relative directory to your
current
file. The angle brackets mean somewhere in the build settings' search
path.
HTH,
- Sam
On 2/25/02 7:55 PM, "Mohammad F. Haque" <email@hidden> wrote:
I'm writing a cocoa program that uses the header file mysql.h
in the Building Setting->Search paths I have it as
-I/usr/local/include/mysql/ under Headers.
now when I #import "mysql.h" it gives me a "header file 'mysql.h' not
found" error BUT when i #import "/usr/local/include/mysql/mysql.h" it
works perfectly. any idea whats wrong.
++++++++++++++++++++++++++
+ Mohammad F. Haque +
+ Computer Science Major +
+ WebDesigner +
+ +
+ http://mo.haque.net +
++++++++++++++++++++++++++
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
--
Windows is a 32-bit patch to a 16-bit shell for an 8-bit operating
system
written for a 4-bit processor by a 2-bit company without 1 bit of sense.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.