cannot compile with ncurses
I am exploring the ncurses library functions so that I can use them in my own programs. I copied the sample code from
http://
to make a simple "HelloWorld" program, but when I try to compile I get the following errors:
/tmp/cctGezOm.o: In function `main':
helloworld.
helloworld.
helloworld.
helloworld.
helloworld.
helloworld.
helloworld.
collect2: ld returned 1 exit status
I checked synaptic to be sure I had the headers installed. I have libncurses5, libncurses5-dev, libncursesw5, ncurses-base, & ncurse-bin. Searching for ncurses.h finds it @ /usr/include so I'm stumped as to why the program wont compile.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu ncurses Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- W. Prins
- Solved:
- Last query:
- Last reply: