http://bugs.winehq.org/show_bug.cgi?id=29577
Bug #: 29577 Summary: msvcmaker-generated projects try to run non-existent winebuild.exe Product: Wine Version: 1.3.36 Platform: x86 OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Tried working around bug 29509 by using a commandline build of wine.
Sadly, Visual Studio 2005 and later no longer have an Export Makefile option, so you have to use devenv's /Build option.
I found a buglet in msvcmaker and posted a patch, http://www.winehq.org/pipermail/wine-patches/2012-January/110405.html
I then tried a non-gui build as follows: 1) tools/winapi/msvcmaker
2) wine ~/.wine/drive_c/"Program Files/Microsoft Visual Studio 8/Common7/IDE"/devenv wine.sln
3) File / Save All (to export the .dsp's in the new format)
4) wine ~/.wine/drive_c/"Program Files/Microsoft Visual Studio 8/Common7/IDE"/devenv wine.sln "Win32 Debug" /Build
This created about 103 .obj's (for static libraries), plus dlls/*/Output/Win32_Debug/BuildLog.htm indicating that it tried to run winebuild.exe. Since this file doesn't exist, every .dll build failed.
devenv did eventually complete, though it seemed to be sitting doing nothing for a couple minutes at the end.
Workaround: build winebuild.exe with mingw, then copy it down into an Output/Win32_Debug directory.
See http://kegel.com/wine/wow.html for notes on how to do the mingw build.