www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/21/18:38:04

From: cswhite AT comp DOT uark DOT edu (Christopher White)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Newbie Question on Setting up Rhide
Date: 21 Oct 1996 13:32:14 GMT
Organization: The University of Arkansas
Lines: 28
Message-ID: <54fu0u$37s@picayune.uark.edu>
References: <845889155 DOT 25275 DOT 0 AT ciscs19 DOT demon DOT co DOT uk>
NNTP-Posting-Host: comp.uark.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

cs19 AT cityscape DOT co DOT uk (BDC Client Team) writes:

>I have just downloaded djgpp2 and rhide and am trying to learn how to use
>it.  If I compile basic programs (hello world, etc) that use the standard
>libraries (stdio, etc) rhide will happily compile and link them.  However,
>I also downloaded the allegro library, and when I try to compile the example
>programs from within rhide, they compile o.k. but during the linking stage
>I get undefined reference to xxx, where xxx is one of the allegro functions.
>I have copied liballeg.a into my /lib subdirectory and have copied allegro.h
>into my include directory.

I'm very new with DJGPP too, so this might not help.

In the IDE, click on OPTIONS...LIBRARIES.  This is where you tell RHIDE
what libraries to link in.  You specify the library by putting what comes
after the "lib" and before the ".a".  So, to link the allegro library, you
would put "alleg" on one of the lines (and be sure the check-box is
checked).  

That SHOULD work.

Please note one other problem I had working with RHIDE.  It expects the
filenames to be case-sensitive.  (This becomes a problem with Windows95).
If you have a file in your project called "MY_FILE.CPP" it won't compile
it because it does not recognize the extension "CPP" (all CAPS).  However,
if you re-name it "my_file.cpp" or even "MY_FILE.cpp", it will work.  It
took me a while to figure that one out.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019