我尝试右键单击“项目->属性->链接器”并添加w32api
文件夹中的所有库,但这没有帮助。试了三天还是不行!
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: 进入目录`/cygdrive/c/Users/Νικολας/Desktop/CppApplication_1'
“/usr/bin/make”-f nbproject/Makefile-Debug.mk dist/Debug/Cygwin_4.x_1-Windows/cppapplication_1.exe
make[2]: 进入目录`/cygdrive/c/Users/Νικολας/Desktop/CppApplication_1'
mkdir -p 构建/调试/Cygwin_4.x_1-Windows
rm -f build/Debug/Cygwin_4.x_1-Windows/byreferencemain.od
gcc.exe -c -g -w -MMD -MP -MF build/Debug/Cygwin_4.x_1-Windows/byreferencemain.od -o build/Debug/Cygwin_4.x_1-Windows/byreferencemain.o byreferencemain.c
make[2]: 离开目录
/cygdrive/c/Users/Νικολας/Desktop/CppApplication_1' nbproject/Makefile-Debug.mk:67: recipe for target
.build-conf' 失败make[1]: 离开目录
/cygdrive/c/Users/Νικολας/Desktop/CppApplication_1' nbproject/Makefile-impl.mk:39: recipe for target
.build-impl' 失败make[2]: *没有规则来制作目标
../../../../cygwin/lib/libaclui.a', needed by
dist/Debug/Cygwin_4.x_1-Windows/cppapplication_1.exe'。停止。make[1]: * [.build-conf] 错误 2
制作:* [.build-impl] 错误 2
BUILD FAILED(退出值2,总时间:2s)