I'm trying to run this code in Xcode.
I get the error for the following function call mvaddwstr(row, col, shade);
Cannot initialize a parameter of type 'const char *' with an lvalue of type 'const wchar_t *'
Use of undeclared identifier 'mvaddwstr'; did you mean 'mvaddstr'?
Replace 'mvaddwstr' with 'mvaddstr'
I followed the advice here (accepted answer) and compiled the code from command line using
gcc -o 3D-Walk -D_XOPEN_SOURCE_EXTENDED 3D-Walk.cpp -lncurses
This works without any errors. How can I do the same in Xcode?