pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedBuild the PostgreSQL ODBC Driver on Windows
2+ messages / 2 participants
[nested] [flat]
* Build the PostgreSQL ODBC Driver on Windows
@ 2017-07-03 07:21 sunbiao@highgo.com <sunbiao@highgo.com>
2017-07-03 22:21 ` Re: Build the PostgreSQL ODBC Driver on Windows Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
0 siblings, 1 reply; 2+ messages in thread
From: sunbiao@highgo.com @ 2017-07-03 07:21 UTC (permalink / raw)
To: pgsql-odbc
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.
1.Use NMAKE.exe to build the driver.
The following error:
Building the PostgreSQL ANSI 3.0 Driver for ...
Using PostgreSQL Include directory: C:\Program Files (x86)\PostgreSQL\9.5\include
Using PostgreSQL Library directory: C:\Program Files (x86)\PostgreSQL\9.5\lib
cd installer && "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f installer.mak CFG=Release
Microsoft (R) 程序维护实用工具 10.00.30319.01 版
版权所有(C) Microsoft Corporation。保留所有权利。
determining product code
Driver version is not listed in productcodes.mak
installer.mak(24) : fatal error U1035: Syntax Error: should input“:”or“=”
Stop.
NMAKE : fatal error U1077: “cd”: return code“0x2”
Stop.
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
I can not solve these errors.Can I get some help?
――――――――――――――――――――
孙彪 研发部
瀚高基础软件股份有限公司
网址:www.highgo.com
地址:济南市高新区济南市高新区新泺大街2117号铭盛大厦20层
电话:400-708-8006 传真:0531-88235883
手机:150-9584-0515 邮箱: sunbiao@highgo.com
Attachments:
3476_image002(06-27-08-47-56).jpg (image/jpeg, 3.4K) download
view image
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Build the PostgreSQL ODBC Driver on Windows
2017-07-03 07:21 Build the PostgreSQL ODBC Driver on Windows sunbiao@highgo.com <sunbiao@highgo.com>
@ 2017-07-03 22:21 ` Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
0 siblings, 0 replies; 2+ messages in thread
From: Inoue, Hiroshi @ 2017-07-03 22:21 UTC (permalink / raw)
To: sunbiao@highgo.com <sunbiao@highgo.com>; pgsql-odbc
Hi,
On 2017/07/03 16:21, sunbiao@highgo.com wrote:
>
> 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-07-03 22:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-07-03 07:21 Build the PostgreSQL ODBC Driver on Windows sunbiao@highgo.com <sunbiao@highgo.com>
2017-07-03 22:21 ` Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox