The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: JHGuitarFreak on October 26, 2006, 01:57:25 am



Title: MinGW trouble, again...
Post by: JHGuitarFreak on October 26, 2006, 01:57:25 am
Okay i followed the instructions from the INSTALL.mingw and i get this

Quote
$ ./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

anything i'm missing besides the required libs and includes?


Title: Re: MinGW trouble, again...
Post by: meep-eep on October 26, 2006, 02:10:23 am
Just SDL so far. At least, build.sh can't find it; make sure the dir that sdl-config is in is somewhere in your path.


Title: Re: MinGW trouble, again...
Post by: JHGuitarFreak on October 26, 2006, 02:13:43 am
i don't want to sound stupid but oh well...

how do i do that?


.:: EDIT ::.

Ok that was an EXTREMELY stupid question

.:: EDIT 2 ::.
Nevermind, i thought i fixed it but i didn't


Title: Re: MinGW trouble, again...
Post by: JHGuitarFreak on October 26, 2006, 02:44:43 am
ok i think i fixed it but i wanna make sure everything is okay.

Does this look good or not

Quote
$ ./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.
Simple DirectMedia Layer version 1.2.8 found.
SDL_image found.
Symbol 'readdir_r' not found.
Symbol 'setenv' not found.
Symbol 'strupr' found.
Symbol 'stricmp' found.
Symbol 'iswgraph' found.
Type 'wchar_t' found.
Type 'wint_t' found.
Symbol 'getopt_long' found.
Header 'regex.h' not found.
OpenGL found.
pkg-config not found.
vorbisfile found.
zlib found.


Title: Re: MinGW trouble, again...
Post by: meep-eep on October 26, 2006, 03:51:44 am
Yes, looks good.


Title: Re: MinGW trouble, again...
Post by: JHGuitarFreak on October 26, 2006, 04:31:27 am
i'm getting compile errors
 here is the start of them


Quote
MKDEP    obj/release/src/options.c.d
  CC       obj/release/src/options.c.o
In file included from src/config.h:13,
                 from src/port.h:4,
                 from src/options.h:25,
                 from src/options.c:22:
./config_win.h:45: error: stray '@' in program
In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/sys/types.h:21,
                 from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/io.h:20,
                 from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:10,
                 from src/port.h:9,
                 from src/options.h:25,
                 from src/options.c:22:
./config_win.h:45: error: stray '@' in program
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/include/stddef.h:151: error: syntax error before "typedef"
make: *** [obj/release/src/options.c.o] Error 1


and end

what am i doing wrong here?


Title: Re: MinGW trouble, again...
Post by: meep-eep on October 26, 2006, 04:59:11 am
Oh, that. That was indeed a bug in the released source with MinGW. Use the source from CVS. Snapshots can be found here (http://uqm.stack.nl/files/snapshots/).