尝试在 NetBeans 中编译 c++。我使用 MakeGW 作为工具集合。
/usr/bin/which: no pkg-config in (/cygdrive/c/MinGW/bin:/usr/bin:/cygdrive/c/Borland/Delphi7/Bin:/cygdrive/c/Borland/Delphi7/Projects/Bpl:/cygdrive/c/Program Files/PC Connectivity Solution:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Intel/DMIX:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files/NTRU Cryptosystems/NTRU TCG Software Stack/bin:/cygdrive/c/Program Files/Wave Systems Corp/Gemalto/Access Client/v5:/cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared:/cygdrive/c/Program Files/Common Files/Roxio Shared/10.0/DLLShared:/cygdrive/c/MinGW/bin:/cygdrive/c/Program Files/Java/jdk1.6.0_31/bin:/cygdrive/c/MinGW/bin)
制作:pkg-config:找不到命令
制作:* [.build-pre] 错误 127
我的路径是“
C:\Program Files\Java\jdk1.6.0_31\bin\;C:\MinGW\bin
我不明白为什么它甚至提到了cygwin