From: Jason Alexander Newsgroups: comp.os.msdos.djgpp Subject: Using grx22 under djgpp Date: Sun, 25 Jan 1998 19:47:21 -0800 Organization: University of California, Irvine Lines: 28 Message-ID: <34CC0748.2745FAA9@ea.oac.uci.edu> NNTP-Posting-Host: pv1821.pv.reshsg.uci.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello. I've downloaded and installed DJGPP and been able to successfully compile a few simple programs (my own) using gcc. I'd like to implement simple graphics in some of them, but I am having difficulty in getting my programs to recognize the grx libraries. I think that the grx22 library is correctedly installed since I am able to compile the sample programs in djgpp/contrib/grx22/test. However, I cannot figure out how implement any of the grx22 functions in my own programs. For example, suppose I have a 100x100 array of 0's and 1's that I'd like to display graphically (0 = black, 1 = white). How would I go about implementing this? (I've looked at the sample program life.c, but can't figure it out). What include files do I need? Which libraries? How do I set RHIDE up so that it automatically notifies gcc of the correct paths, etc? If anyone could offer a few tips to a beginning programmer, I would greatly appreciate it. (If your inclination is to tell me to RTFM, please tell me at least which FM to read. :-) Thanks, Jason Alexander