delorie.com/archives/browse.cgi | search |
> From: RayeR <glaux AT centrum DOT cz> > Date: Mon, 29 Mar 2010 05:47:35 -0700 (PDT) > Bytes: 2558 > > > No, it simply means that you need to supply libgpm.a fromhttp://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/libs/gp.... > > That way ncurses should support mouse usage in DOS as well > > Well I got gpm but still have some errors > linking with [object files] -lreadline -lncurses -lgpm > > c:/djgpp/lib/libc.a(conio.o):conio.c:(.text+0x890): multiple > definition of `_getch' > c:/djgpp/lib/libncurs.a(lib_gen.o):lib_gen.c:(.text+0x390): first > defined here > c:/djgpp/lib/libc.a(conio.o):conio.c:(.text+0x960): multiple > definition of `_ungetch' > c:/djgpp/lib/libncurs.a(lib_ungetch.o):lib_ungetch.c:(.text+0xc0): > first defined here > collect2: ld returned 1 exit status > > BTW if I compile simple example that doesn't use conio it works fine > WITHOUT gpm... Again, why do you need conio?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |