This document provides information about the obsolete GRX graphics library v2.2. You might want to have a look at the latest GRX release
Compared with the grx20.zip from DJ-dirs this release provides:
What's currently untested:
What's missing:
Installation for DJGPP:
Edit your DJGPP.ENV file:
to C_INCLUDE_PATH and CPLUS_INCLUDE_PATH variables
to the LIBRARY_PATH entry
at top of DJGPP.ENV
Check GRX v2.2
Recompile your own programs with GRX v2.2!
Installation for Linux:
Delete the DJGPP .a file in the grx22/lib subdir.
Many GRX based programs need to access the font file. Either make the /usr/src/grx22/fonts subdir readable to anyone running GRX programs or copy the fonts subdir to a place where anyone can access it (I placed the fonts in /usr/local/grx-fonts on my system) Make sure the GRXFONT environment variable points to the fonts directory.
In /usr/src/grx22 check the default settings in makedefs.gnu and makedefs.x11
To build the SVGALIB based GRX v2.2 run
To build the X11 based GRX v2.2 run
Check the by running the (static linked) test programs. If everything works well, copy the .a and .so library files to a system lib dir, eg. /usr/local/lib and generate symbolic links for the shared libraries: libgrx20.so -> libgrx20.so.2.2.0 libgrx20X.so -> libgrx20X.so.2.2.0 Copy the files from grx22/include and grx22/compat to an include dir (eg. /usr/local/include) Make sure all installed files are readable everyone compiling/running GRX based programs. Now GRX v2.2 should be ready for your programs !
Important:
Help: