Re: Compiling with libpq

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Compiling with libpq
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC2F9C@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответы cursor control  (Johann Zuschlag <zuschlag2@online.de>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: PostgreSQL / ODBC / Ms-SQL 2000
Следующее
От: Håkon Clausen
Дата:
Сообщение: Re: ODBC driver types