我下载了 Mono 并将其安装在 Win 7 64bit 上
我去了这个网站按照说明http://www.mono-project.com/Mono_Basics
我打开单声道命令提示符并编译并运行控制台 hello world
然后我尝试用
gmcs hello.cs -pkg:gtk-sharp-2.0
我明白了
C:\Code\NoControl\Mono>gmcs hello.cs -pkg:gtk-sharp-2.0
error CS0006: Metadata file `C:/PROGRA\~2/MONO-2\~1.8/lib/mono/gtk-sharp-2.0/pango-sharp.dll' could not be found
error CS0006: Metadata file `C:/PROGRA\~2/MONO-2\~1.8/lib/mono/gtk-sharp-2.0/atk-sharp.dll' could not be found
error CS0006: Metadata file `C:/PROGRA\~2/MONO-2\~1.8/lib/mono/gtk-sharp-2.0/gdk-sharp.dll' could not be found
error CS0006: Metadata file `C:/PROGRA\~2/MONO-2\~1.8/lib/mono/gtk-sharp-2.0/gtk-sharp.dll' could not be found
error CS0006: Metadata file `C:/PROGRA\~2/MONO-2\~1.8/lib/mono/gtk-sharp-2.0/glib-sharp.dll' could not be found
Compilation failed: 5 error(s), 0 warnings
我该如何解决?
这与此处无法使用未回答的单命令提示符为 gtk# 编译 hello.cs 的问题类似。
- -pkg 在 Windows 上工作吗?
- 我需要下载一些额外的东西吗?
- 缩写路径提到 ~1.8/ 是否应该说 ~10.8 表示我的单声道版本是 2.10.8?