Problems compiling ver 2.2

Warzone 2.2.x series. (Unsupported--read only !)
Locked
User avatar
Roak
New user
Posts: 2
Joined: 18 Jun 2009, 23:04

Problems compiling ver 2.2

Post by Roak »

This is what I receive when I use the command line: mingw32-make -f makefile.win32 >.txt

Could Not Find E:\WZtrunk\win32\warzone2100.o
m4: cannot open `Files\GnuWin32/share/bison': No such file or directory
m4: cannot open `C:\Program': No such file or directory
m4: cannot open `Files\GnuWin32/share/bison/m4sugar/m4sugar.m4': No such file or directory
m4: cannot open `C:\Program': No such file or directory
m4: cannot open `Files\GnuWin32/share/bison/bison.m4': No such file or directory
m4: cannot open `C:\Program': No such file or directory
m4: cannot open `Files\GnuWin32/share/bison/c-skel.m4': No such file or directory
User avatar
Roak
New user
Posts: 2
Joined: 18 Jun 2009, 23:04

Re: Problems compiling ver 2.2

Post by Roak »

Found the problem I made a direct path for bison and flex like so:

FLEX:=c:\progra~1\gnuwin32\bin\flex.exe
BISON:=c:\progra~1\gnuwin32\bin\bison.exe

Its trying to do something with them but not giving escape paths so I think something is borked :-S
Slek
New user
Posts: 1
Joined: 18 Dec 2009, 15:04

Re: Problems compiling ver 2.2

Post by Slek »

Hi,

I have the same problem, but I cannot understand what you mean by
I made a direct path for bison and flex like so
. Did you create an environmental variable? (that's what I tried but it's not working) Or did you modify some file?

Thanks for the help.
kmullins
New user
Posts: 3
Joined: 17 Jun 2010, 05:11

Re: Problems compiling ver 2.2

Post by kmullins »

To get around this problem, I simply added this to my path:

Code: Select all

;C:\Progra~1\GnuWin32\bin
Note that I am running Windows 7 64-bit Version so I have bison/flex installed into the 'Program Files (x86)' folder. This should still help with the white-space-escaping problem.
User avatar
Crymson
Trained
Trained
Posts: 289
Joined: 18 Mar 2010, 21:08

Re: Problems compiling ver 2.2

Post by Crymson »

O_o
People love digging up old posts.
Version 2.2 is dead, try 2.3
Locked