[MonoDevelop] gtk.vb

Rafael Teixeira monoman at gmail.com
Mon Jul 18 22:24:25 EDT 2005


gtk-sharp is a package reference not a source file, so you need to
issue this command

mbas -pkg gtk-sharp test.vb

if you type just mbas you will see a help screens explaining the most
used options for the compiler

good learning,

On 7/18/05, jim lawrence <fedorajim at gmail.com> wrote:
> from my latest compile
> 
>  mbas -r test.vb gtk-sharp
> MonoBASIC Compiler  0.96.2.0 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
> --------
> THIS IS AN ALPHA SOFTWARE.
> --------
> error BC2001: Source file 'gtk-sharp' could not be found!!!
> Compilation failed: 1 Error(s), 0 warnings
> [jim at Notebook mono-apps]$
> 
> 
> On 7/18/05, jim lawrence <fedorajim at gmail.com> wrote:
> > I installed mono via nrpms repository.
> > rpm -qa | grep mono
> > mono-complete-1.1.8-1.1.fc4.nr
> > mono-web-1.1.8-1.1.fc4.nr
> > mono-basic-1.1.8-1.1.fc4.nr
> > monodoc-1.0.6-1.1.fc4.nr
> > mono-extras-1.1.8-1.1.fc4.nr
> > mono-data-oracle-1.1.8-1.1.fc4.nr
> > monodevelop-0.7-1.1.fc4.nr
> > mono-core-1.1.8-1.1.fc4.nr
> > mono-data-sybase-1.1.8-1.1.fc4.nr
> > mono-data-sqlite-1.1.8-1.1.fc4.nr
> > mono-data-1.1.8-1.1.fc4.nr
> > mono-data-postgresql-1.1.8-1.1.fc4.nr
> > mono-locale-extras-1.1.8-1.1.fc4.nr
> >
> > gtk
> >
> > gtk-sharp-gapi-1.0.10-1.1.fc4.nr
> > gtksourceview-sharp-0.10-1.1.fc4.nr
> > gtk-sharp-1.0.10-1.1.fc4.nr
> > gtk-sharp2-1.9.5-1.1.fc4.nr
> > gtk2-devel-2.6.7-4
> > gtk-doc-1.3-2
> > authconfig-gtk-4.6.12-1
> > gtkhtml3-3.6.2-1
> > gtk+-1.2.10-39
> > gtk-engines-0.12-7
> > Source code
> >
> > #####################################
> > Imports System
> > Imports Gtk
> >
> > Module GtkTest
> >
> >         Sub Main ()
> >           Dim win as Window
> >           Dim Btn as Button
> >
> >           Application.Init ()
> >           Win = new Window ("Test Application") 'Create the Window
> >           Btn = new Button ("Click Here") 'Create the button
> >           Win.Add (Btn) " add the button to the form
> >           Win.ShowAll ()
> >           Application.Run ()
> >        End Sub
> >
> > End Module
> >
> > ###################################################
> >
> >
> > I think I found my error in Dim win as Window  ( thr  lower case w )
> >
> > On 7/18/05, Rafael Teixeira <monoman at gmail.com> wrote:
> > > Hi Jim,
> > >
> > > First: The right list for such a question is mono-vb at lists.ximian.com.
> > >
> > > Second: What version of mono did you use? Which release or SVN branch?
> > >
> > > Third: Seems that you transcribed from that screenshot, and so you may
> > > have mistyped something, and that case you should sent your small
> > > source attached for us to reproduce the problem. The copy of gtk.vb
> > > source we have compiles fine with mbas.
> > >
> > > Fourth: We have a new version of gtk.vb in SVN that is slightly more
> > > complex, and it compiles fine: it is located in mcs/mbas/Test/misc in
> > > the mcs module of SVN.
> > >
> > > Please tell us how can we help you further.
> > >
> > > Regards,
> > >
> > > On 7/17/05, jim lawrence <fedorajim at gmail.com> wrote:
> > > > Not sure if this is the correct list to post a question to on VB but
> > > > if not please point me in the correct direction.
> > > >
> > > > I tried to compile a simple vbapp from
> > > > http://www.mono-project.com/Image:Gtk-vb.png
> > > > It errors out with this...
> > > > mbas test.vb -r gtk-sharp
> > > > MonoBASIC Compiler  0.96.2.0 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
> > > > --------
> > > > THIS IS AN ALPHA SOFTWARE.
> > > > --------
> > > > syntax error, got token `ERROR'
> > > > test.vb(14,0) error BC30201: Expression expected
> > > > test.vb(14,19) error BC0001: THIS IS CRAZY
> > > > Compilation failed: 2 Error(s), 0 warnings
> > > >
> > > > Any help on this error would be great.
> > > > --
> > > >
> > > >
> > > > Registered Linux User: #376813
> > > > www.fedorajim.homelinux.com
> > > > _______________________________________________
> > > > Monodevelop-list mailing list
> > > > Monodevelop-list at lists.ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> > > >
> > >
> > >
> > > --
> > > Rafael "Monoman" Teixeira
> > > ---------------------------------------
> > > I'm trying to become a "Rosh Gadol" before my own eyes.
> > > See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
> > > It hurts!
> > >
> >
> >
> > --
> >
> >
> > Registered Linux User: #376813
> > www.fedorajim.homelinux.com
> >
> 
> 
> --
> 
> 
> Registered Linux User: #376813
> www.fedorajim.homelinux.com
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!


More information about the Monodevelop-list mailing list