Hey all,
I wanted to use pdcurses in windows in a simple console application I am making. My IDE is codeblocks but before everything else I had to compile pdcurses. According to what I read from googling and according to the readme file it should have been pretty straightforward. I should just get to the directory of pdcurses/win32 and when in there issue the following command:
mingw32-make -f mingwwin32.mak (since I am using gcc). The problem with this is that it gives errors while making. Do you have any idea what I am doing wrong? I am really scratching my head and trying to google for a similar problem but I get nothing. Any help would be appreciated. Here are the errors :
....
....
.....
a - pdcdisp.o
a - pdcgetsc.o
a - pdckbd.o
a - pdcscrn.o
a - pdcsetsc.o
a - pdcutil.o
copy pdcurses.a panel.a
process_begin: CreateProcess(NULL, copy pdcurses.a panel.a, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: [pdcurses.a] Error 2 (ignored)
gcc -O2 -Wall -I.. -otestcurs.exe ../demos/testcurs.c pdcurses.a
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/cceiQplg.o:testcurs.c:(.text+0x71c): undefine
d reference to `__ctype_ptr'
pdcurses.a(initscr.o):initscr.c:(.text+0xed): undefined reference to `_impure_pt
r'
pdcurses.a(initscr.o):initscr.c:(.text+0x31c): undefined reference to `_impure_p
tr'
pdcurses.a(initscr.o):initscr.c:(.text+0x352): undefined reference to `_impure_p
tr'
pdcurses.a(initscr.o):initscr.c:(.text+0x388): undefined reference to `_impure_p
tr'
pdcurses.a(initscr.o):initscr.c:(.text+0x3be): undefined reference to `_impure_p
tr'
pdcurses.a(pdcscrn.o):pdcscrn.c:(.text+0x802): more undefined references to `_im
pure_ptr' follow
collect2: ld returned 1 exit status
mingw32-make: *** [testcurs.exe] Error 1