author | Ryan C. Gordon <icculus@icculus.org> |
Fri, 24 May 2002 03:39:05 +0000 | |
changeset 231 | e4f81b0f1c93 |
parent 230 | 13e275b51d5a |
child 283 | c966316c8998 |
permissions | -rw-r--r-- |
214
19846c18071b
Initial autoconf support.
Ryan C. Gordon <icculus@icculus.org>
parents:
208
diff
changeset
|
1 |
|
230 | 2 |
----------------------------------------------------------------------------- |
3 |
Please note that the win32 and macos support files are out of date, but |
|
4 |
will be corrected shortly. --ryan. |
|
5 |
----------------------------------------------------------------------------- |
|
214
19846c18071b
Initial autoconf support.
Ryan C. Gordon <icculus@icculus.org>
parents:
208
diff
changeset
|
6 |
|
19846c18071b
Initial autoconf support.
Ryan C. Gordon <icculus@icculus.org>
parents:
208
diff
changeset
|
7 |
|
19846c18071b
Initial autoconf support.
Ryan C. Gordon <icculus@icculus.org>
parents:
208
diff
changeset
|
8 |
|
208
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
9 |
Building is (ahem) very easy. |
54 | 10 |
|
71 | 11 |
|
12 |
ALL PLATFORMS: |
|
91 | 13 |
|
71 | 14 |
Please understand your rights and mine: read the text file LICENSE in the root |
15 |
of the source tree. If you can't abide by it, delete this source tree now. |
|
16 |
||
17 |
The best documentation for the PhysicsFS API is physfs.h. It is VERY heavily |
|
18 |
commented, and makes an excellent, in-depth reference to all the functions. |
|
19 |
||
20 |
||
230 | 21 |
UNIX and BeOS: |
22 |
(If you got this code from CVS, run "./bootstrap" first.) |
|
54 | 23 |
|
230 | 24 |
Run ./configure --help and see what features can be optionally enabled or |
25 |
disabled. "./configure" does its best to pick optimal defaults for your |
|
26 |
platform. |
|
54 | 27 |
|
230 | 28 |
Run "make". |
29 |
As root, run "make install". |
|
30 |
If you get sick of the library, run "make uninstall" as root and it will |
|
31 |
remove all traces of the library from the system paths. |
|
54 | 32 |
|
71 | 33 |
|
34 |
WIN32: |
|
230 | 35 |
If building with CygWin, follow the Unix instructions, above. |
36 |
||
37 |
Otherwise, get http://icculus.org/physfs/downloads/physfs-win32-support.zip, |
|
38 |
and unpack in the root of the source directory, preserving directory names. If |
|
39 |
you did it correctly, there should be a file named "physfs.dsp" in the |
|
40 |
same directory as "physfs.h". That zipfile has Visual C project files for |
|
41 |
Visual Studio 6.0 and Visual Studio .NET. If you're using Visual C, point the |
|
42 |
IDE at physfs.dsp, and build. If you're using any other compiler, send me a |
|
43 |
patch when you get it working. :) |
|
89
2f9f1d02aaca
Updated win32 build instructions.
Ryan C. Gordon <icculus@icculus.org>
parents:
71
diff
changeset
|
44 |
|
208
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
45 |
IMPORTANT: If you are using anything older than Visual Studio.NET, you |
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
46 |
will _NEED_ to upgrade to the latest Platform SDK from Microsoft. It is a |
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
47 |
free download: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ |
230 | 48 |
Be sure to install _at least_ the Core SDK and the WMI SDK. Even though you |
49 |
need these SDK updates, the compiled PhysicsFS DLL should work on any win32 |
|
50 |
platform from Win95 and WinNT 4.0 and later. IF YOU ARE MISSING CONSTANTS |
|
51 |
AND/OR THE PROJECT REFUSES TO LINK, YOUR PLATFORM SDK IS OUT OF DATE. Do _not_ |
|
52 |
complain to us. Suck it up and upgrade your libraries. |
|
208
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
53 |
|
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
54 |
No one's tried building this for a WinCE (PocketPC) platform, but it may or |
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
55 |
may not work. Patches are welcome. |
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
56 |
|
91 | 57 |
If someone is willing to maintain prebuilt PhysicsFS DLLs, I'd like to hear |
58 |
from you; send an email to icculus@clutteredmind.org. |
|
59 |
||
187 | 60 |
|
61 |
MACOS 8/9: |
|
62 |
Download http://icculus.org/physfs/downloads/mac_classic_support.sit and |
|
63 |
unpack it in the root of the physfs folder. It should produce a folder |
|
230 | 64 |
called "Mac Classic Support" that has CodeWarrior 6 project files. |
187 | 65 |
|
66 |
If someone is willing to maintain prebuilt PhysicsFS Shared Libraries for |
|
67 |
the Mac, I'd like to hear from you; send an email to icculus@clutteredmind.org. |
|
68 |
||
69 |
||
70 |
OTHER PLATFORMS: |
|
230 | 71 |
Many platforms, such as Solaris and MacOS X, might "just work" with the Unix |
72 |
autoconf tools. Some of these platforms are known to have worked at one time, |
|
73 |
but have not been heavily tested, if tested at all. To implement a new |
|
74 |
platform or archiver, please read the heavily-commented physfs_internal.h |
|
208
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
75 |
and look in the platform/ and archiver/ directories for examples. |
187 | 76 |
|
54 | 77 |
--ryan. (icculus@clutteredmind.org) |
78 |