Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPgG5-0006Oj-Bg for pgsql-odbc@arkaria.postgresql.org; Wed, 20 Jul 2016 01:25:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bPgG4-0001Gb-QB for pgsql-odbc@arkaria.postgresql.org; Wed, 20 Jul 2016 01:25:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bPgG4-0001GR-Du for pgsql-odbc@postgresql.org; Wed, 20 Jul 2016 01:25:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bPgFw-00019n-Q0 for pgsql-odbc@postgresql.org; Wed, 20 Jul 2016 01:25:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u6K1Ovu9023368; Tue, 19 Jul 2016 21:24:57 -0400 From: Tom Lane To: Dave Cramer cc: Michael Paquier , "pgsql-odbc@postgresql.org" Subject: Re: How can I run installcheck using powershell ? In-reply-to: References: Comments: In-reply-to Dave Cramer message dated "Tue, 19 Jul 2016 20:55:52 -0400" Date: Tue, 19 Jul 2016 21:24:57 -0400 Message-ID: <23366.1468977897@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Dave Cramer 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 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc