From: "Brian P. Barnes" Newsgroups: comp.os.msdos.djgpp Subject: Missing graphics.h Date: Sat, 17 May 1997 18:42:39 -0500 Organization: BRIAN INDUSTRIES Lines: 39 Message-ID: <337E426F.2112@mail.tpoint.net> Reply-To: bbarnes AT mail DOT tpoint DOT net NNTP-Posting-Host: pm2e-2-33.tpoint.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: bbarnes AT tpoint DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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