<div dir="ltr">I will try to find my old VS2010 to test. I'm able to compile Slony 2.2.5 on postgres-9.3 with VS2012 though. However, I really need postgres-9.6.<div><br></div><div>May I ask how you got around the issue when you hit the error?</div><div><br></div><div><br></div><div>Regards.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 21, 2017 at 9:55 PM, Steve Singer <span dir="ltr"><<a href="mailto:steve@ssinger.info" target="_blank">steve@ssinger.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 21 Aug 2017, S. Lui wrote:<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
Is Slony 2.2.5 compilable with Postgres-9.6 64-bit binaries on Windows OS? I successfully compiled with<br>
Postgres-9.3 64-bit binaries on Windows OS.<br>
<br>
With Postgres-9.6 64-bit binaries, it gives me the following error after typing "nmake /f win32.mak<br>
slon.exe" in the command prompt:<br>
<br>
libpgport.lib(snprintf.obj) : error LNK2019: unresolved external symbol __imp__d<br>
class referenced in function fmtfloat<br>
slon.exe : fatal error LNK1120: 1 unresolved externals<br>
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0<br>
\VC\BIN\amd64\link.exe"' : return code '0x460'<br>
Stop.<br>
<br>
<br>
I tried with Windows SDK 7.1, VS2012 x64 Native Tools Command Prompt and VS2013 x64 Native Tools Command<br>
Prompt.<br>
</blockquote>
<br>
<br></span>
I THINK you need to be using the same version of visual studio that was used to build the postgres you were using.<br>
<br>
Perhaps it was VS2010?<br>
<br>
<br>
I've hit the same error at times. When I was doing the pre release testing for 2.2.6 I hit that, but I didn't have the time to download + setup/try VS2010.<br>
<br>
If you try different versions of visual studio please let the list know what works or doesn't.<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Thanks for the help.<br>
<br>
<br>
</blockquote>
</blockquote></div><br></div>