Mail Archives: djgpp/1998/03/25/11:17:39
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 -