Mail Archives: djgpp/1997/05/18/01:49:45
Hi,
I have recently downloaded DJGPP V2 and grx20. The compiler works fine
on programs that don't use graphics. When I try to compile old programs
which #include graphics.h and try to GrSetMode, djgpp can't find
graphics.h and I get an undefined reference to `GrSetMode`. Reading the
faq, I do have the djgpp environmental variables setup. `set` shows:
DJGPP=c:\djgpp\djgpp.env
GRX20DRV=VESA gw 1024 gh 768 nc 256
GRXFONT=c:\djgpp\contrib\grx20\fonts
Strangely, I have backslashes ('\') here where the faq has front slashes
('/').
and dir shows:
Volume in drive C is BRIANPBARNE
Volume Serial Number is 1F0C-9675
Directory of C:\djgpp
DJGPP ENV 2,199 10-05-96 7:02p DJGPP.ENV
1 file(s) 2,199 bytes
0 dir(s) 236,650,496 bytes free
My programs used to run fine. I also downloaded a new grx20 tonight just
in case some files had disappeared, but there is still no graphics.h.
I have tried copying grx20.h to djgpp/include and even to the my src
directory without success. I copied everything in
djgpp/contrib/grx20/lib and include to djgpp/lib and include. I should
also note that I am using the January version, 1.1, of rhide and I have
the options->directories->lib and include pointed to djgpp/lib and
djgpp/include.
I also looked at remus.rutgers.edu to try to find the graphics totorial,
but apparently the ~avly link is gone. I have the feeling that I am
overlooking something. Any ideas appreciated.
Thanks,
Brian
bbarnes AT tpoint DOT net
- Raw text -