I wanted to try my hands on C++ and wanted to use the same netbeans IDE since I have being using it for sometime for Java development. I downloaded the Cygwin tools and set up the IDE accordingly. When I try to run the application it says that the build was successful...,
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/cygdrive/c/Users/LJee/netbeans/tut-install/CppApplication_1'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin-Windows/cppapplication_1.exe
make[2]: Entering directory `/cygdrive/c/Users/LJee/netbeans/tut-install/CppApplication_1'
make[2]: `dist/Debug/Cygwin-Windows/cppapplication_1.exe' is up to date.
make[2]: Leaving directory `/cygdrive/c/Users/LJee/netbeans/tut-install/CppApplication_1'
make[1]: Leaving directory `/cygdrive/c/Users/LJee/netbeans/tut-install/CppApplication_1'
BUILD SUCCESSFUL (total time: 450ms)
But the program will not run. It throws a Java Null pointer exception.
java.lang.NullPointerException
RUN FAILED (exit value -1, total time: 26ms)
Since there are no Java code in C++ programs this has to be an issue with the IDE. I saw this thread in the Netbeans forum http://forums.netbeans.org/topic52231.html
Here the user has changed the IDE version which I don't want to do.
Is there anyone out there who has come across this situation who can help me out. I'll be glad! Thanks in advance!!