Hi,
When I want to run a simple project in NetBeans, I receive an error :

! was unexpected at this time.
c:\MinGW\bin\make.exe: *** [.validate-impl] Error 255
BUILD FAILED (exit value 2, total time: 219ms)

My eclipse is working properly with this MinGW installed on my computer . But NetBeans not .

Thanks for your helps ........

It is my understanding that NetBeans is not compatible with the version of make.exe provided by MinGW. Generally, you should install Msys after installing MinGW and point your netbeans IDE at the Msys Make (all other components from mingw should work)

Other IDE's don't have this problem, so Eclipse, Code:Blocks, Dev-CPP, and similar wouldn't have this problem.

Personally, I prefer NetBeans because of the superior code completion, auto-formatting, and descriptive error messages.

Thanks .
But I have this problem now :

/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Users/Behzad/Documents/NetBeansProjects/ACM'
/bin/make  -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/acm.exe
make[2]: Entering directory `/c/Users/Behzad/Documents/NetBeansProjects/ACM'
mkdir -p build/Debug/MinGW-Windows
make[2]: mkdir: Command not found
make[2]: *** [build/Debug/MinGW-Windows/main.o] Error 127
make[2]: Leaving directory `/c/Users/Behzad/Documents/NetBeansProjects/ACM'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/c/Users/Behzad/Documents/NetBeansProjects/ACM'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 844ms)

I used cygwin and problem is solved .
But now when I want to compile the project, my project is compiled properly with no errors and the program is executed but the iostream or std or string words in editor is underlined .
Why ?
It say that this headers or identifiers is not found .

This article has been dead for over six months. Start a new discussion instead.