Error Using PDCurses: Cannot Open File Libc.C

Posted by cam on Stack Overflow See other posts from Stack Overflow or by cam
Published on 2010-04-26T13:52:04Z Indexed on 2010/04/26 13:53 UTC
Read the original article Hit count: 292

Filed under:
|

I'm getting the error:

1>LINK : fatal error LNK1104: cannot open file 'LIBC.lib'

Here's my source code:

#include <curses.h>

int main()
{
    initscr();          /* Start curses mode          */
    printw("Hello World !!!");  /* Print Hello World          */
    refresh();          /* Print it on to the real screen */
    getch();            /* Wait for user input */
    endwin();           /* End curses mode        */

    return 0;
}

I've configured the PDcurses library properly (added to Additional Include libraries, added folder to Additional Library Directories).

I've looked around for a bit, and I've tried adding Libc.C to the 'Ignore Library' list, which in turn causes about 150 errors.

Not sure what to do from here.

© Stack Overflow or respective owner

Related posts about c++

Related posts about pdcurses