Home > Make Error > Make Error 127 No Such File Or Directory

Make Error 127 No Such File Or Directory

Thanks! (Win 7, MinGw) Back to top quinnaginJoined: 19 Mar 2016Posts: 2 Posted: Wed Mar 23, 2016 12:06 am Post subject: I have nb version 7. This works for me. There is no problem with starting make, but unfortunately generated makefiles uses recursive make invocation. There was a bug (id 228730) fixed in v 7.3: Workaround is to change make.exe from full path to just "make.exe" in tools, options, C++, Build Tools, MinGw, make command. http://edvinfo.com/make-error/make-error-configuration-file-etc-startup-mk.html

So when make tries to start another instance of make (from within the makefile) it expects (I think so) to find msys-style paths (/c/msys/1.0/bin/make) in it's args[0]. The first demo program, "welcome" gives the following error on build (between the lone quotes; spaces added between lines): " "/c/Users/0184343/Documents/NetBeansProjects/Welcome_2/"C:/RTN/MINGW/msys/1.0/bin/make.exe"" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf /bin/sh: /c/Users/0184343/Documents/NetBeansProjects/Welcome_1/C:/RTN/MINGW/msys/1.0/bin/make.exe: No such file But looks like this makes msys's make.exe to fail. Back to top current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

So does anyone see a problem in the command the IDE issues in the first line? Just starting NetBeans, and its C++. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed fails.

Another workaround is to set MAKE variable: >set MAKE=/c/MinGW/msys/1.0/bin/make Quote Andrew Krasny: What I see now is that when java invokes a process it encloses executable in quotes (introduced u21?). NetBeans IDE NetBeans Platform Plugins Docs & Support Community Partners HOME / NetBeans forums NetBeans Forums FAQ Search Memberlist Register Profile Log in to check Maybe this is a normal case on Windows. As a result it tries to join working directory with args[0] and exec this and...

As a fallback it can work with c:\msys\1.0\bin\make.exe, but fails to do so with "c:\msys\1.0\bin\make.exe".