This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pdcurses


Hello,

  I can't seem to get pdcurses to work for me.  I got the library 
from the following URL:
ftp://ftp.deerinet.nb.ca/pub/gnu-win32/pdcurses-cygwin32.new.zip


  I am using cygnus gnu-win32 b17.1 with win95.  I tried to compile 
the following source by typing "gcc test.c" and
"gcc -lcurses test.c"

#include <stdio.h>
#include <curses.h>

main(){
 char x;

 printf("This is a test.\n");
 x=getch();
 printf("This is the result.\n");
}


I got the following error:
c:\temp\/cc0010001.o(.text+0x41):test2.c: undefined reference to 
`stdscr'
c:\temp\/cc0010001.o(.text+0x47):test2.c: undefined reference to 
`wgetch'

Ben.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]