Page 1 of 1

Problems compiling ver 2.2

PostPosted: 18 Jun 2009, 23:17
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

Re: Problems compiling ver 2.2

PostPosted: 19 Jun 2009, 04:30
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

Re: Problems compiling ver 2.2

PostPosted: 18 Dec 2009, 15:06
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.

Re: Problems compiling ver 2.2

PostPosted: 17 Jun 2010, 05:24
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.

Re: Problems compiling ver 2.2

PostPosted: 17 Jun 2010, 08:07
by Crymson
O_o
People love digging up old posts.
Version 2.2 is dead, try 2.3