Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building mono 2.8 under Windows

While trying to compile the mono 2.8 sources under VS2010 i am getting following errors:

build only mono project:

error LNK1181: cannot open input file 'libmono.lib' \msvc\LINK mono

IntelliSense: cannot open source file "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-cov.c(7): fatal error C1083: Cannot open include file: 'mono/metadata/profiler.h': No such file or directory

\mono\utils\monobitset.c(1): fatal error C1083: Cannot open include file: 'glib.h': No such file or directory

like image 368
Gobliins Avatar asked Jan 28 '26 13:01

Gobliins


1 Answers

Likely the msvc build is broken. This happens frequently as no one on the Mono team tests their changes with Microsoft's compiler.

The msvc build is mainly maintained by an awesome contributor, but he only fixes it he gets the time.

like image 155
jpobst Avatar answered Jan 31 '26 06:01

jpobst



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!