我在Mac OS X中安装了单声道。我在单声道网站上使用these指令。第一个控制台应用程序工作,因为它没有使用任何软件包。但是,当我运行gmcs hello.cs -pkg:gtk-sharp-2.0
时,它告诉我我没有安装pkg-config。所以我安装了pkg-config。现在,我得到这个错误,因为pkg配置不知道单包路径:mac上的单声道的pkg-config路径
Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-sharp-2.0' found
error CS8027: Error running pkg-config. Check the above output.
哪里是单包路径和做什么我需要添加到.bash_profile
,以让这个单能找到包?
使用你的建议,我发现'/ Library/Frameworks/Mono.framework/Versions/2.6.7/lib/pkgconfig'中的文件 – None 2010-08-06 20:08:50
这有助于覆盖我在Linux笔记本电脑上安装的默认版本/ usr/bin/mono)到不同的位置(/opt/mono-2.10/bin/mono)。 - 谢谢。 – slm 2012-06-27 15:45:29