delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/12/16:27:12

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Graphics lib
Date: 12 Oct 1996 19:18:46 GMT
Organization: Oxford University, England
Lines: 21
Message-ID: <53oqum$qg7@news.ox.ac.uk>
References: <01bbb7f5$cd339180$3202c992 AT nb2 DOT acns DOT fsu DOT edu DOT acns DOT fsu DOT edu>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019