Program show errors while using functions of curses.h
when i try to build a program using code::blocks in which ncurses are used, it shows some error.
For example in this program
#include<ncurses.h>
int main() {
initscr();
getch();
wclear(stdscr);
}
It shows the error:
Compiling: /home/ansy/
Linking console executable: /home/ansy/
/home/ansy/
asdf.cpp:
asdf.cpp:
asdf.cpp:
asdf.cpp:
asdf.cpp:
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
5 errors, 0 warnings
What should i do to rectify this problem?
Thank you in advance..
The Yash!!!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Wong Yong Jie
- Solved:
- Last query:
- Last reply: