Re: make-3.82 compile failed on windows7
Eli Zaretskii <[email protected]> Mon, 30 Jan 2012 19:50:57 +0200
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <[email protected]> |
> From: <[email protected]> > Date: Mon, 30 Jan 2012 00:00:42 -0500 > > I am compiling 3.82 sources code on windows and with cl,nmake to run build_w32.bat,it fails, however it compile successfully on make 3.81 source code > > > Error detail: > > "Creating the subproc library" > > C:\360????\make-3.82.tar\make-3.82\make-3.82\w32\subproc>if not exist .\WinDebug\nul mkdir .\WinDebug > > C:\360????\make-3.82.tar\make-3.82\make-3.82\w32\subproc>cl.exe /nologo /MT /W4 /GX /Z7 /YX /Od /I .. /I . /I ../include /D WIN32 /D WINDOWS32 /D _DEBUG /D _WINDOWS /FR.\WinDebug/ /Fp.\WinDebug/subproc.pch /Fo.\WinDebug/ /c misc.c > misc.c > misc.c(18) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory The file README.W32 says at its beginning: Do this first, regardless of the build method you choose: --------------------------------------------------------- 1. At the Windows command prompt run: if not exist NMakefile copy NMakefile.template NMakefile if not exist config.h copy config.h.W32 config.h It sounds like you never copied config.h.W32 into config.h, because the error message above clearly says the compiler cannot find it.