home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_GEN
/
FACETV.ZIP
/
README.1ST
< prev
next >
Wrap
Text File
|
1993-11-18
|
4KB
|
137 lines
@(#) README.1ST 11/18/93 Chris Ahlstrom
OVERVIEW OF INSTALLATION AND USAGE OF THE FACE_TV LIBRARY
0. Scope of document
This document just gets you started quickly on installing
and "make'ing" the FACE_TV library. It mostly just points to the
documents you need to use.
1. Making Directories
You've probably already extracted all the files into the
directory you've decided to use. But here's what I intended, though
I haven't yet made it into a self-extracting, self-starting
executable.
First, you need to decide where you want to locate the
following sets of files. I show first the directory names I use,
just to make recognition quicker, perhaps.
Don't run INSTALL.BAT until you read this; otherwise, it
will make things that maybe you don't want.
C:\USR\LIB Location of *all* header files and library
files for all home-grown packages, such as
my FACE, FACE_TV, and QUIKKI libraries. The
INSTALL.BAT file included with FACE_TV will
attempt to create a directory for this
purpose.
In any case, the FACE_TV makefile requires
the code to located in the specified place.
You can edit your AUTOEXEC.BAT, INSTALL.BAT,
and even the FACE_TV makefile, to change this
to your preference.
C:\BC Main directory for the Borland C compiler.
You probably already have this set up and
ready to go.
INSTALL.BAT assumes it exists already.
C:\CA\C\FACE\TV Location for the source code for the FACE_TV
library.
INSTALL.BAT will *not* create this directory.
Make it yourself, and tell INSTALL.BAT about
it.
My convention is to have a directory for all
of my (CA's) stuff, with a C code directory,
which includes one directory for each
project.
2. Environment variables
You'll have to read the makefile anyway, to see what environment
variables it requires. Here's a summary:
Makefile Directories used on
Variable Chris's machine (edit them)
BCL = $(COMPILE)\BC\LIB
TVL = $(COMPILE)\BC\TVISION\LIB
BGI = $(COMPILE)\BC\BGI
USR = $(COMPILE)\USR\LIB
INCLUDEPATH = $(COMPILE)\BC\INCLUDE;$(COMPILE)\BC\TVISION\INCLUDE
Note that you'll have to set %COMPILE% in your own AUTOEXEC.BAT.
3. Loading the source code
Anyway, you can make all the directories and environment
variables as above, if needed, and then read INSTALL.BAT. If it
does what you want, execute it. It will extract the source code
from the diskette into the directories of your choice.
In addition, it will also make the object modules, the file
FACE_TV.LIB, and a sample executable, FACE_TV.EXE.
It will also copy the header files and FACE_TV.LIB to the
specified user-directory.
Otherwise, you will have to copy the FACE_TV.ZIP file to
your source code area, and extract it yourself with the command
PKKUNZIP FACE_TV
3. Making the source code
If you decided to do all this by hand (probably a wise move),
then, given that your environment is setup as described in the
makefile, all you need to do is type
MAKE
You might want to edit the makefile to conform to your compiler
situation.
4. Storing the library
Be sure to move the FACE_TV.LIB and *.H files to the
local USR directory of your choice.
5. Using the library
The makefile shows how to use the library to build a
nice test program.
The program also serves as a teaching aid, as the
documentation outside of the source code [and even in the source
code <grin>] is rather rudimentary.
6. Summary of things to read
1. INSTALL.BAT
2. MAKEFILE
3. The source code
4. DIALOGS.TXT (probably very incomplete)
5. FILELIST.TXT