To: djgpp AT delorie DOT com Subject: Re: GRX Message-ID: <19961023.201112.3214.0.waldo666@juno.com> References: <19961022 DOT 201644 DOT 9118 DOT 0 DOT waldo666 AT juno DOT com> From: waldo666 AT juno DOT com (Will C Stockwell) Date: Thu, 24 Oct 1996 01:31:34 EDT Now I get a message that says, Cannot open -lgrx. File doesn't exist. Will Stockwell mailto:waldo666 AT juno DOT com http://www.geocities.com/SiliconValley/Park/5981/ On Wed, 23 Oct 1996 19:53:04 -0700 "John M. Aldrich" writes: >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 >