does ANYONE know how to compile natively on windows?

Discuss the future of Warzone 2100 with us.
alienkid10
Trained
Trained
Posts: 71
Joined: 07 Apr 2009, 22:38

Re: does ANYONE know how to compile natively on windows?

Post by alienkid10 »

downloaded the 2.2 MinGW Devpkg and now

Code: Select all

'svnversion' is not recognized as an internal or external command,
operable program or batch file.
'svn' is not recognized as an internal or external command,
operable program or batch file.
'git' is not recognized as an internal or external command,
operable program or batch file.
'git' is not recognized as an internal or external command,
operable program or batch file.
mingw32-make[2]: Leaving directory `C:/build/warzone/build_tools/autorevision'
mingw32-make[1]: Leaving directory `C:/build/warzone/build_tools'
mingw32-make[1]: Entering directory `C:/build/warzone/po'
mingw32-make[1]: Nothing to be done for `all'.
mingw32-make[1]: Leaving directory `C:/build/warzone/po'
mingw32-make[1]: Entering directory `C:/build/warzone/win32'
del /F warzone2100.o
Could Not Find C:\build\warzone\win32\warzone2100.o
mingw32-make[1]: Leaving directory `C:/build/warzone/win32'
mingw32-make[1]: Entering directory `C:/build/warzone/lib'
mingw32-make[2]: Entering directory `C:/build/warzone/lib/framework'
bison -d  -o resource_parser.tab.c resource_parser.y
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
it hangs right there^ made clean first then tried to make. Is this because of the space in program files?

OK it almost worked! using DEVPKG http://download.gna.org/warzone/develop ... 0091108.7z and FLEX and BISON installed to C:\build\GNUWIN\bin (PATH updated) it started working and now I end with this:

Code: Select all

C:/build/devpkg-2.2/lib/libz.a(inflate.o):inflate.c:(.text+0xa0): multiple defin
ition of `inflatePrime'
C:/build/devpkg-2.2/lib/libphysfs.a(inflate.obj):/home/dschridde/Projects/Warzon
e/devpkg/src/physfs-2.0.0/zlib123/inflate.c:132: first defined here
C:/build/devpkg-2.2/lib/libz.a(inflate.o):inflate.c:(.text+0x2a0): multiple defi
nition of `inflateGetHeader'
C:/build/devpkg-2.2/lib/libphysfs.a(inflate.obj):/home/dschridde/Projects/Warzon
e/devpkg/src/physfs-2.0.0/zlib123/inflate.c:1214: first defined here
C:/build/devpkg-2.2/lib/libz.a(crc32.o):crc32.c:(.text+0x310): multiple definiti
on of `crc32_combine'
C:/build/devpkg-2.2/lib/libphysfs.a(crc32.obj):/home/dschridde/Projects/Warzone/
devpkg/src/physfs-2.0.0/zlib123/crc32.c:374: first defined here
C:/build/devpkg-2.2/lib/libz.a(adler32.o):adler32.c:(.text+0x290): multiple defi
nition of `adler32_combine'
C:/build/devpkg-2.2/lib/libphysfs.a(adler32.obj):/home/dschridde/Projects/Warzon
e/devpkg/src/physfs-2.0.0/zlib123/adler32.c:132: first defined here
C:/build/devpkg-2.2/lib/libGLC.a(libGLC_la-render.o):render.c:(.text+0x1d): unde
fined reference to `__emutls_get_address'
C:/build/devpkg-2.2/lib/libGLC.a(libGLC_la-render.o):render.c:(.text+0x30): unde
fined reference to `__emutls_get_address'
C:/build/devpkg-2.2/lib/libGLC.a(libGLC_la-render.o):render.c:(.text+0x4b): unde
fined reference to `__emutls_get_address'
C:/build/devpkg-2.2/lib/libGLC.a(libGLC_la-render.o):render.c:(.text+0x68): unde
fined reference to `__emutls_get_address'
C:/build/devpkg-2.2/lib/libGLC.a(libGLC_la-render.o):render.c:(.text+0x7b): unde
fined reference to `__emutls_get_address'
C:/build/devpkg-2.2/lib/libGLC.a(libGLC_la-render.o):render.c:(.text+0xa9): more
 undefined references to `__emutls_get_address' follow
collect2: ld returned 1 exit status
mingw32-make[1]: *** [warzone2100.exe] Error 1
rm message_parser.tab.c level_lexer.lex.c scriptvals_lexer.lex.c message_lexer.l
ex.c scriptvals_parser.tab.c
mingw32-make[1]: Leaving directory `C:/build/warzone/src'
mingw32-make: *** [src] Error 2
Ceiling Cat
Trained
Trained
Posts: 47
Joined: 17 Jan 2010, 12:54

