delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/20/20:49:57

From: Prashant TR <tr AT midpec DOT com>
MIME-Version: 1.0
Message-ID: <14550.55047.990699.454567@envy.midpec.com>
Date: Tue, 21 Mar 2000 06:57:27 +0500 (MVT)
To: djgpp AT delorie DOT com
Subject: Re: Problem with degui and allegro!?
In-Reply-To: <000d01bf92ba$09707300$36eea3c3@ervsab>
References: <8b3k0t$dor$1 AT cubacola DOT tninet DOT se>
<14549 DOT 59620 DOT 66707 DOT 252662 AT envy DOT midpec DOT com>
<000d01bf92ba$09707300$36eea3c3 AT ervsab>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 20 March 2000, ervin nesimovic wrote:

> error: grafika.o: In function 'main':
> Error:grafika.cc(.text+0x2f): 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
> degui!
> Can you help me now?

Sure. I can help you now. This is exactly how much information you must
provide.

The problem is that you haven't linked that allegro library with it.

So, you should do this:

gpp grafika.cc -o grafika.exe -lalleg

This will solve all those problems.

- Raw text -


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