This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Building Qyoto

Tags: qyoto, ubuntu, mono, bindings qyoto, ubuntu, mono, bindings qyoto, ubuntu, mono, bindings
(comma "," separated)
indspaudio
Registered Member
Posts
3
Karma
0

Building Qyoto

Fri May 17, 2013 11:49 am
Hello,
I am trying to build qyoto on ubuntu 10.04.While configuring the assemblygen package(cloned from git://anongit.kde.org/assemblygen) for building i encountered an error "Couldn't find a valid C# compiler" - CMAKE_CSharp_COMPILER-NOTFOUND. I have installed mono(Mono JIT compiler version 2.4.4)


What could be wrong?

-Thanks
Minio
Registered Member
Posts
177
Karma
1
OS

Re: Building Qyoto

Fri May 17, 2013 1:03 pm
(Disclaimer: I try to avoid compiling as much as possible; also, I am not programmer in any case)
As far as I remember, to compile anything you need development files. They are usually in packages with names ending with -dev. On my Debian system there is libmono-2.0-dev package and I think this is what you need (although on your system version number might be lesser).
There is also mono-devel package which promises to pull entire stack of mono development files, CLR, CIL, class libraries and other funny-sounding acronyms. I am not sure whether you need all of them, but you might download it just to be on safe side.

By the way, support for this release (on desktop) has ceased about a week ago. Most likely you have better things to do, but you should consider upgrading your system.


Best regards
Mirosław Zalewski
indspaudio
Registered Member
Posts
3
Karma
0

Re: Building Qyoto

Fri May 17, 2013 1:56 pm
Thanks for the reply. I tried this on ubuntu 12.04 on a virtual machine and the build was successful.
But now am stuck with another issue. I tried to compile my first simple application (from http://zetcode.com/gui/csharpqyoto/introduction/)
using System;
using QtCore;
using QtGui;
public class QyotoApp : QWidget
{
public QyotoApp()
{
WindowTitle = "Tooltip";

ToolTip = "This is QWidget";
Resize(250, 150);
Move(300, 300);
Show();
}

[STAThread]
public static void Main(String[] args)
{
new QApplication(args);
new QyotoApp();
return QApplication.Exec();
}
}

by command
dmcs -r:/usr/local/lib/qyoto-qtcore.dll -r:/usr/local/lib/qyoto-qtgui.dll test.cs

Running the executable fails with and error code "The entry point method could not be loaded".
What could be wrong here?

Thanks again.

Minio wrote:(Disclaimer: I try to avoid compiling as much as possible; also, I am not programmer in any case)
As far as I remember, to compile anything you need development files. They are usually in packages with names ending with -dev. On my Debian system there is libmono-2.0-dev package and I think this is what you need (although on your system version number might be lesser).
There is also mono-devel package which promises to pull entire stack of mono development files, CLR, CIL, class libraries and other funny-sounding acronyms. I am not sure whether you need all of them, but you might download it just to be on safe side.

By the way, support for this release (on desktop) has ceased about a week ago. Most likely you have better things to do, but you should consider upgrading your system.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell