Netbeans C ++ looking for relative path for make.exe

I recently reinstalled Windows on one computer, but I was not able to reinstall Netbeans C ++ using MinGw / Msys and Qt 4.8.3. Every time I try to create an error message like this:

"/d/Eigene Dateien/Dokumente/NetBeansProjects/Test_1/"C:/msys/1.0/bin/make.exe"" -f nbproject/Makefile-Debug.mk QMAKE=/C/Qt/4.8.3/bin/qmake.exe SUBPROJECTS= .build-conf /bin/sh.exe: /d/Eigene Dateien/Dokumente/NetBeansProjects/Test_1/C:/msys/1.0/bin/make.exe: No such file or directory make.exe": *** [.build-impl] Error 127 BUILD FAILED (exit value 2, total time: 964ms) 

It seems to me that he is trying to execute commands with relativism on the way to the project. On my laptop I did the same thing when I installed Netbeans 7.2.1 (now this is 7.3, maybe the reason for this?), And there wasnโ€™t this problem.

+4
source share
3 answers

This is a bug caused by Java 7u21 in Netbeans 7.3. See https://netbeans.org/bugzilla/show_bug.cgi?id=228730 . One workaround if you donโ€™t want to update (although I donโ€™t understand why someone doesnโ€™t want to update) is to add the msys bin directory to the path and then use make.exe as the command for make (unlike on C: \ msys \ bin \ make.exe or where it is installed).

As the saying goes, the best solution is to simply upgrade to Netbeans 7.3.1, where the error seems to be fixed, as well as many errors.

+4
source

If C:\msys\1.0\bin does not have make.exe, you should use?: \ MinGW \ bin \ make.exe.

In addition, your Netbeans options should have a path to make exe.

enter image description here

+2
source

If you have your path configured (you can open the console and run make.exe anywhere in the path), you can only put "make.exe" (without a path) in the "Make command" option in C / C ++ netbean.

0
source

Source: https://habr.com/ru/post/1479191/


All Articles