Title: Guide on compiling on WINDOWS XP Post by: boybaboy on June 12, 2014, 01:54:58 pm TESTED WORKING AS OF JUNE 12 2014 in WINDOWS XP
After hours of frustration and forum reading i finally got this to compile : uqm-0.7.0-source.tar credits goes to the original authors i just compiled it neatly http://koti.mbnet.fi/lonnberg/MinGWUQM.txt http://forum.uqm.stack.nl/index.php?topic=5274.0 http://forum.uqm.stack.nl/index.php?topic=5237.0 ========================= MinGW provides the C compiler and related tools required to compile UQM. MSYS is a minimal Unix environment which allows you to run the UQM build scripts that allow you to build UQM without a lot of manual setup. Download and run: MinGW installer http://sourceforge.net/projects/mingw/files/latest/download?source=files install in c:/mingw DONT INSTALL MSYS !!! select mingw32-base and mingw32-gcc-g++ from basic setup only ========================= - Download MSYS installer http://prdownloads.sf.net/mingw/MSYS-1.0.10.exe?download - Install. Answer "yes" to questions about whether to perform post-installation and whether you have installed MinGW. If you've used the defaults settings, your MinGW installation is in "c:/mingw". All command lines in these instructions are to be entered at a MSYS prompt (a bash shell); you should have an icon on your desktop for starting one. The usual Unix commands are valid; in particular, "cd" changes directory. Directory names are separated by slashes instead of backslashes, and drive N is referred to as "/N" (so, for example "C:\Downloads" is "/C/Downloads"). ========================= - Download SDL development package for MinGW: http://libsdl.org/release/SDL-devel-1.2.13-mingw32.tar.gz - Extract the archive. If you don't have any other extractor you'd prefer to use, MSYS comes with tar. To unpack the SDL directory into the current directory (anywhere is fine), use (replacing the download directory): tar xvfz /C/Downloads/SDL-devel-1.2.13-mingw32.tar.gz - Ignore the SDL installation instructions (they're for the source package, not the precompiled developer version). Instead, edit bin/sdl-config as follows (using any text editor compatible with Unix text files; MSYS includes vi, but almost anything else is easier to use; Notepad doesn't work, WordPad ("write") does): -- Change "prefix=whatever" to "prefix=/usr". Execute (at MSYS prompt in SDL directory): cp -rv bin include lib share /usr - The SDL directory contains a test directory. To (optionally) test your installation at this point you may execute in the test directory: ./configure make You can run the various test programs. ========================= - Download VC8 development package (!): http://www.libsdl.org/projects/SDL_image/release/SDL_image-devel-1.2.6-VC8.zip - Extract wherever. At MSYS prompt in SDL_image directory execute: cp -v include/* /usr/include/SDL/ cp -v lib/* /usr/lib ========================= - Download libogg and libvorbis: http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.tar.gz - Extract. - Compile and install libogg: ./configure --prefix=/usr/local make install - Compile and install libvorbis: LIBS="-logg -L/usr/local/lib" ./configure --prefix=/usr/local make install ========================= - Download zlib DLL: http://www.gzip.org/zlib/zlib123-dll.zip - Extract. At MSYS prompt in zlib directory execute: cp -v lib/* *.dll /usr/lib cp -v include/* /usr/include ========================= - Download wspiapi.h: http://cznic.dl.sourceforge.net/project/dplus-browser/Dependencies/Windows/Sources/wspiapi.h - Put it in the MinGW include directory (execute in containing directory): - mv wspiapi.h /usr/include ========================= download pkg-config.exe and put it in C:\MinGW\bin http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip ========================= download libglib-2.0-0.dll put it in C:\MinGW\bin http://www.dll-files.com/dllindex/dll-files.shtml?libglib-2.0-0 ========================= download these files http://www.libsdl.org/release/SDL-devel-1.2.8-mingw32.tar.gz http://www.libsdl.org/projects/SDL_image/release/SDL_image-devel-1.2.4-VC6.zip http://kcat.strangesoft.net/openal-releases/openal-soft-1.15.1.tar.bz2 http://www.vorbis.com/files/1.0/windows/OggVorbis-win32sdk-1.0.zip http://www.gzip.org/zlib/zlib122-dll.zip extract all these files anywhere Copy the DLLs for each library to \[MinGW]\lib. Copy the header files for each library to \[MinGW]\include, copy the folders (ogg and vorbis) containing the header files to the include directory then I ran in MSYS: C_INCLUDE_PATH=/usr/include:/usr/local/include ./build.sh uqm clean C_INCLUDE_PATH=/usr/include:/usr/local/include ./build.sh uqm config C_INCLUDE_PATH=/usr/include:/usr/local/include ./build.sh uqm ENJOY :) Title: Re: Guide on compiling on WINDOWS XP Post by: Defender on June 14, 2014, 02:38:02 am thank you this is exactly whats been needed to compile uqm. many thanks.
|