Mail Archives: djgpp/1996/10/12/16:27:12
Harry A. Smith (hasmith AT nettally DOT com) wrote:
: Hi there, I have gotten djpgg up and running. I have tried to install the
: graphics lib grx20. I downloaded it, unzipped it and ran make in the main
...
: I put these files where I thought they should go, but when I try to compile
: the test programs I keep getting error msgs indicating calls to undefined
: routines.
Copy lib*.a into the lib directory, and then compile source files with
the -lgrx switch, e.g.
gcc -o myprog mysouce.c -lgrx
to make the executable straight from the source code, or
gcc -o myprog myobj1.o myobj2.o myobj3.o -lgrx
to link several object files. Make sure the -lgrx is at the end of the
line, though.
George Foot
- Raw text -