Mail Archives: djgpp/2003/02/19/23:00:12
this is what I have problems with, in installing the GRX
library in win 98 with DJGPP:
Unzip the GRX archives
create a directory for the GRX file tree. Examples:
DJGPP: DJGPP/contrib/grx23
Linux: /usr/src/grx-2.3
unzip the GRX source archive in the GRX dir:
DOS: pkunzip -d grx23.zip
Unix: unzip grx23.zip
unzip the GRX font archive in the same base dir:
DOS: pkunzip -d grx2fnt.zip
Unix: unzip grx23fnt.zip
Set the environment variables
set the default driver and graphics mode info:
SET GRX20DRV=<driver> gw <width> gh <height> nc <colors>
(very useful but not required)
Available drivers for
DOS : stdvga, stdega, et4000, cl5426, mach64, ati28800, VESA, memory
Linux: svgalib, xwin, memory
X11: xwin, memory
set the GRX font dir
SET GRXFONT=<directory for the GRX fonts>
This is required for GRX graphics text output. Path: <GRX base>/fonts
NOTE: You can define a default font directory when compiling GRX. E.g,
if you installed the fonts in /usr/local/lib/grx/fonts add
CCOPT += -DGRX_DEFAULT_FONT_PATH="/usr/local/lib/grx/fonts"
to makedefs.gnu (Linux / GNU-make example)
Compiling GRX
This is only required if there's no pre-compiled GRX for your system or
you want to change GRX or the library configuration.
Go to GRX base dir and check the makefile and makedefs file for your
system setup
Switch to src sub dir and check the makefile
run make -f <your makefile>
(some system may need additional arguments here !)
if every thing worked fine go to <GRX base>/test, check the makefile and
build all test files / examples:
make -f <your makefile>
---------
the main problem is with setting the variables and paths (do I have to
do that in my AUTOEXEC.BAT ? )
and with compiling : what does "chech the makefiles" mean ?
what do "run mak - f <your makefile> means ?
than you
helen
--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
- Raw text -