你好,当我试图运行我的一个程序时,BUild是成功的。
“/ C / MinGW / msys / 1.0 / bin / make.exe”-f nbproject / Makefile-Debug.mk QMAKE = SUBPROJECTS = .build-conf make.exe [1]:输入目录
/c/Users/ruben/Documents/NetBeansProjects/jelly' "/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/jelly.exe make.exe[2]: Entering directory
/ c / Users / ruben / Documents / NetBeansProjects / jelly'mkdir -p build / Debug / MinGW-Windows rm -f“build / Debug / MinGW-Windows / main.o.d” g ++ -c -g -MMD -MP -MF“build / Debug / MinGW-Windows / main.o.d”-o build / Debug / MinGW-Windows / main.o main.cpp mkdir -p dist / Debug / MinGW-Windows g ++ -o dist / Debug / MinGW-Windows / jelly build / Debug / MinGW-Windows / main.o -lcurldll make.exe [2]:离开 目录/c/Users/ruben/Documents/NetBeansProjects/jelly' make.exe[1]: Leaving directory
/ c / Users / ruben / Documents / NetBeansProjects / jelly'建立成功(总时间:1s)
我的其他程序运行得很好所以我假设它与Path变量没有任何关系。 但无论如何我把输出放在这里
C:\ Windows \ System32> echo%path :; =& echo。%
C:\ Perl64 \站点\ BIN
C:\ Perl64 \ BIN
C:\ Program Files(x86)\ NVIDIA Corporation \ PhysX \ Common
C:\ Program Files(x86)\ Intel \ iCLS Client \
C:\ Program Files \ Intel \ iCLS Client \
C:\窗口\ system32
C:\ WINDOWS
C:\ Windows \ System32下\ WBEM
C:\ Windows \ System32下\ WindowsPowerShell \ V1.0 \
C:\ Program Files(x86)\ Intel \ OpenCL SDK \ 3.0 \ bin \ x86
C:\ Program Files(x86)\ Intel \ OpenCL SDK \ 3.0 \ bin \ x64
C:\ Program Files \ Intel \ Intel(R)Management Engine Components \ DAL
C:\ Program Files \ Intel \ Intel(R)Management Engine Components \ IPT
C:\ Program Files(x86)\ Intel \ Intel(R)Management Engine Components \ DAL
C:\ Program Files(x86)\ Intel \ Intel(R)Management Engine Components \ IPT
C:\ Program Files(x86)\ Microsoft SQL Server \ 100 \ Tools \ Binn \
C:\ Program Files \ Microsoft SQL Server \ 100 \ Tools \ Binn \
C:\ Program Files \ Microsoft SQL Server \ 100 \ DTS \ Binn \
C:\ Program Files(x86)\ GNU \ GnuPG \ pub
C:\ Program Files(x86)\ Nmap
C:\ MinGW的\ BIN
C:\ MinGW的\ MSYS \ 1.0 \ BIN
我认为它可能是makefile所以我重新创建了项目(不用说它不起作用)
我还尝试使用-static-libstdc ++进行编译,以避免错误的dll被链接或改变(因为我在另一个stackoverflow帖子上看到了它)
当我将控制台类型更改为标准输出时,会弹出这个重新启动的visual studio JIT调试器。