From: Prashant TR
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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
Precedence: bulk
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.