I was working on a C program with Code::Blocks on Windows when I realized I needed the pdcurses library, so I downloaded it and build it, but after importing it into Code::Blocks, when I ran some test code, I got these errors:
The code is:
#include <stdio.h>
#include <stdlib.h>
#include <pdcurses.a>
int main(){
initsrc();
printw("Hello world!\n");
refresh();
getch();
endwin();
return 0;
}
How can I resolve this?