gpt4 book ai didi

在C处编译错误netbeans,cygwin

转载 作者:行者123 更新时间:2023-11-30 17:50:02 25 4
gpt4 key购买 nike

我尝试右键单击“项目->属性->链接器”并添加 w32api 文件夹中的所有库,但这没有帮助。尝试了三天还是失败!

"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory `/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]: Entering directory `/cygdrive/c/Users/Νικολας/Desktop/CppApplication_1'

mkdir -p build/Debug/Cygwin_4.x_1-Windows

rm -f build/Debug/Cygwin_4.x_1-Windows/byreferencemain.o.d

gcc.exe -c -g -w -MMD -MP -MF build/Debug/Cygwin_4.x_1-Windows/byreferencemain.o.d -o build/Debug/Cygwin_4.x_1-Windows/byreferencemain.o byreferencemain.c

make[2]: Leaving directory /cygdrive/c/Users/Νικολας/Desktop/CppApplication_1'
nbproject/Makefile-Debug.mk:67: recipe for target
.build-conf' failed

make[1]: Leaving directory /cygdrive/c/Users/Νικολας/Desktop/CppApplication_1'
nbproject/Makefile-impl.mk:39: recipe for target
.build-impl' failed

make[2]: * No rule to make target ../../../../cygwin/lib/libaclui.a', needed by
dist/Debug/Cygwin_4.x_1-Windows/cppapplication_1.exe'. Stop.

make[1]: * [.build-conf] Error 2

make: * [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 2s)

最佳答案

make[2]: * No rule to make target >../../../../cygwin/lib/libaclui.a'

看起来你不仅需要 libaclui.a 库,但这个文件应该放在正确的位置,通过键入命令确保该文件存在:

ls ../../../../cygwin/lib/libaclui.a

在 cygwin 控制台

关于在C处编译错误netbeans,cygwin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17497792/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com