www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/17/13:04:41

Message-ID: <19991117175204.23627.rocketmail@web1404.mail.yahoo.com>
Date: Wed, 17 Nov 1999 09:52:04 -0800 (PST)
From: Prashant TR <prashant_news AT yahoo DOT com>
Subject: Re: Problem with allegro
To: denis jobin <djobin1 AT globetrotter DOT qc DOT ca>
Cc: djgpp AT delorie DOT com
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com


--- denis jobin <djobin1 AT globetrotter DOT qc DOT ca> wrote:
> When I compile something that use function from
> allegro.h, (like some of
> the examples included in the allegro package) it`s
> work well. But when I
> come to build it, I get a lot of "undefined
> reference to..." error message.

If you are compiling, using RHIDE, you need to go to
the libraries section in the options menu and type
alleg. Check the box next to it. Recompile.

From command line, you can use 

gcc -c -o prog.o prog.c
gcc -o prog.exe prog.o -lalleg

> I builded allegro, I used "make all" instead of
> "make" because I didn`t had
> the .exe required to use "make". 

Even if you typed "make all" that should run make,
isn't it? I doubt if this is the problem.


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

- Raw text -


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