Message-ID: <35EBC161.B1EC0D17@95.student.wau.nl> Date: Tue, 01 Sep 1998 11:41:54 +0200 From: Inf User MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: RHIDE and Allegro References: <000101bdd409$d65c2880$284d08c3 AT arthur> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 137.224.133.105 Lines: 29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Arthur wrote: > > I finally got my first c++ program working in RHIDE!!! Now i downloaded the > > the Allegro game library, and i tried to complie thier examples and thier > > demo, but got SOOO many erros i cant list them here. What am i suppose to do > > to get allegro to work with RHIDE? Thanks > > Don't compile Allegro with RHIDE. In the Allegro directory there is a file called > MAKEFILE. This means that if you go to that directory in DOS prompt and type MAKE, > Allegro will be compiled. > > Note that Allegro doesn't come with the game library pre-compiled. To compile an > Allegro program, you need to link it with liballeg.a (using -lalleg). However if this > file does not exist, you have problems. The makefile takes all the source files and > compiles them into the library, then compiles all the example programs. > > James Arthur > jaa AT arfa DOT clara DOT net > ICQ#15054819 Yes, compile Allegro using MAKE. But when you have done that, you can use RHIDE to edit/compile programs that use Allegro; it's so much easier to debug programs with the integrated debugger of RHIDE. Dont forget to include 'alleg' (NOT 'liballeg') in the list of libraries (Options->Libraries window) and to check the checkbox next to it. Daniël Hörchner dbjhorchner AT hotmail DOT com