From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: GRX Date: Wed, 23 Oct 1996 19:53:04 -0700 Organization: Three pounds of chaos and a pinch of salt Lines: 24 Message-ID: <326EDA10.5EE5@cs.com> References: <19961022 DOT 201644 DOT 9118 DOT 0 DOT waldo666 AT juno DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp110.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Will C Stockwell To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Will C Stockwell wrote: > > Ok, I used my brain and looked at the source for help with GrSetMode:-). > But now I can't compile this program that draws a line. The > compiler(gcc.exe of course) says I have an undefined reference to > GrSetMode and GrLine. Here's my code, what did I do wrong? Thanks. Any > help would be great. I really want to make programs using graphics, but > this is holding me back. Try linking the grx library when you compile, as in: gcc -o prog.exe prog.c -lgrx -- John M. Aldrich * Anything that happens, happens. * Anything that, in happening, causes something else to happen, causes something else to happen. * Anything that, in happening, causes itself to happen again, happens again. * It doesn't necessarily do it in chronological order, though. --- Douglas Adams