[Mono-dev] Small issues with the Windows msvc builds, and how I got around them
alex at alexforster.com
Sun Aug 25 17:10:49 UTC 2013
Referring to commit 29c42bf0dc— just a few tips on how I got the -sgen configurations to compile in 32bit release mode with Visual Studio 2012.
msvcrt apparently doesn’t implement _strtoull(). According to this Connect article, the functionality exists as _strtoui64().
So, as a comment in the Connect article suggested, in eglib\src\glib.h I added this at around line 275 inside of the _MSC_VER ifdef…
#define strtoll _strtoi64
#define strtoull _strtoui64
The profiler-cov project links to mono-2.0.lib, but for the -sgen builds, it should be linking to monosgen-2.0.lib. I know the .csproj’s are generated from the makefiles so this isn’t a “real” fix, but all it took for me to get the project to build was to make the project link to the correct library.
The x64 build fails miserably because the __asm keyword isn’t supported by Microsoft’s x64 compiler.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list