This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Windows XP, MinGW. Scenario: - Create C/C++ project - Create Main C++ file in project - Open 'Project Properties' window - Add '../bin/test.exe' in Linker section ('Output' text field) - Build project - Run project ==> run failed
Please evaluate
Not a showstopper (We had this problem in NB6.1 also). Bug should be fixed in patch or next release.
Cannot reproduce with today's trunk code. I followed the steps as closely as I could and running the app works fine with both external terminal and internal output window. I'm using MinGW. Here is output: Running "C:\cygwin\bin\make.exe -f Makefile CONF=Debug" in C:\Users\thp\Documents\NetBeansProjects\Application_3 /usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf make[1]: Entering directory `/cygdrive/c/Users/thp/Documents/NetBeansProjects/Application_3' /usr/bin/make -f nbproject/Makefile-Debug.mk ../bin/test.exe.exe make[2]: Entering directory `/cygdrive/c/Users/thp/Documents/NetBeansProjects/Application_3' mkdir -p ../bin g++ -o ../bin/test.exe build/Debug/Cygwin-Windows/newmain.o make[2]: Leaving directory `/cygdrive/c/Users/thp/Documents/NetBeansProjects/Application_3' make[1]: Leaving directory `/cygdrive/c/Users/thp/Documents/NetBeansProjects/Application_3' Build successful. Exit value 0. Running "cmd.exe /c ..\bin\test.exe " in C:\Users\thp\Documents\NetBeansProjects\Application_3 Run successful. Exit value 0. Please provide more detailed steps to reproduce if the bug is still present.
Closing as worksforme....
Running "D:\msys\1.0\bin\make.exe -f Makefile CONF=Debug" in C:\tmp\Application_1 /usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf make[1]: Entering directory `/c/tmp/Application_1' /usr/bin/make -f nbproject/Makefile-Debug.mk ../bin/application_1.exe make[2]: Entering directory `/c/tmp/Application_1' mkdir -p build/Debug/MinGW-Windows rm -f build/Debug/MinGW-Windows/newmain.o.d g++.exe -c -g -MMD -MP -MF build/Debug/MinGW-Windows/newmain.o.d -o build/Debug/MinGW-Windows/newmain.o newmain.cpp mkdir -p ../bin g++.exe -o ../bin/application_1 build/Debug/MinGW-Windows/newmain.o make[2]: Leaving directory `/c/tmp/Application_1' make[1]: Leaving directory `/c/tmp/Application_1' Build successful. Exit value 0. Running "cmd.exe /c start sh "D:\netbeans-6.5rc2\cnd2\bin\dorun.sh" -p "[Press Enter to close window] " -f "C:\DOCUME~1\SOLDAT~1.SOV\LOCALS~1\Temp\nbcnd_rc29890" ..\bin\application_1 " in C:\tmp\Application_1 Run failed. Exit value 127.
It is really weird. It does work fine for me: I create an Application projet, add main C++ file, change linker output to ../bin/test, compile, link, and run: /usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .clean-conf make[1]: Entering directory `/c/Users/thp/Documents/NetBeansProjects/Application_4' rm -f -r build/Debug rm -f ../bin/test.exe make[1]: Leaving directory `/c/Users/thp/Documents/NetBeansProjects/Application_4' CLEAN SUCCESSFUL (total time: 234ms) /usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf make[1]: Entering directory `/c/Users/thp/Documents/NetBeansProjects/Application_4' /usr/bin/make -f nbproject/Makefile-Debug.mk ../bin/test.exe make[2]: Entering directory `/c/Users/thp/Documents/NetBeansProjects/Application_4' mkdir -p build/Debug/MinGW-Windows rm -f build/Debug/MinGW-Windows/newmain.o.d g++ -c -g -MMD -MP -MF build/Debug/MinGW-Windows/newmain.o.d -o build/Debug/MinGW-Windows/newmain.o newmain.cpp mkdir -p ../bin g++ -o ../bin/test build/Debug/MinGW-Windows/newmain.o make[2]: Leaving directory `/c/Users/thp/Documents/NetBeansProjects/Application_4' make[1]: Leaving directory `/c/Users/thp/Documents/NetBeansProjects/Application_4' BUILD SUCCESSFUL (total time: 405ms) I will mark it worksforme again. If you still see the problem, please specify you *exact* step from very beginning and please also attach the project.