As I am sure people will come across this in the future:
#I "/usr/lib/cli/glib-sharp-2.0/";;
#I "/usr/lib/cli/atk-sharp-2.0/";;
#I "/usr/lib/cli/gdk-sharp-2.0";;
(I just picked random locations where they were, I have plenty and
these were shorter than going into the gac)
I am guessing then the .fsx does some "magic" to try to find things ...
> #load "FSharp.Charting.Gtk.0.90.12/FSharp.Charting.Gtk.fsx";;
[Loading /home/greg/src/chart-example/FSharp.Charting.Gtk.0.90.12/FSharp.Charting.Gtk.fsx]
/home/greg/src/chart-example/FSharp.Charting.Gtk.0.90.12/FSharp.Charting.Gtk.fsx(28,1):
warning FS0211: The search directory '/usr/lib/mono/gtk-sharp-2.0'
could not be found
/home/greg/src/chart-example/FSharp.Charting.Gtk.0.90.12/FSharp.Charting.Gtk.fsx(27,1):
warning FS0211: The search directory
'/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/gtk-sharp-2.0'
could not be found
Binding session to '/usr/lib/cli/glib-sharp-2.0/glib-sharp.dll'...
After it works (sort of). My first chart came up quite different than
what the docs say it should:
> let data =
[ "foo", 1024;
"bar", 1234;
"baz", 1456;
"fud", 1777 ];;
Note in chart it uses 1,23,4 on Y axis not the data as in the example:
http://fslab.org/FSharp.Charting/BarAndColumnCharts.html is this a
change in the charting library?
But otherwise it seems to work.
Greg
Studying for the Turing test