Mail Archives: djgpp/1996/10/24/03:41:29
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" <fighteer AT cs DOT com>
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 <fighteer AT cs DOT com>
>
>* 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
>
- Raw text -