-----Message d'origine----- De : Peter Gerwinski peter@gerwinski.de à : gpc@gnu.de gpc@gnu.de Date : jeudi 22 juin 2000 18:48 Objet : Re: graphic
I try to install GRX 2.3.1, I did not succeed: - "unpacking the GRX archive" was ok. - but "set the environment variables" was not:
" 1) set the default driver and graphics mode info: " SET GRX20DRV=<driver> gw <width> gh <height> nc <colors> " (very useful but not required) " Available drivers are for " DOS : stdvga, stdega, et4000, cl5426, mach64, ati28800, VESA, " memory " Linux: svgalib, memory " X11 : xwin, memory " 2) 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)
I don't really understand what I have to do here?
- "compiling GRX" was not ok as well:
" 1) Go to GRX base dir and check the makefile and makedefs file " for your system setup " 2) Switch to src sub dir and check the makefile What do you mean by check? " 3) run make -f <your makefile> " 4) if every thing worked fine go to <GRX base>/test, check the makefile " and build all test files / examples: " make -f <your makefile> Do I have here to put all the makefile.something?
Thank you for your help,
Nathalie
Nathalie Jarosz wrote:
" 1) set the default driver and graphics mode info: " SET GRX20DRV=<driver> gw <width> gh <height> nc <colors> " (very useful but not required) " Available drivers are for " DOS : stdvga, stdega, et4000, cl5426, mach64, ati28800, VESA, " memory " Linux: svgalib, memory " X11 : xwin, memory " 2) 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)
I don't really understand what I have to do here?
For DOS: Put into your `autoexec.bat' something like:
set GRX20DRV=VESA gw 1024 gh 768 nc 256 set GRXFONT=c:\djgpp\contrib\grx231\fonts
For Unix (optional): Put into your `.profile' something like:
set GRX20DRV=xwin set GRXFONT=/usr/local/lib/grx/fonts
... or whereever you have installed the GRX fonts.
- "compiling GRX" was not ok as well:
" 1) Go to GRX base dir and check the makefile and makedefs file " for your system setup " 2) Switch to src sub dir and check the makefile What do you mean by check? " 3) run make -f <your makefile> " 4) if every thing worked fine go to <GRX base>/test, check the makefile " and build all test files / examples: " make -f <your makefile> Do I have here to put all the makefile.something?
No, only the Makefile that is applicable for your system. Under DOS with DJGPP (v2 or newer), the command is:
make -f makefile.dj2
Under a generic Unix system with X11 installed, use:
make -f makefile.x11
Under Linux with SVGAlib installed, you can also use:
make -f makefile.lnx
Hope this helps,
Peter
PS: I am updating `grx-2.3.1.README'. Please check whether it can be understood better now ...