Mail Archives: djgpp/1997/11/25/07:31:13

From: George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Headers Etc...
Date: 25 Nov 1997 05:31:19 GMT
Organization: Oxford University, England
Lines: 18
Message-ID: <65dnr7$1pk$>
References: <65dl3r$6f6 AT bgtnsc02 DOT worldnet DOT att DOT net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Mon, 24 Nov 1997 23:38:48 -0500 in comp.os.msdos.djgpp Walter Luke <NightWatchman AT Sacrilege DOT com> wrote:
: The following code:
:    Returns the error "undefined reference to 'g_set'". The same is true
: of any other call to a function in graph.h. Can someone point me in the
: right direction here?

I'm not sure what graphics library you're using, but you'll need to
link in the library file when creating your executable.  Add the
`-l' switch to the linking command line, followed immediately (no
space) by the name of the library file (in your `lib' directory).
This name will be of the form `libxxxxx.a', where `xxxxx' is the name
you'd put after `-l'.


george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -

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