• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Database Connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Database Connection


  • Subject: Re: Cocoa Database Connection
  • From: Jason Stephenson <email@hidden>
  • Date: Fri, 21 Mar 2008 20:34:47 -0400

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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >Cocoa Database Connection (From: Justin Giboney <email@hidden>)
 >Re: Cocoa Database Connection (From: Justin Giboney <email@hidden>)

  • Prev by Date: Re: dealloc methods not being called?
  • Next by Date: Re: How to set default value for NSTextField from program before window is displayed?
  • Previous by thread: Re: Cocoa Database Connection
  • Next by thread: Re: Cocoa Database Connection
  • Index(es):
    • Date
    • Thread