Mail Archives: djgpp/2002/10/17/02:00:11
On Thu, 17 Oct 2002 05:54:39 GMT, null AT labofmadness DOT com (JMH) wrote:
>Hours of pouring through Dejagoogle haven't given me assistance (and
>since the last question I asked ended up with me realizing I must have
>had a screwy download to blame for my troubles, I'm asking you folks.)
>
>Trying to get pdcurses working.
>
>Unpacked the binary.
>
>#include <curses.h>
>
>int main() {
> initscr();
> return 0;
>}
>
>compiles file, but linking gives:
>
>Error: undefined reference to '_initscr'
>
>Similiar errors appear when other curses functions are called. I saw
>an answer on google that boiled down to RTFM, but that ain't helpin'.
>
>Please let me know what I'm doing wrong (or if one of the fabled c++
>wrappers for curses is what I should be using in the first place).
>
>-JMH
Hate following up to myself, but I wanted to mention that compiling
the curses demo 'firework.c' outside of the pdcurses makefile is
giving the same kind of problems as the above. (It made me a perfectly
nice firework.exe when I compiled pdcurses earlier.)
-JMH
- Raw text -