| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Dave Cramer <davecramer(at)gmail(dot)com> |
| Cc: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org> |
| Subject: | Re: How can I run installcheck using powershell ? |
| Date: | 2016-07-20 01:24:57 |
| Message-ID: | 23366.1468977897@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-odbc |
Dave Cramer <davecramer(at)gmail(dot)com> writes:
> Here is the complete link error
> link.exe @C:\Users\DAVECR~1\AppData\Local\Temp\nm45D.tmp
> Creating library .\_Unicode_Release\psqlodbc35w.lib and object
> .\_Unicode_Release\psqlodbc35w.exp
> odbccp32.lib(dllload.obj) : error LNK2019: unresolved external symbol
> __vsnwprintf_s referenced in function _StringCchPrintfW
> .\_Unicode_Release\psqlodbc35w.dll : fatal error LNK1120: 1 unresolved
> externals
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\BIN\link.exe"' : return code '0x460'
Googling for __vsnwprintf_s indicates that it was turned into an inline
function in VS2015:
https://connect.microsoft.com/VisualStudio/feedback/details/1134693/vs-2015-ctp-5-c-vsnwprintf-s-and-other-functions-are-not-exported-in-appcrt140-dll-breaking-linkage-of-static-libraries
They seem to be asserting that you wouldn't be seeing this problem if
all program components were built with the same VS version.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2016-07-20 01:28:46 | Re: How can I run installcheck using powershell ? |
| Previous Message | Michael Paquier | 2016-07-20 01:20:59 | Re: How can I run installcheck using powershell ? |