Justin Giboney wrote:
So, libpq sounds like a well supported way to go, but when I import "libpq-fe.h" into my project I get an error that says "postgres_ext.h: No such file or directory", along with 30 more errors which I assume are related to the lack of this file. I searched my computer for it and I can't find it.


How did you install PostgresQL on your system? I've install mysql-client via Mac Ports and have no trouble connecting to MySQL servers via C or Objective-C with the proper compiler options.

Chances are, you simply need to specify the right paths with -I and -L to tell gcc and ld where to find the PostgresQL headers and libraries.




Is there something that I should have installed besides PostgreSQL 8.3.0? I have seen something about doxygen, but I don't know what that is. Do I need it?


doxygen is a documentation generator. It generates document files from specially formatted comments in your code, similar to Autodoc, Autoheader, and Javadoc. You don't need it to build PostgreSQL apps.

BTW, thanks for mentioning the PostgresQL Cocoa project on Source Forge. I was thinking of starting something similar on my own, since about all the programming I do is for databases.

HtH,
Jason
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to