Bug #25604 Visual Studio C++ 2005 Express do not compile
Submitted: 12 Jan 2007 23:46 Modified: 13 Jan 2007 2:21
Reporter: Harald Reindl Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.33 OS:Windows (WinXP)
Assigned to: CPU Architecture:Any

[12 Jan 2007 23:46] Harald Reindl
Description:
After MySQL-AB did not offer a Windows-Binary i tried to build it myself with visual studio 2005 express edition - first i not really work with c++ and visual studio so it is not esay to do this without a gcc and configure-script :-(

But i think there is a general error - I get messages about missing file "windows.h" and such file does not exist in any folder auf the package.

I hope VC 2005 is convertig the project-files correctly, seems to be for vs6...
Please give us some binary for windows, on linux and macosx i have no problems with source-tarballs :-)

How to repeat:
try to build the currect windows-source-tarball with vs 2005 express edition
[13 Jan 2007 2:21] MySQL Verification Team
Thank you for the bug report. Please follow the procedures mentioned in
our Manual: http://dev.mysql.com/doc/refman/5.0/en/windows-source-build.html.

Following the above instructions I was able to compile current source:

C:\mydb\bin>mysqld-nt -V
mysqld-nt  Ver 5.0.34 for Win32 on ia32 (Source distribution)
[13 Jan 2007 2:30] MySQL Verification Team
Sorry I forgot to mention you that 'windows.h' makes part of the compiler
installation maybe you need to install the Windows SDK.