addwstr function in ncurses

I using function addwstr; of ncurses , and I import many #include like this
#include <ncurses.h>
#include <ncursesw/ncurses.h>
#include <wchar.h>
but it's still error: ‘addwstr’ was not declared in this scope

I don't know what's wrong? please help me
Is this the only error message you got?
Topic archived. No new replies allowed.