FROM : Jason Stephenson
DATE : Sat Mar 22 01:34:47 2008
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
DATE : Sat Mar 22 01:34:47 2008
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
| Related mails | Author | Date |
|---|---|---|
| Justin Giboney | Mar 21, 23:33 | |
| Justin Giboney | Mar 22, 00:50 | |
| Jason Stephenson | Mar 22, 01:34 | |
| Jeff LaMarche | Mar 22, 01:37 | |
| Western Botanicals | Mar 24, 20:21 | |
| Jeff LaMarche | Mar 24, 20:54 | |
| Justin Giboney | Mar 24, 22:06 | |
| Jens Alfke | Mar 25, 04:25 | |
| Andrew Satori | Mar 26, 21:12 |






Cocoa mail archive

