|
|
Line 1: |
Line 1: |
− | === Compiling for windows (failed) ===
| + | |
− | *Download and install latest MinGW full package (at the time of writing this, the current download is [http://prdownloads.sf.net/mingw/MinGW-5.0.2.exe?download MinGW-5.0.2.exe]). Make sure you select the ''make'' and ''g++'' (for tiff) options in the installation process.
| |
− | *Download and install latest MSYS ([http://prdownloads.sf.net/mingw/MSYS-1.0.8.exe?download MSYS-1.0.8.exe] at time of writing).
| |
− | *Download the current source files listed below and unpack into their own directories '''within the MSYS mounted structure'''. The files were current at time of writing ([[User:Nad|Nad]] 12:03, 24 Jul 2006 (NZST)):
| |
− | **SDL: [http://www.libsdl.org/release/SDL-1.2.11.zip SDL-1.2.11.zip]
| |
− | **ZLib: [http://www.gzip.org/zlib/zlib123.zip zlib123.zip]
| |
− | **LibPNG: [http://jaist.dl.sourceforge.net/sourceforge/libpng/lpng1212.zip lpng1212.zip]
| |
− | **LibJPEG: [http://www.ijg.org/files/jpegsrc.v6b.tar.gz jpegsrc.v6b.tar.gz]
| |
− | **<s>LibTIFF: [http://dl.maptools.org/dl/libtiff/tiff-3.8.2.zip tiff-3.8.2.zip]</s> (http://www.remotesensing.org/libtiff/)
| |
− | **SDL-Image: [http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.5.zip SDL_image-1.2.5.zip]
| |
− | *First compile ''SDL'', ''zlib'', ''libJPEG'' from MSYS shell in the normal way from their own source directories with <tt>configure</tt>, <tt>make</tt> and <tt>make install</tt>.
| |
− | *Then in the libPNG dir, set the path of the zlib includes and libs in the <tt>makefile</tt>, then do just a a <tt>make</tt> by itself.
| |
− | *Ensure the libXXX.a's for all the above are in /usr/local/lib or where ever the SDL libs have been compiled to.
| |