简体   繁体   English

在Windows下构建mono 2.8

[英]Building mono 2.8 under Windows

While trying to compile the mono 2.8 sources under VS2010 i am getting following errors: 在尝试编译VS2010下的单声道2.8源时,我遇到以下错误:

build only mono project: 仅构建单声道项目:

error LNK1181: cannot open input file 'libmono.lib' \\msvc\\LINK mono 错误LNK1181:无法打开输入文件'libmono.lib'\\ msvc \\ LINK mono

IntelliSense: cannot open source file "glib.h" \\metadata\\lock-tracer.h IntelliSense:无法打开源文件“glib.h”\\ metadata \\ lock-tracer.h

build complete mono solution: 构建完整的单声道解决

\\mono\\profiler\\mono-profiler-logging.c(9): fatal error C1083: Cannot open include file: 'config.h': No such file or directory \\ mono \\ profiler \\ mono-profiler-logging.c(9):致命错误C1083:无法打开包含文件:'config.h':没有这样的文件或目录

\\mono\\profiler\\mono-cov.c(7): fatal error C1083: Cannot open include file: 'mono/metadata/profiler.h': No such file or directory \\ mono \\ profiler \\ mono-cov.c(7):致命错误C1083:无法打开包含文件:'mono / metadata / profiler.h':没有这样的文件或目录

\\mono\\utils\\monobitset.c(1): fatal error C1083: Cannot open include file: 'glib.h': No such file or directory \\ mono \\ utils \\ monobitset.c(1):致命错误C1083:无法打开包含文件:'glib.h':没有这样的文件或目录

Likely the msvc build is broken. 可能msvc构建被打破了。 This happens frequently as no one on the Mono team tests their changes with Microsoft's compiler. 这种情况经常发生,因为Mono团队中没有人使用Microsoft的编译器测试他们的更改。

The msvc build is mainly maintained by an awesome contributor, but he only fixes it he gets the time. msvc构建主要由一个令人敬畏的贡献者维护,但他只修复了他得到的时间。

Do you have a linux box? 你有一个linux盒子吗? Try this way 试试这种方式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM