我正在尝试使用mono的mkbundle创建C#应用程序的独立版本,我已经安装了Xcode和Mono开发工具包(我确定是MDK而不是运行时)。然而,当我使用mkbundle test.exe命令时,我遇到了以下错误信息:
发生了什么事情?
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]
发生了什么事情?