[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Written by K. Robert Bate, rbate@mac.com. Last updated 8 December 1999.
The MacOS/9 port of Crystal Space is maintained by K. Robert Bate. If you have any questions or problems, contact him at rbate@mac.com.
This port of Crystal Space is based upon the pre-Carbon Macintosh Toolbox API. Because it utilizes the classic Macintosh API it is suitable for MacOS/9 as well as possibly earlier releases. This port of Crystal Space will not work on MacOS/X since it is not Carbon-compatible.
You will need the following to compile Crystal Space:
If you are going to build the Open GL Renderer you need to download the OpenGL SDK from Apple:
ftp://ftp.apple.com/developer/opengl/opengl_sdk.hqx
This will download a self mounting disk image. Double click on it. Create a folder in the `Metrowerks CodeWarrior:MacOS Support' folder called `OpenGL SDK'. Copy the folders `Headers', `Libraries' and `Resources' from the `OpenGL SDK' disk and place them into the `OpenGL SDK' folder you just created.
There are 22 Crystal Space projects in the `mwcw' folder:
Three projects that build static libraries:
CSpace.mcp
CSWS.mcp
impexp.mcp
Seven projects that build shared libraries:
Driver2D.mcp
SftRndr.mcp
OpenGLRndr.mcp
Sound.mcp
Ten projects that generate applications
Blocks.mcp
scfreg.mcp
CSWSTest.mcp
MazeD.mcp
MetaDemo.mcp
Simple.mcp
Squawk.mcp
Walktest.mcp
Two project that builds other projects
MakeShared.mcp
MakeApps.mcp
Generally you will just build an application and all of the other pieces will be built for you. All of the resulting libraries and applications will be placed in the src directory.
You're all set to run the application.
A. Well, that's normal as long as there are no errors.
MSL.C.PPC.Lib
" link
warning?
A. In order to keep from changing a lot of Crystal Space to fix the differences
in path separators, I wrote a new version of fopen()
which handles the
path separators then calls the same routines that the MSL library version
of fopen()
does. The warning is harmless and you should only worry if
you don't get the warning message.
MSL.C.PPC.Lib
" link
warning?
A. In order to keep from changing a lot of Crystal Space to fix the
differences in line endings, I wrote a new version of fgets()
which
handles the line endings then calls the same routines that the MSL
library version of fgets()
does. The warning is harmless and you
should only worry if you don't get the warning message.
A. When you launch the application, if you hold down the option key a command line dialog will pop up. If the command line that you are typing needs to be the same all the time, create a `str#' resource with an id of 1024 and make the first string in it the command line you want and it will be automaticly used. Also, if you drop a text file on the application, the first 255 characters of the file are read and used as the command line.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |