Mail Archives: djgpp/2000/03/20/18:27:16

Message-ID: <000d01bf92ba$09707300$36eea3c3@ervsab>
From: "ervin nesimovic" <ervin DOT nesimovic AT gamma DOT telenordia DOT se>
To: <djgpp AT delorie DOT com>
References: <8b3k0t$dor$1 AT cubacola DOT tninet DOT se> <14549 DOT 59620 DOT 66707 DOT 252662 AT envy DOT midpec DOT com>
Subject: Re: Problem with degui and allegro!?
Date: Mon, 20 Mar 2000 23:17:09 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Reply-To: djgpp AT delorie DOT com

Here is what I had typed:

#include <allegro.h>
void initieraGrafik();

int main()
  textout_centre(screen,font,"Hello World",160,100,2);
  return 0;

void initieraGrafik()
And answer I get
error: grafika.o: In function 'main': undefined reference to 'font'
same for 'screen' and 'texout_center' and 'readkey'.
There is allso an Error for : undefined reference to 'install_allegro' and
'install_keyboard' and 'set_gfx_mode'

So I wander can it be with my installation. I have copied libdegui.a to lib
and builder.exe to bin and made a link in libraries for emu, alleg and
Can you help me now?

----- Original Message -----
From: "Prashant TR" <tr AT midpec DOT com>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Monday, March 20, 2000 10:01 AM
Subject: Re: Problem with degui and allegro!?

> On 19 March 2000, Ervin Nesimovic wrote:
> > I have installed a c++ (djgpp) compilator and when I want to run some
> > files I get an error message. Compiling goes very well, but not making
> > files. I have copied files to lib and bin kataloges. I linked them in
> > libraries, but it still won't work.
> Please tell us the exact commandline you used to compile your program. You
> need to compile it this way.
> gpp -o test.exe
> You should get an exe file in this case. Otherwise, there could be a
> with the installation.
> And what files are those which you copied to the bin and lib directories.
> There shouldn't be a need to do this. All you need to do is unzip the
> packages with the pathnames.

- Raw text -

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