The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: JHGuitarFreak on January 24, 2006, 05:09:01 am



Title: Question about MinGW / MSYS...
Post by: JHGuitarFreak on January 24, 2006, 05:09:01 am
Man i'm just full of questions recently...    anyways...


Yes when i do what the "INSTALL.mingw" says i get this message in MSYS

Code:
Administrator@T6412 /d/uqm-0.4.0
$ ./build.sh uqm       
'echo -n' capable echo found.
Sed stream editor found.
tr found.
Make found.
GNU C compiler not found.

and i'm pretty sure i got everything that the install file says and i still get the "GNU C compiler not found" message, is there anything else i could've probably overlooked?


.:: EDIT ::.
I'm only trying to use MinGW / MSYS as an experiment to see if it's easier to use than Visual Studio.


Title: Re: Question about MinGW / MSYS...
Post by: JHGuitarFreak on January 24, 2006, 05:56:13 am
Solved that problem but now i have a new one...


Code:
Administrator@T6412 /d/uqm-0.4.0
$ ./build.sh uqm config
'echo -n' capable echo found.
Sed stream editor found.
tr found.
Make found.
GNU C compiler found.
windres found.
Little-endian machine detected.
build/unix/build.sh: sdl-config: command not found
build/unix/build.sh: sdl-config: command not found
build/unix/build.sh: sdl-config: command not found
Fatal: Could not determine version of Simple DirectMedia Layer

now obviously it has something to do with the SDL, but i am too lazy to actually think.


Title: Re: Question about MinGW / MSYS...
Post by: Novus on January 24, 2006, 08:59:32 am
See my response to Juffo's problem (http://uqm.stack.nl/forum/index.php?topic=2712.0).


Title: Re: Question about MinGW / MSYS...
Post by: Juffo on January 24, 2006, 07:00:49 pm
You'll also have to follow the installation instructions in the zlib readme (this is not mentioned in INSTALL.mingw).


Title: Re: Question about MinGW / MSYS...
Post by: JHGuitarFreak on January 24, 2006, 07:27:07 pm
thanks, i "think" it's working now, and one other question, is there a special command for building the "debug" version?


Title: Re: Question about MinGW / MSYS...
Post by: JHGuitarFreak on January 24, 2006, 07:45:18 pm
and now... A NEW PROBLEM...


Code:
Administrator@T6412 /c/uqm-0.4.0
$ ./build.sh uqm       
  MKDEP    src/getopt/getopt1.c.d
/bin/sh.exe: -e: command not found
src/getopt/getopt1.c:0: fatal error: when writing output to : Invalid argument
compilation terminated.
make: *** [src/getopt/getopt1.c.d] Error 127


Title: Re: Question about MinGW / MSYS...
Post by: Novus on January 24, 2006, 09:56:05 pm
What does "sh --version" report? Does running "bash ./build.sh uqm" instead of "./build.sh uqm" help?


Title: Re: Question about MinGW / MSYS...
Post by: JHGuitarFreak on January 24, 2006, 11:31:46 pm
What does "sh --version" report? Does running "bash ./build.sh uqm" instead of "./build.sh uqm" help?

1st Answer
Code:
Administrator@T6412 /c/uqm-0.4.0
$ sh --version   
GNU bash, version 2.04.0(1)-release (i686-pc-msys)
Copyright 1999 Free Software Foundation, Inc.

2nd answer
nope



.:: EDIT ::.
On a side note, i have decided to also make a UQM project file for Dev-C++ which is going surprisingly well.


Title: Re: Question about MinGW / MSYS...
Post by: JHGuitarFreak on January 25, 2006, 07:40:33 am
on a totally different note...

How would you make it so the intro video plays before the UQM logo?


.:: EDIT ::.

Moderators, you can lock this thread once "duk" question is answered since i have decided to hold off on mingw/msys for awhile.


Title: Re: Question about MinGW / MSYS...
Post by: JHGuitarFreak on January 29, 2006, 12:10:22 pm
on a totally different note...

How would you make it so the intro video plays before the UQM logo?




NO answer?  :'(


Title: Re: Question about MinGW / MSYS...
Post by: meep-eep on January 29, 2006, 01:04:19 pm
Look for the code that plays the video, and move it to before the code is called that displays the logo. If you want to change it, you do the work.

BTW, in recent CVS the intro video isn't played until a new game is started.


Title: Re: Question about MinGW / MSYS...
Post by: JHGuitarFreak on January 29, 2006, 01:43:09 pm
hey thats pretty cool, the whole start a new game video, i think that's actually better than having it play when the game starts up.  thanks for the info about moving the code though, i think i'll try that out to see if "I" like it, i probably won't distribute somethin that only I like.