[MonetDB-users] June2010 SP2 failed to build on Windows 64

Hi, I have successfully built June2010 SP2 on Windows 32 bit. However, the same on 64 bit fails in the Monet module while trying to build 'monet_options.c'. I am getting a bunch of errors related to ws2tcpip.h: C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(29) : error C2079: 'imr_multiaddr' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(30) : error C2079: 'imr_interface' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(38) : error C2079: 'imr_multiaddr' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(39) : error C2079: 'imr_sourceaddr' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(40) : error C2079: 'imr_interface' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(46) : error C2079: 'imsf_multiaddr' uses undefined struct 'in_addr' Please advise. Thanks. -- View this message in context: http://old.nabble.com/June2010-SP2-failed-to-build-on-Windows-64-tp29593272p... Sent from the monetdb-users mailing list archive at Nabble.com.

OK, switching from Visual Studio 2005 to 2008 fixed this. Alex Bo. wrote:
Hi,
I have successfully built June2010 SP2 on Windows 32 bit. However, the same on 64 bit fails in the Monet module while trying to build 'monet_options.c'. I am getting a bunch of errors related to ws2tcpip.h:
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(29) : error C2079: 'imr_multiaddr' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(30) : error C2079: 'imr_interface' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(38) : error C2079: 'imr_multiaddr' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(39) : error C2079: 'imr_sourceaddr' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(40) : error C2079: 'imr_interface' uses undefined struct 'in_addr' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\ws2tcpip.h(46) : error C2079: 'imsf_multiaddr' uses undefined struct 'in_addr'
Please advise. Thanks.
-- View this message in context: http://old.nabble.com/June2010-SP2-failed-to-build-on-Windows-64-tp29593272p... Sent from the monetdb-users mailing list archive at Nabble.com.

Switching to VS 2008 built everything successfully, but now when I run MSQLserver.bat I get: 'The program can't start because MSVCR80.dll' is missing from your computer. I'm stuck, because using VS2005 compiler fails on build, and VS2008 compiler builds but doesn't run. P.S. I have built 32 & 64 successfully on the SP1 release, and 32 with SP2 successfully too. All with VS2005 compiler. -- View this message in context: http://old.nabble.com/June2010-SP2-failed-to-build-on-Windows-64-tp29593272p... Sent from the monetdb-users mailing list archive at Nabble.com.

On 2010-09-02 12:30, Alex Bo. wrote:
Switching to VS 2008 built everything successfully,
but now when I run MSQLserver.bat I get: 'The program can't start because MSVCR80.dll' is missing from your computer.
This is probably just a matter of specifying the correct program search path. Make sure the folder containing that DLL is in your %Path% variable. You could try to build an installer using the MonetDB5-SQL-Installer.sln file and installing that. That'll only work with a "release" build (i.e. not a debug build), and you may have to fix paths of the libraries you're using.
I'm stuck, because using VS2005 compiler fails on build, and VS2008 compiler builds but doesn't run.
P.S. I have built 32 & 64 successfully on the SP1 release, and 32 with SP2 successfully too. All with VS2005 compiler.
We haven't tried the VS2005 compiler in a long time. I don't know where the errors you reported come from, but I suspect it's because our recent change to use getaddrinfo(), which requires winsock2.h (where we used winsock.h before). -- Sjoerd Mullender
participants (2)
-
Alex Bo.
-
Sjoerd Mullender