Re: Problem linking to libpq.lib on Windows

Поиск
Список
Период
Сортировка
От Dmitry Igrishin
Тема Re: Problem linking to libpq.lib on Windows
Дата
Msg-id CAAfz9KO9C_8bpaEcz2PrPHcqEvyh8otJBWQ9K2WBB0kTDxny_w@mail.gmail.com
обсуждение исходный текст
Ответ на Problem linking to libpq.lib on Windows  (Roberto de Figueiredo Ribeiro <roberto.f.ribeiro@dnit.gov.br>)
Ответы RES: Problem linking to libpq.lib on Windows  (Roberto de Figueiredo Ribeiro <roberto.f.ribeiro@dnit.gov.br>)
Список pgsql-general
чт, 14 февр. 2019 г. в 12:54, Roberto de Figueiredo Ribeiro
<roberto.f.ribeiro@dnit.gov.br>:
>
> Hi list,
>
>
>
> I’m building a platform on C++ that uses parts of the libpq-fe.h in it. I had been previously compiling it in linux,
andall was fine. Switched to windows, now during linking it accuses an error, unable to find an object file. 
>
>
>
> This is the line I’m compiling with:
>
>
>
> >: cl /I path\to\include main.cpp /link /libpath path\to\lib –opt:ref libpq.lib
Try this (not the colons):
cl /I "path\to\include" main.cpp /link /libpath:"path\to\lib" /opt:ref libpq.lib


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

Предыдущее
От: suganthi Sekar
Дата:
Сообщение: logical replication
Следующее
От: Roberto de Figueiredo Ribeiro
Дата:
Сообщение: RES: Problem linking to libpq.lib on Windows