Problems compiling ver 2.2

Warzone 2.2.x series. (Unsupported--read only !)

Problems compiling ver 2.2

Postby Roak » 18 Jun 2009, 23:17

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

Postby Roak » 19 Jun 2009, 04:30

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
User avatar
Roak
New user
 
Posts: 2
Joined: 18 Jun 2009, 23:04

Re: Problems compiling ver 2.2

Postby Slek » 18 Dec 2009, 15:06

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.
Slek
New user
 
Posts: 1
Joined: 18 Dec 2009, 15:04

Re: Problems compiling ver 2.2

Postby kmullins » 17 Jun 2010, 05:24

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.
kmullins
New user
 
Posts: 3
Joined: 17 Jun 2010, 05:11

Re: Problems compiling ver 2.2

Postby Crymson » 17 Jun 2010, 08:07

O_o
People love digging up old posts.
Version 2.2 is dead, try 2.3
User avatar
Crymson
Trained
Trained
 
Posts: 289
Joined: 18 Mar 2010, 21:08


Return to 2.2.x