Re: Problem compiling a test Allegro question.
On Wed, 11 Feb 2004 18:06:18 -0800
Brad Boyer <flar@allandria.com> wrote:
> > So, am I missing something here?
> >
> > $ gcc-3.3 -o first first.c -lalleg
>
> Yes, you're missing something right here. There are more libraries
> that you need to link into your program. I counted at least 4
> different ones that should be added based on the errors. It most
> likely works on windows because it only uses stuff that is linked into
> every windows program. For the X11 version of Allegro, it depends on a
> ton of other stuff. You definitely need pthread, X11, XF86DGA, and
> XF86VidMode. There may be more. It should be spelled out for you in
> the Allegro documentation.
>
> Brad Boyer
> flar@allandria.com
Thank you. I've actually been looking at the wrong documentation... I
found out how to fix it via the documentation. Thanks for letting me
know it was at least in there.
-Mannequin.
Reply to: