How on earth do i get PDcurses to work with MinGW? I've already managed to compile it, and i now have a file called "libpdcurses.a" in my lib directory, and the curses.h header in "include", but i still get undefined reference errors when trying to use any functions from the library.
Code:
#include <curses.h>
int main(void)
{
initscr();
endwin();
}
If i try to compile the above program with:
Code:
g++ -Llibpdcurses.a main.cpp
i just get 2 undefined reference errors, i've also tried virtually any variation of the above, still not working?