Re: Compiling with libpq - Mailing list pgsql-odbc

From Dave Page
Subject Re: Compiling with libpq
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC2F9C@ratbert.vale-housing.co.uk
Whole thread Raw
Responses cursor control
List pgsql-odbc

> -----Original Message-----
> From: Johann Zuschlag [mailto:zuschlag2@online.de]
> Sent: 28 September 2005 11:25
> To: Dave Page
> Subject: Compiling with libpq
>
> Hi Dave,
>
> I'm just trying to compile the driver with VC6 since the
> latest version
> isn't available. Somehow I don't know what to do with
> libpq-fe.h. I just
> included it in the project. But the compiler can't find it.
> Unfortunatly
> I have only a very limited knowledge compiling C projects.

Hi Johann,

Please use the list - that way others can benefit as well.

If you install PostgreSQL 8.0.3 into the default location with all the
developer options selected you should get all headers and libraries
installed into the right place for the VC++ makefile to find them.

Alternatively, you can specify PG_INC and PG_LIB on the command line:

NMAKE /f win32.mak [CFG=[Release | Debug]]
                   [ENCODING=[ANSI | UNICODE]]
                   [PG_INC=<PG include folder> PG_LIB=<PG lib folder>]
                   [ALL | CLEAN]

Regards, Dave.

pgsql-odbc by date:

Previous
From: "Dave Page"
Date:
Subject: Re: PostgreSQL / ODBC / Ms-SQL 2000
Next
From: Håkon Clausen
Date:
Subject: Re: ODBC driver types