Build Mono 2.8 under Windows

When I try to compile mono 2.8 sources under VS2010, I get the following errors:

build only a monoproject:

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

IntelliSense: Unable to open source file "glib.h" \ metadata \ lock-tracer.h

build a complete mono solution:

\ mono \ profiler \ mono-profiler-logging.c (9): fatal error C1083: cannot include include file: 'config.h': no ​​such file or directory

\ mono \ profiler \ mono-cov.c (7): fatal error C1083: unable to open include file: 'mono / metadata / profiler.h': no ​​such file or directory

\ mono \ utils \ monobitset.c (1): fatal error C1083: cannot include include file: 'glib.h': no ​​such file or directory

+3
source share
2 answers

The msvc build is probably broken. This happens often, since no one in the Mono team checks their changes using the Microsoft compiler.

An awesome contributor is mostly supported in the msvc assembly, but it only captures that it gets the time.

+1
source

Do you have a linux box? Try this way

0
source

Source: https://habr.com/ru/post/1773782/


All Articles