From: "b279" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help me setup jdgpp thingy. Date: Mon, 24 Sep 2001 09:59:27 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: newsabuse AT supernews DOT com Lines: 33 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Allegro needs to be built and installed before you can use it. Read > the installation instructions in the Allegro distribution, they > explain how to do that. This is what it says in the Allegro.txt file All the Allegro functions, variables, and data structures are defined in allegro.h. You should include this in your programs, and link with liballeg.a. To do this you should: - Put the following line at the beginning of all C or C++ files that use Allegro: #include - If you compile from the command line or with a makefile, add '-lalleg' to the end of the gcc command, eg: gcc foo.c -o foo.exe -lalleg - If you are using Rhide, go to the Options/Libraries menu, type 'alleg' into the first empty space, and make sure the box next to it is checked. I am using Rhide to compile and run the demo.c file. So I put that in the Option/Libraries menu. When I compile, I get this error: '..allegro/demo/demo.c<28> Error: allegro.h: No such file or directory '