www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/09/04:40:44

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: compile Allegro-test-files with RHIDE
Date: Fri, 07 Feb 1997 18:47:59 GMT
Organization: Oxford University
Lines: 12
Message-ID: <32fb7827.30370077@news.ox.ac.uk>
References: <5db1g1$gr4 AT news00 DOT btx DOT dtag DOT de>
NNTP-Posting-Host: mc31.merton.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 5 Feb 1997 22:27:13 GMT, G DOT Ohrner AT t-online DOT de (Gunter Ohrner)
wrote:

>But when I try to "MAKE" an EXE-file out of it, the compiler just says
>play.c(Linenumber) Error: undefined reference to '...'

When you are using Allegro, you must link in the library file for it.
To do this, do to Options then Libraries, and put 'alleg' in one of
the slots, making sure there's an X in the box to the left of it.
Press OK and your project should compile fine.

George Foot

- Raw text -


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