FSharp.Charting.Gtk crashes on launch

Viewed 107

I am new to F# and am trying run my code on a mac. I am using Visual Studio(Xamarin) and used NuGet to install FSharp.Charting.Gtk. I also have Gtk3 installed using macports.

When I try to run this simple code:

open FSharp.Charting    

[<EntryPoint>]
let main argv = 
    Chart.Line([ for i in 1 .. 10 -> i, i * i ]).ShowChart()

It compiles but simply crashes on launch with this lengthy error: https://pastebin.com/4n8jBMi5

Does anyone know what I am doing wrong? Many thanks

1 Answers
Related