Mail Archives: djgpp/1996/11/25/09:12:47
On Sat, 23 Nov 1996, Tandgnjost wrote:
> Date: Sat, 23 NOV 96 18:00:50 PDT=20
> From: Tandgnjost <viva DOT smauland AT swipnet DOT se>
> Newgroups: comp.os.msdos.djgpp
> Subject: Allegro again, help!!=20
>=20
>=20
> Since im very much a beginner i dare to ask yet another really silly ques=
tion.
> While trying to build an allegro example, ex1, just to test it, using rhi=
de=20
> things get bumpy. Compiling is succesfull but when linking my little scre=
en=20
> says, undefiened reference to `allegro_init=B4 and so on for all allegro=
=20
> "commands".
>=20
> Have I missed something really basic here or what???=20
>=20
> Please be patient an answer if you like!
>=20
> Tandgnjost.
>=20
I am not too familiar with rhide, but I don't think the problem is with
rhide. It sounds like you forgot to use the -lalleg to link in the
allegro library.
Try ...
=09gcc ex1.c -o ex1.exe -lalleg
I don't think, but don't know off hand if there are any more parameters=20
required.
cat
- Raw text -