www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/25/11:17:39

From: Charles Terry <cterry AT plinet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linking problems / CONIO.H
Date: Wed, 25 Mar 1998 08:55:32 -0800
Organization: All USENET -- http://www.Supernews.com
Lines: 29
Message-ID: <35193704.6E00@plinet.com>
References: <3517F766 DOT C5D548FE AT mailexcite DOT com>
NNTP-Posting-Host: 15546 AT 207 DOT 174 DOT 3 DOT 134
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jeremy Vink wrote:
> 
> I'm having a couple of problems with DJGPP, grx, and bcc2grx...
> 
> First off: I seem to be unable to use conio.h in anything safely.
> RHIDE brings up a "Parse error before 0" message on the enum line which
> defines BLACK. For now I've got the entire enum statement commented, and
> it seems to be working okay, but that's obviously a temporary fix.

scary way to go. Only thing that comes to mind is
do you have COLORS defined elsewhere or are you trying
to compile conio.h directly?

> 
> Secondly, I'm having great difficulty linking apps which require
> librarys. As stated in the documents for GRX and BCC2GRX, I've added
> their lib directories, (Or in BCC2GRX's case, lib/dj) to the
> LIBRARY_PATH variable in djgpp.env... However, gcc complains about the
> functions which are a part of bcc2grx/grx not being defined. MAKE
> handled the demos for these programs fine, and manually linking the
> librarys into my apps fixes the problem.
> 
> Any help would be greatly appreciated.
> 
Go to the options-libraries in rhide and list grx, and bcc2grx and
check the boxes next to them. Rhide will generate -lgrx and
-lbcc2grx link options.

Charles Terry

- Raw text -


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