INSTALL
changeset 89 2f9f1d02aaca
parent 71 105bdb041c03
child 91 4a13fbf4a88a
equal deleted inserted replaced
88:1b035d52f000 89:2f9f1d02aaca
     1 Building is very easy.
     1 Building is very easy (*cough*).
     2 
     2 
     3 
     3 
     4 ALL PLATFORMS:
     4 ALL PLATFORMS:
     5 
       
     6 Please understand your rights and mine: read the text file LICENSE in the root
     5 Please understand your rights and mine: read the text file LICENSE in the root
     7 of the source tree. If you can't abide by it, delete this source tree now.
     6 of the source tree. If you can't abide by it, delete this source tree now.
     8 
     7 
     9 The best documentation for the PhysicsFS API is physfs.h. It is VERY heavily
     8 The best documentation for the PhysicsFS API is physfs.h. It is VERY heavily
    10 commented, and makes an excellent, in-depth reference to all the functions.
     9 commented, and makes an excellent, in-depth reference to all the functions.
    11 
    10 
    12 
    11 
    13 UNIX:
    12 UNIX:
    14 
       
    15 Edit "Makefile", and follow the instructions. The defaults are probably okay
    13 Edit "Makefile", and follow the instructions. The defaults are probably okay
    16 for general purposes, but give it a once over to make sure. If you don't have
    14 for general purposes, but give it a once over to make sure. If you don't have
    17 zLib on your system, you'll need to disable ZIP support.
    15 zLib on your system, you'll need to disable ZIP support.
    18 
    16 
    19 run "make"
    17 run "make"
    22 
    20 
    23 Run "make install" to install the library for use on your system.
    21 Run "make install" to install the library for use on your system.
    24 
    22 
    25 
    23 
    26 WIN32:
    24 WIN32:
    27 If building with CygWin, follow the Unix instructions, above. If you're using
    25 Download http://icculus.org/physfs/downloads/physfs-win32-support.zip, and
    28 Visual C, unzip VisualC.zip so that the project files end up in the same
    26 unpack in the root of the source directory, preserving directory names. If you
    29 directory as physfs.c, and point Visual C at that project to build. If you're
    27 did it correctly, there should be a directory named "zlibwin32" in the same
    30 using any other compiler, send me a patch when you get it working.  :) 
    28 directory as "physfs.h". This archive has Visual C project/workspace files and
       
    29 the code needed for zipfile support in PhysicsFS, since most Windows boxes
       
    30 don't have zlib preinstalled.
       
    31 
       
    32 After that, if building with CygWin, follow the Unix instructions, above. If
       
    33 you're using Visual C, point the IDE at physfs.dsw, and build. If you're using
       
    34 any other compiler, send me a patch when you get it working.  :)
    31 
    35 
    32 --ryan. (icculus@clutteredmind.org)
    36 --ryan. (icculus@clutteredmind.org)
    33 
    37 
    34