Re: does ANYONE know how to compile natively on windows?

Post by Ceiling Cat »

Zarel wrote:Well, unless you're using WZScript, trunk and 2.3 currently use the exact same mod structure. In fact, they have the exact same stats files right now.
What about graphic modifications? I'd like to already start making tiles above 128 resolution. Or if there's a way to put highres stuff into 2.x, enlighten me. I'm pretty new to modding this game.
alienkid10
Trained
Trained
Posts: 71
Joined: 07 Apr 2009, 22:38

Re: does ANYONE know how to compile natively on windows?

Post by alienkid10 »

Cat: could you make a new thread?
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: does ANYONE know how to compile natively on windows?

Post by Zarel »

Ceiling Cat wrote:What about graphic modifications? I'd like to already start making tiles above 128 resolution. Or if there's a way to put highres stuff into 2.x, enlighten me. I'm pretty new to modding this game.
2.x supports up to 512x512 textures, iirc. Should be enough.
alienkid10
Trained
Trained
Posts: 71
Joined: 07 Apr 2009, 22:38

Re: does ANYONE know how to compile natively on windows?

Post by alienkid10 »

anyone know what went wrong?
alienkid10
Trained
Trained
Posts: 71
Joined: 07 Apr 2009, 22:38

Re: does ANYONE know how to compile natively on windows?

Post by alienkid10 »

Zarel: Can you upload your DEVPKG?
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: does ANYONE know how to compile natively on windows?

Post by Zarel »

Here:

(Warning, though, this probably isn't the latest version.)

http://www.filedropper.com/zarel-devpkg
alienkid10
Trained
Trained
Posts: 71
Joined: 07 Apr 2009, 22:38

Re: does ANYONE know how to compile natively on windows?

Post by alienkid10 »

I don't care as long as it compiles.

EDIT: so it's imposable to make Windows installers in Windows? Can I make Ubuntu .debs on Ubuntu? If yes how?
alienkid10
Trained
Trained
Posts: 71
Joined: 07 Apr 2009, 22:38

Re: does ANYONE know how to compile natively on windows?

Post by alienkid10 »

Zarel: Unless the guide has already been updated I'll zip up your Devpkg and attach it to the guide.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: does ANYONE know how to compile natively on windows?

Post by Zarel »

My devpkg is already zipped up. ;)

I'd rather try to get Warzone compiling with the latest devpkg, first.
alienkid10
Trained
Trained
Posts: 71
Joined: 07 Apr 2009, 22:38

Re: does ANYONE know how to compile natively on windows?

Post by alienkid10 »

Whatever.
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: does ANYONE know how to compile natively on windows?

Post by lav_coyote25 »

Zarel wrote:My devpkg is already zipped up. ;)

I'd rather try to get Warzone compiling with the latest devpkg, first.

how long is this going to be zarel? perhaps putting a time to release woould be a good idea for what is being asked for... just a thought. would possibly prevent frustrations.... :)
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: does ANYONE know how to compile natively on windows?

Post by Zarel »

I dunno, maybe a few days, maybe never? If I don't do anything in a week, feel free to add it to the compile guide yourself. :)
Post Reply