From: "Twilight Knight" Newsgroups: comp.os.msdos.djgpp Subject: Re: beginner compiling error Date: Wed, 23 Dec 1998 19:20:10 -0500 Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! Lines: 26 Message-ID: <75s14u$jar$1@remarQ.com> References: <36808066 DOT 3896149 AT yahoo DOT com> NNTP-Posting-Host: 216.68.36.208 X-Trace: 914458590 9RGZFVYSC24D0D844C usenet53.supernews.com X-Complaints-To: newsabuse AT remarQ DOT com X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Have you tried: copy c:\djgpp\allegro\allegro.h c:\djgpp\include ? That usually solves the problem. and always compile Allegro apps with gcc ex1.c -o ex1.exe -lalleg _________________________________________________ James5 <_james5_ AT yahoo DOT com> wrote in message <36808066 DOT 3896149 AT yahoo DOT com>... >Im getting this error whenever I try to compile a .c file with #include >"allegro.h" in it. >ex1.c:12: allegro.h: No such file or directory (ENOENT) >Im new to djgpp and allegro as well as programming and would like to >know if its a compiling error or something Im not doing right. I copied >a file from the examples dir in allegro and pasted into a directory I >made called c:\djgpp\Mytests. All other programs I made not using >allegro worked fine. >I used the command: gcc ex1.c >I do have the file in c:\djgpp\allegro\allegro.c but I dont know how to >get rid of that error. >Thanks for any help that you may give to this newbie :) > > >