Pages: [1] 2
|
|
|
Author
|
Topic: Compiling UQM with MinGW (Read 12994 times)
|
Valaggar
Guest
|
http://koti.mbnet.fi/lonnberg/MinGWUQM.txt Following this instructions rigorously, I tried to compile UQM. MSYS acted like it compiled UQM, but I can't find a compiled UQM anywhere. Help please!
|
|
|
Logged
|
|
|
|
wherewp
Zebranky food
Offline
Posts: 13
|
Hello,
If you just want to play the standard uqm, note that there is a precompiled Windows binary available on the download page.
Anyhow, do you think you could post the last 10-20 lines that appeared on the console here?
-Where
|
|
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
I wrote those instructions, so it's only fair that I handle the fallout.
The executable should be right in the directory you ran all those commands in, if the compilation worked. If you can't find it, something must have gone wrong.
In any case, you can copy the MSYS output to the Windows clipboard by highlighting it. Please save this to a file and upload it somewhere I can read it.
|
|
|
Logged
|
|
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
Ah, right, I haven't updated the instructions since netplay was added (I was hoping this requirement would go away).
For your convenience, you can download this file separately here. Put it in the MinGW/include directory.
|
|
|
Logged
|
|
|
|
|
|
Angelfish
Enlightened
Offline
Posts: 568
|
... why isn't this useful file on the UQM SVN repository?
|
|
|
Logged
|
|
|
|
|
Angelfish
Enlightened
Offline
Posts: 568
|
I meant the .txt
|
|
|
Logged
|
|
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
Thanks for the information on Windows 7 compatibility; I only have XP and Linux on my own equipment and limited access to Vista. I may have enough time to check and update the Windows building instructions in a few weeks (I have some vacation time that I have to use or lose).
|
|
|
Logged
|
|
|
|
Quinarbre
Frungy champion
Offline
Posts: 60
|
I'm at loss here. I've tried to follow those instructions too, I've tried Gekko's fix, I've copied the headers and dlls nearly everywhere, to no avail : "vorbisfile not found" again and again.
For some reason, the config script seems to superbly ignore vorbisfile, and skip directly to vorbisidec ; buildlog always ends with :
gcc -L/usr/lib -lmingw32 -lSDLmain -lSDL -mwindows -L/usr/lib -lmingw32 -lSDLmain -lSDL -mwindows -lSDL_image -lvorbisidec /tmp/build.1292.tmp.c.o -o /tmp/build.1292.tmp.out c:\Progra~1\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lvorbisidec
collect2: ld returned 1 exit status
Failed program was: +++ START /tmp/build.1292.tmp.c int main(void) { return 0; } +++ END /tmp/build.1292.tmp.c
and never mentions vorbis nor vorbisfile.
I'm using mingw32 under Vista, everything else is working perfectly, and I even get sounds when I play, but I guess libmikmod is the one producing them, and I got no music at all.
EDIT : nevermind. pkgconfig was abusively called (and not found), when there was a perfectly functional vorbis. The cleanest workaround I found was to edit config_proginfo_host and change:
case "$HOST_SYSTEM" in ARMV5|WINSCW|GCCE) LIB_vorbisfile_DETECT="false" ;; *) LIB_vorbisfile_DETECT="try_pkgconfig_lib vorbisfile vorbisfile" LIB_vorbisfile_DEPEND_DETECT_BIN="pkgconfig" ;; esac for :
case "$HOST_SYSTEM" in ARMV5|WINSCW|GCCE) LIB_vorbisfile_DETECT="false" ;; MINGW32*) LIB_vorbisfile_DETECT="true" ;; *) LIB_vorbisfile_DETECT="try_pkgconfig_lib vorbisfile vorbisfile" LIB_vorbisfile_DEPEND_DETECT_BIN="pkgconfig" ;; esac ... which of course won't work if you don't have a proper vorbis install.
|
|
« Last Edit: September 30, 2010, 11:03:59 am by Quinarbre »
|
Logged
|
|
|
|
Pages: [1] 2
|
|
|
|
|