我正在尝试使用 mono 的 mkbundle 创建一个独立的 C# 应用程序,我安装了 Xcode 和 Mono Developer Kit(我确定它是 MDK 而不是运行时)。然而我使用 mkbundle test.exe 运行 mkbundle
我得到了这些错误
Compiling:
as -o temp.o temp.s
cc -g -o a.out -Wall temp.c `pkg-config --cflags --libs mono-2` temp.o
sh: pkg-config: command not found
temp.c:1:10: fatal error: 'mono/metadata/mono-config.h' file not found
1 error generated.
[Fail]
发生了什么?