Re: Libpq linker error

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Libpq linker error
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B1E6@algol.sollentuna.se
обсуждение исходный текст
Ответ на Libpq linker error  (Daniel Gerardo Lucero Baylon <daniel_baylon@yahoo.com>)
Список pgsql-interfaces
> I noticed that when compile a C program that uses libpq
> static library, linker need  following libraries:
>
> libpq.lib
> msvcrt.lib
> advapi32.lib
> wsock32.lib
> kernel32.lib
> user32.lib
> gdi32.lib
> winspool.lib
> uuid.lib
>
> If somebody gets same problem, maybe this could be helpful.

These are all the standard libraries used by almost all windows
programs. The only "non windows" library is msvcrt which is the MS
Visual C runtime, used by all programs made with MSVC.

Just link with them, and your program should work fine, no? What
specifically is your problem?


//Magnus


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Daniel Gerardo Lucero Baylon
Дата:
Сообщение: Re: Libpq linker error
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: Problem when I'm using libpq PQconnectdb function