Re: [ODBC] Build the PostgreSQL ODBC Driver on Windows

Поиск
Список
Период
Сортировка
От Inoue, Hiroshi
Тема Re: [ODBC] Build the PostgreSQL ODBC Driver on Windows
Дата
Msg-id f1c0eae6-f87b-10fc-7599-48f68c84d865@dream.email.ne.jp
обсуждение исходный текст
Ответ на [ODBC] Build the PostgreSQL ODBC Driver on Windows  ("sunbiao@highgo.com" <sunbiao@highgo.com>)
Список pgsql-odbc
Hi,

On 2017/07/03 16:21, sunbiao@highgo.com wrote:
body { line-height: 1.5; }p { margin-top: 0px; margin-bottom: 0px; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }

hi developer:

I build the PostgreSQL ODBC Driver on Windows10 X64,but have some trouble.

I download psqlodbc-09.05.0400 to build it with Microsoft Visual Studio 2010.

I use following two methods to build.


 

2.Use Powershell

The following error:

PS C:\Users\Sun\Desktop\ODBC\psqlodbc-09.05.0400\installer> .\buildInstallers.ps1

Dumpbin=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\dumpbin.exe

CPUTYPE    : x86

VERSION    : 09.05.0400

LIBPQBINDIR: C:\Program Files (x86)\PostgreSQL\9.5\bin

Failed to dumpbin C:\Program Files (x86)\PostgreSQL\9.5\bin\libpq.dll

location C:\Users\Sun\Desktop\ODBC\psqlodbc-09.05.0400\installer\buildInstallers.ps1:93 character: 3

+         throw "Failed to dumpbin $dllfolder\$dllname"

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : OperationStopped: (Failed to dumpb...5\bin\libpq.dll:String) [],RuntimeException

+ FullyQualifiedErrorId : Failed to dumpbin C:\Program Files(x86)\PostgreSQL\9.5\bin\libpq.dll


Hmm Powershell seems to load dumpbin using VC10.
Please try VC10 command prompt not a simple command prompt.

regards,
Hiroshi Inoue

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: [ODBC] Config documentation about PROTOCOL=
Следующее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: [ODBC] Materialized views trough ODBC