Mail Archives: djgpp/1995/04/20/02:23:36
>> I have a strange error, every time i include gppconio.h (or conio.h) and
>> compile the source to an object and link it with the other parts. I get the
>> 'undeclared reference' error... What am i doing wrong ? Must is add an
>> parameter to the compiler options (-l...)..
>
> gcc does no automatically link in the C++ library libgpp.a (check the
> name) so you wolud need to include the library link option -lgpp in
> order to link. ^^^^
This is probably a typo (I hope, not a Freudian one ;-), but the correct
library is -lpc, as gppconio.h has nothing to do with C++.
- Raw text -