Mail Archives: djgpp/1996/10/24/00:45:28
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 -