Darknesscyshadow
Guest
|
Hey all.
Compiling UQM using MinGW.
Gone through all of the basic stuff, and got to compiling, but as it's going through I get:
MKDEP obj/release/src/sc2code/libs/network/socket/socket.c.d MKDEP obj/release/src/sc2code/libs/network/netmanager/netmanager_win.c.d MKDEP obj/release/src/sc2code/libs/network/netmanager/ndesc.c.d MKDEP obj/release/src/sc2code/libs/network/connect/resolve.c.d MKDEP obj/release/src/sc2code/libs/network/connect/listen.c.d MKDEP obj/release/src/sc2code/libs/network/connect/connect.c.d MKDEP obj/release/src/sc2code/libs/network/wspiapiwrap.c.d src/sc2code/libs/network/wspiapiwrap.c:32:22: wspiapi.h: No such file or directory make: *** [obj/release/src/sc2code/libs/network/wspiapiwrap.c.d] Error 1 make: *** Deleting file `obj/release/src/sc2code/libs/network/wspiapiwrap.c.d'
And then the whole thing stops dead in the water. I'm sure there is an error on my part, but the rub is I have no idea what it is.
|
|
|
Logged
|
|
|
|
|
Darknesscyshadow
Guest
|
Thanks.
Tried it out, but for some reason the pack refuses to install the package. Apparently it can't be opened...
Two questions (well three actually):
1: Is there a way to compile without netplay?
2: Is there a way to get the file without the pack? And when I have the file can I just slap it into MinGW's include folder?
|
|
|
Logged
|
|
|
|
|
Darknesscyshadow
Guest
|
Hmmm... With network disabled it just seems to skip to the problem
MKDEP obj/release/src/sc2code/libs/network/wspiapiwrap.c.d src/sc2code/libs/network/wspiapiwrap.c:32:22: wspiapi.h: No such file or directory make: *** [obj/release/src/sc2code/libs/network/wspiapiwrap.c.d] Error 1 make: *** Deleting file `obj/release/src/sc2code/libs/network/wspiapiwrap.c.d' And I can't find the file outside of the microsoft package... I've downloaded the ISO--I'm hoping it's in there.
|
|
|
Logged
|
|
|
|
Darknesscyshadow
Guest
|
It worked, but now i get this:
MKDEP obj/release/src/sc2code/libs/strings/sresins.c.d MKDEP obj/release/src/sc2code/libs/strings/sfileins.c.d MKDEP obj/release/src/sc2code/libs/strings/getstr.c.d MKDEP obj/release/src/sc2code/libs/sound/decoders/oggaud.c.d MKDEP obj/release/src/sc2code/libs/sound/decoders/modaud.c.d src/sc2code/libs/sound/decoders/modaud.c:36:21: mikmod.h: No such file or directory make: *** [obj/release/src/sc2code/libs/sound/decoders/modaud.c.d] Error 1 make: *** Deleting file `obj/release/src/sc2code/libs/sound/decoders/modaud.c.d'
|
|
|
Logged
|
|
|
|
|
Darknesscyshadow
Guest
|
Thanks for that- but now I get this instead...
CC obj/release/src/sc2code/ships/zoqfot/zoqfot.c.o CC obj/release/src/sc2code/netplay/checkbuf.c.o In file included from src/sc2code/netplay/checkbuf.h:27, from src/sc2code/netplay/checkbuf.c:23: src/sc2code/netplay/checksum.h:87: error: syntax error before "frameNr" src/sc2code/netplay/checksum.h:88: error: syntax error before "BattleFrameCounte r" src/sc2code/netplay/checksum.h:90: error: syntax error before "frameNr" In file included from src/sc2code/netplay/checkbuf.c:23: src/sc2code/netplay/checkbuf.h:57: error: syntax error before "BattleFrameCounte r" src/sc2code/netplay/checkbuf.h:59: error: syntax error before "BattleFrameCounte r" src/sc2code/netplay/checkbuf.c:37: error: syntax error before "ChecksumBuffer_ge tCurrentFrameNr" src/sc2code/netplay/checkbuf.c: In function `ChecksumBuffer_getCurrentFrameNr': src/sc2code/netplay/checkbuf.c:38: error: `battleFrameCount' undeclared (first u se in this function) src/sc2code/netplay/checkbuf.c:38: error: (Each undeclared identifier is reporte d only once src/sc2code/netplay/checkbuf.c:38: error: for each function it appears in.) src/sc2code/netplay/checkbuf.c: At top level: src/sc2code/netplay/checkbuf.c:97: error: syntax error before "BattleFrameCounte r" src/sc2code/netplay/checkbuf.c: In function `ChecksumBuffer_getChecksumEntry': src/sc2code/netplay/checkbuf.c:101: error: `frameNr' undeclared (first use in th is function) src/sc2code/netplay/checkbuf.c:101: error: `cb' undeclared (first use in this fu nction) src/sc2code/netplay/checkbuf.c: At top level: src/sc2code/netplay/checkbuf.c:111: error: syntax error before "BattleFrameCount er" src/sc2code/netplay/checkbuf.c: In function `ChecksumBuffer_addChecksum': src/sc2code/netplay/checkbuf.c:115: error: `frameNr' undeclared (first use in th is function) src/sc2code/netplay/checkbuf.c:115: error: `cb' undeclared (first use in this fu nction) src/sc2code/netplay/checkbuf.c:122: error: `checksum' undeclared (first use in t his function) src/sc2code/netplay/checkbuf.c: At top level: src/sc2code/netplay/checkbuf.c:128: error: syntax error before "BattleFrameCount er" src/sc2code/netplay/checkbuf.c: In function `ChecksumBuffer_getChecksum': src/sc2code/netplay/checkbuf.c:132: error: `cb' undeclared (first use in this fu nction) src/sc2code/netplay/checkbuf.c:132: error: `frameNr' undeclared (first use in th is function) src/sc2code/netplay/checkbuf.c:143: error: `result' undeclared (first use in thi s function) make: *** [obj/release/src/sc2code/netplay/checkbuf.c.o] Error 1
|
|
|
Logged
|
|
|
|
|
Darknesscyshadow
Guest
|
Thanks for that- definately got further now, except now there is this:
CC obj/release/src/getopt/getopt1.c.o CC obj/release/src/regex/regex.c.o src/regex/regex.c:32:1: warning: "alloca" redefined In file included from src/port.h:132, from src/regex/regex.c:25: c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/malloc.h:61:1: warning: this is the location of the previous definition LINK uqm c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lzdll collect2: ld returned 1 exit status make: *** [uqm] Error 1
This bit kind of threw mw off a little more than the others.
|
|
|
Logged
|
|
|
|
|
Darknesscyshadow
Guest
|
Okay. Got Zlib...now I hit this:
src/regex/regexec.ci:3421: warning: comparison between signed and unsigned src/regex/regexec.ci:3452: warning: comparison between signed and unsigned In file included from src/regex/regex.c:90: src/regex/regexec.ci: In function `group_nodes_into_DFAstates': src/regex/regexec.ci:3594: warning: comparison between signed and unsigned src/regex/regexec.ci:3613: warning: comparison between signed and unsigned src/regex/regexec.ci:3635: warning: comparison between signed and unsigned src/regex/regexec.ci:3643: warning: comparison between signed and unsigned LINK uqm-debug c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lzdll collect2: ld returned 1 exit status
The signed and unsigned things go up and up and up... Does this mean I installed Zlib wrong?
|
|
« Last Edit: January 28, 2007, 09:17:43 pm by Darknesscyshadow »
|
Logged
|
|
|
|
|
Darknesscyshadow
Guest
|
I can't find that anywhere- I've definatly got the latest version of Zlib...
I do however have libz.dll.a in the appropriate lib folder...
|
|
« Last Edit: January 28, 2007, 11:19:43 pm by Darknesscyshadow »
|
Logged
|
|
|
|
Darknesscyshadow
Guest
|
Nevermind- Renamed the file to the one you specified. It worked. Thanks alot!
Compile successful. (cackles) Now I can start messing about...
|
|
|
Logged
|
|
|
|