[Gtk-sharp-list] Newbie: Compiling
Mon, 11 Nov 2002 08:31:19 -0600
I have download the mono packages and was able to compile and run a very
simple "hello world" program. I also downloaded the gtk-sharp-0.5 release.
When I try to compile a cs file that uses gtk-sharp I get the following
You can run mcs with 'monomcs' on .NET, instead of mono, too.
imageBrowser.cs(99) error CS0246: Cannot find type `Gtk.Frame'
imageBrowser.cs(121) error CS0246: Cannot find type `Gtk.VBox'
imageBrowser.cs(46) error CS0246: Cannot find type `Gtk.Table'
Compilation failed: 3 error(s), 0 warnings
How can I compile the program and reference the libraries? I assume that
all the gtk-sharp libraries are in the folder.
In java when you want to run a program reference a jar (library) you would
java -cp me.jar;you.jar helloworld ....