Difference between revisions of "Talk:SDL"

From Organic Design wiki
(failed compile notes)
 
m
Line 7: Line 7:
 
**LibPNG: [http://jaist.dl.sourceforge.net/sourceforge/libpng/lpng1212.zip lpng1212.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]
 
**LibJPEG: [http://www.ijg.org/files/jpegsrc.v6b.tar.gz jpegsrc.v6b.tar.gz]
**LibTIFF: [http://dl.maptools.org/dl/libtiff/tiff-3.8.2.zip tiff-3.8.2.zip] (http://www.remotesensing.org/libtiff/)
+
**<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]
 
**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'' and ''libTIFF'' from MSYS shell in the normal way from their own source directories with <tt>configure</tt>, <tt>make</tt> and <tt>make install</tt>.
+
*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.
 
*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.
 
*Ensure the libXXX.a's for all the above are in /usr/local/lib or where ever the SDL libs have been compiled to.

Revision as of 07:12, 24 July 2006

Compiling for windows (failed)

  • Download and install latest MinGW full package (at the time of writing this, the current download is 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 (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 (Nad 12:03, 24 Jul 2006 (NZST)):
  • First compile SDL, zlib, libJPEG from MSYS shell in the normal way from their own source directories with configure, make and make install.
  • Then in the libPNG dir, set the path of the zlib includes and libs in the makefile, then do just a a make 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.