Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Compiler crashed

$
0
0

(referencing discussion: https://forums.xamarin.com/discussion/4721/newbie-compiler-crashed-with-code-126)

I'm unable to compile (Compiler crashed with code: 126) - as far as I can tell it's because the path maps to an older version of Mono (maybe assigned when previously installed Unity). I have since uninstalled Unity but unable to update the path (and therefore compile with Xamarin). Details below:

Error: /Library/Frameworks/Mono.framework/Versions/3.10.0/lib/mono/4.5/Microsoft.CSharp.Targets: Error: Compiler crashed with code: 126

Appreciate if anyone could share how they update the PATH such that /usr/bin/mcs points to /Library/Frameworks/Mono.framework/Versions/Current/bin rather than /Library/Frameworks/Mono.framework/Versions/2.4/bin as it does now

Below is from the build logs: /usr/bin/mcs: line 2: /Library/Frameworks/Mono.framework/Versions/2.4/bin/mono: No such file or directory /usr/bin/mcs: line 2: exec: /Library/Frameworks/Mono.framework/Versions/2.4/bin/mono: cannot execute: No such file or directory

Thanks,


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>