Page 2 of 2

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

Posted: 19 Jan 2010, 22:57
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

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

Posted: 19 Jan 2010, 23:18
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.

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

Posted: 19 Jan 2010, 23:18
by alienkid10
Cat: could you make a new thread?

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

Posted: 19 Jan 2010, 23:26
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.

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

Posted: 21 Jan 2010, 19:54
by alienkid10
anyone know what went wrong?

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

Posted: 24 Jan 2010, 22:48
by alienkid10
Zarel: Can you upload your DEVPKG?

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

Posted: 24 Jan 2010, 23:14
by Zarel
Here:

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

http://www.filedropper.com/zarel-devpkg

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

Posted: 24 Jan 2010, 23:21
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?

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

Posted: 26 Jan 2010, 15:23
by alienkid10
Zarel: Unless the guide has already been updated I'll zip up your Devpkg and attach it to the guide.

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

Posted: 26 Jan 2010, 20:45
by Zarel
My devpkg is already zipped up. ;)

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

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

Posted: 26 Jan 2010, 21:39
by alienkid10
Whatever.

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

Posted: 27 Jan 2010, 00:40
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.... :)

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

Posted: 27 Jan 2010, 01:31
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. :)