Pages: [1]
|
|
|
Author
|
Topic: Compiling uqm tools (Read 2255 times)
|
Death 22
Zebranky food
Offline
Posts: 9
|
Hi, I'm trying to compile some of the tools in the uqm tree, specifically, the unpkg tool in tools/pkg. I'm not having much luck, however... I followed the instructions to the book. Installed MinGW, then MSYS (on a virgin Windows, just to be sure). But "make unpkg" first gives me an error about a missing mman.h. OK, I copied that header to my include directory (where is it usually supposed to come from, by the way?) But then I get the next error message:
unpkg.c:838: error: too many arguments to function 'mkdir'
Line 838 does indeed contain a call to mkdir with 2 arguments. Now I'm not quite sure what's happening. Tried with gcc 3.4.5 and 4.2.1, but the error persists.
Does anyone know what I'm missing?
Thanks in advance...
|
|
|
Logged
|
|
|
|
|
|
Death 22
Zebranky food
Offline
Posts: 9
|
You're right - the compile does work under cygwin! Sadly the extraction doesn't seem to work properly, I just get a bunch of 1K files with hex names. And yes, I did specify "-t pc".... Oh what the hell. Think I'll see if this is any easier under Linux!
Thanks.
|
|
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
Well, it works the same for me on Cygwin and openSUSE. SC2 resources apparently don't have names, just numbers, so the files are going to be named in hex (working out what the contents are is left as an exercise for the student). Many of them are going to be very small (snippets of text, palettes, that sort of thing).
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
|
|