LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-25-2005, 01:55 PM   #1
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Rep: Reputation: 33
mono compilation failure


Hi,
I am new to Mono and recently installed version 0.5 on Mandrake 10.started
the tutorial found at...
http://www.monodevelop.com/tutorials/helloworld.aspx

When I tried to compile the example I got the following error messages...

[Task:File=/home/tamtam/CSharp/Tutorials/HelloWorld/MyWindow.cs, Line=17,
Column=-1, Type=Warning, Description='Gtk.Window.Window[GLib.GType]' is
obsolete(CS0612)
[Task:File=/home/tamtam/CSharp/Tutorials/HelloWorld/MyWindow.cs, Line=17,
Column=-1, Type=Warning, Description='Gtk.Window.Window[GLib.GType]' is
obsolete(CS0612)

I am at a loss as to what to do to rectify the problem. I don't know if the
tutorial is compatible with mono version 0.5, or if I havenot installed the
mono bundle correctly. Am I missing something.

I downloaded Mono from...
http://www.mono-project.com/Downloads
and from the Linux installation
http://www.go-mono.com/archive/1.0.6...-installer.bin

I would really like to continue to develop c# with mono on linux to
experience cross platform programming. so any help would be appreciated.

Regards
Tam.
 
Old 04-16-2005, 07:33 AM   #2
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Rep: Reputation: 30
I had the same problem compilling the example.

Try changing line 18 to:

Code:
	public MyWindow () : base ("MyWindow")
Worked for me!

Paddy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 07:59 PM
kernel compilation -- quiet failure rhoyerboat Linux - Software 1 09-13-2005 03:03 AM
mplayerplugin: compilation failure kaon Slackware 18 09-02-2005 05:50 AM
Compilation Failure success Rate 1500% drache777 Linux - Newbie 8 01-13-2005 06:41 PM
winex compilation failure garfield81 Linux - Software 9 08-27-2004 02:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration