From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: heres the info.... Date: Mon, 09 Jun 1997 11:09:31 +0200 Organization: TU Chemnitz-Zwickau Message-ID: <339BC84B.70EF9759@Mathematik.tu-chemnitz.de> References: <339B18A7 DOT 4E62 AT gapeach DOT net> NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 55 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jacob Martin wrote: > > ERROR MESSAGES!!! > > E:\DJGPP\EXAMPLES>gcc ex1.c I'm not using allegro so often, but the first thing I do when I get a new package is to read the readme's: Here are some parts of them: readme.txt: [snip] ============================================ ============ Installing Allegro ============ ============================================ [snip] See allegro.txt for instructions on linking your program with Allegro. and now allegro.txt: ======================================= ============ Using Allegro ============ ======================================= See readme.txt for a general introduction, copyright details, and instructions on how to compile Allegro. 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. There are various ways you can do this: - Give full paths for everything, eg: #include gcc foobar.c -o foobar.exe /allegro/liballeg.a - Add your Allegro directory to the include and library search paths with the -I and -L compiler options, eg: #include gcc -I/allegro -L/allegro foobar.c -o foobar.exe -lalleg - Add your Allegro directory to the C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, and LIBRARY_PATH in djgpp.env, and then: #include gcc foobar.c -o foobar.exe -lalleg Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************