bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ncurses netbeans trouble


From: Confidential
Subject: ncurses netbeans trouble
Date: Thu, 10 Nov 2011 01:38:20 -0500

Im trying to find a screenshot (step by step) instructions for getting ncurses to work in netbeans 6.9.1
 
Since I am a beginner, (3 months of c++ class in college) and the web is full of partial answers, I didnt want to go messing around in all the properties dialogs.
 
I have cygwin installed on my WinXP machine, and I believe I selected the complete selection of necessary files for ncurses when I installed it.. but I get errors (below) when adding the include as follows..  any help appreciated!
 
p.s. sorry if you get thousands of emails.. I spent several days searching and googling before deciding to ask for help..
 
Thanks - Dana Locy
 
#include <ncurses.h>
 
_________________
 
 
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .clean-conf
make[1]: Entering directory `/cygdrive/c/Documents and Settings/MyUser/My Documents/MyCode/ncurses'
rm -f -r build/Debug
rm -f dist/Debug/Cygwin-Windows/ncurses.exe
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/MyUser/My Documents/MyCode/ncurses'
CLEAN SUCCESSFUL (total time: 266ms)
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/cygdrive/c/Documents and Settings/MyUser/My Documents/MyCode/ncurses'
"/usr/bin/make"  -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin-Windows/ncurses.exe
make[2]: Entering directory `/cygdrive/c/Documents and Settings/MyUser/My Documents/MyCode/ncurses'
mkdir -p build/Debug/Cygwin-Windows
rm -f build/Debug/Cygwin-Windows/main.o.d
g++.exe    -c -g -MMD -MP -MF build/Debug/Cygwin-Windows/main.o.d -o build/Debug/Cygwin-Windows/main.o main.cpp
make[2]: Leaving directory `/cygdrive/c/Documents and Settings/MyUser/My Documents/MyCode/ncurses'
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/MyUser/My Documents/MyCode/ncurses'
main.cpp:9:21: ncurses.h: No such file or directory
main.cpp: In function `int main()':
main.cpp:19: error: `initscr' undeclared (first use this function)
main.cpp:19: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:20: error: expected `;' before "addstr"
main.cpp:22: error: `endwin' undeclared (first use this function)
make[2]: *** [build/Debug/Cygwin-Windows/main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 375ms)
reply via email to

[Prev in Thread] Current Thread [Next in Thread]