Topic: yassl doesn't build on windows8 consumer preview

I've tried compiling mysql-trunk on windows 8 consumer preview using visual stuio 11 express beta.

I'm getting :
Microsoft (R) Program Maintenance Utility Version 11.00.50214.1
Copyright (C) Microsoft Corporation.  All rights reserved.

[  0%] Built target INFO_BIN
[  0%] Built target INFO_SRC
[  2%] Built target zlib
[  2%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/cert_wrapper.cpp
.obj
cert_wrapper.cpp
e:\test-trunk\extra\yassl\include\socket_wrapper.hpp(31) : fatal error C1083: Ca
nnot open include file: 'winsock2.h': No such file or directory

Share

Re: yassl doesn't build on windows8 consumer preview

Hi,

Have you installed the Windows 8 SDK?  I was able to confirm that yaSSL 2.0.0 builds successfully on Windows 8 Consumer Preview with Visual Studio 11 Beta and Windows 8 SDK installed.  The SDK should install the winsock2.h header for Visual Studio to pick up.

http://msdn.microsoft.com/en-us/windows … 52363.aspx

Best Regards,
Chris

Re: yassl doesn't build on windows8 consumer preview

Hmm, isn't VS 11 Beta enough ? There's a compiler and there sure are system headers in c:\Program Files\Windows Kits.

Share