From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiler Date: 24 Feb 1997 09:22:43 GMT Organization: Oxford University Lines: 27 Message-ID: <5erml3$q2t@news.ox.ac.uk> References: <331108B2 DOT 7E30 AT postoffice DOT worldnet DOT att DOT net> NNTP-Posting-Host: mc31.merton.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Patrick J. Morris (danalas AT postoffice DOT worldnet DOT att DOT net) wrote: : I was trying to run some example Allegro files and it seems that I : need to link the files with some library. I really don't know about : that library and I don't even really know how to use RHIDE. I do : know C/C++ and know that without this information I can't write : anything. Please help me!!!. The readme.txt file that comes with Allegro explains this. You need to have unzipped Allegro expanding directory entries, and you also need to have installed the make utility (mak375b.zip). Then, go to your Allegro directory and type 'make'. It will take a while, but when it's finished you should have a new file called liballeg.a. Copy/move this file to the lib subdirectory of your DJGPP directory and put the file allegro.h into the include subdirectory. When you write a program that uses Allegro, you can #include in each source file that needs it, and tell RHIDE to link in the Allegro library by going to Options/Libraries and putting 'alleg' in one of the text boxes, making sure the box next to it is activated. The same process that creates the library file will also compile all of the example programs, incidentally. You'll need C++ support installed to compile some of them. -- George Foot Merton College, Oxford.