473,466 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Mono and Gtk# programms.

Hello,

does anyone have successfull experience with mono on Windows.

I have download
mono-1.0.1-gtksharp-1.0-win32-0.5.exe

But to compile und run programs whitch use Gtk# is not possible:
The result is
error CS0006: Cannot find assembly `gtk-sharp.dll'
error CS0006: Cannot find assembly `glib-sharp.dll'

Does anyone know which environment variables are necessary ?!

Thanks a lot.

Frank Iversen

Jul 21 '05 #1
5 2256
"fliversen" <fl*******@compuserve.de> wrote in message
news:ch**********@ngspool-d02.news.aol.com...
Hello,

does anyone have successfull experience with mono on Windows.

I have download
mono-1.0.1-gtksharp-1.0-win32-0.5.exe

But to compile und run programs whitch use Gtk# is not possible:
The result is
error CS0006: Cannot find assembly `gtk-sharp.dll'
error CS0006: Cannot find assembly `glib-sharp.dll'

Does anyone know which environment variables are necessary ?!

Thanks a lot.

Frank Iversen


Most of the tools in the bin folder were not updated with the correct path
prior to shipping between 1.0 and 1.0.1.

On UNIX/Linux you could use the magic of symbolic links to fix this in a
jiffy. On Windows, I just made a directory to match the one the tools are
looking for. I tried uninstalling and installing to that directory but this
resulted in files in the wrong places. Just do this at the command prompt
and it will work:

C:\> mkdir C:\mono\Mono-1.0
C:\> cd mono\Mono-1.0
C:\mono\Mono-1.0> xcopy "C:\Program Files\Mono-1.0.1\"*.* /s

Also set MONO_PATH and MONO_CFG_DIR environment variables.

Oh, you could also edit all the tools manually or if you use Cygwin and know
how to use sed and a few other such tools then you could do a batch edit. MS
Word probably even has a handy way to do this.

Dilton

Jul 21 '05 #2
Fliversen,

Do not tell which language you use and ask your question as well in the
newsgroup

Microsoft.public.dotnet.languages.vb

You have a big change that you will get a very good answer there.

Cor

Hello,

does anyone have successfull experience with mono on Windows.

I have download
mono-1.0.1-gtksharp-1.0-win32-0.5.exe

But to compile und run programs whitch use Gtk# is not possible:
The result is
error CS0006: Cannot find assembly `gtk-sharp.dll'
error CS0006: Cannot find assembly `glib-sharp.dll'

Does anyone know which environment variables are necessary ?!

Thanks a lot.

Frank Iversen

Jul 21 '05 #3
Before my message is wrong understood, with my message I did not say that
the message from Dilton was not good, however when you want more answers.

Cor
Jul 21 '05 #4
Hello,

I have download
mono-1.0.1-gtksharp-1.0-win32-0.5.exe

Most of the tools in the bin folder were not updated with the correct path
prior to shipping between 1.0 and 1.0.1.

On UNIX/Linux you could use the magic of symbolic links to fix this in a
jiffy. On Windows, I just made a directory to match the one the tools are
looking for. I tried uninstalling and installing to that directory but

this resulted in files in the wrong places. Just do this at the command prompt
and it will work:

C:\> mkdir C:\mono\Mono-1.0
C:\> cd mono\Mono-1.0
C:\mono\Mono-1.0> xcopy "C:\Program Files\Mono-1.0.1\"*.* /s

Also set MONO_PATH and MONO_CFG_DIR environment variables.

Oh, you could also edit all the tools manually or if you use Cygwin and know how to use sed and a few other such tools then you could do a batch edit. MS Word probably even has a handy way to do this.


Thanks,
I have also move the mono directory to c:\Mono...
and I have now informations from the people of mono:

// with
// PKG_CONFIG_PATH=\Mono1.0.1\lib\pkgconfig
// >mcs hellogtk.cs -pkg:gtk-sharp

With these settings it is ok.

So long
Frank Iversen

I have not try
Jul 21 '05 #5
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uB**************@TK2MSFTNGP14.phx.gbl...
Before my message is wrong understood, with my message I did not say that
the message from Dilton was not good, however when you want more answers.

Cor


There is also a Mono mailing list:

http://www.go-mono.com/mailing-lists.html

Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: john bailo | last post by:
It's not out yet, but due this month: Developing on Linux with C# and .Net: The Mono Project by Daniel Solin Paperback, October 2003 It's definitely in my shopping cart!
2
by: jbailo | last post by:
I have been working with c#/dotnet and mono and also the Gtk toolkit ( I have used Qt as well). I am working on a java project at work too. My question is: why do we need to have local...
0
by: The Ruling Class | last post by:
The mono site has been cleaned up a lot especially in the area of downloads install. mono.ximian.com Here's a good learning site: http://www.gotmono.com/ Here's a tutorial
2
by: James Coburn's Grey Helmet Hair | last post by:
When I try to compile my GTK# app, the compiler says: jbailo@linux:~/mono> mcs buttons.cs -r gtk-sharp.dll -r glib-sharp.dll -r -o buttons.exe error CS2001: Source file 'buttons.exe' could not...
8
by: Everything Jute ! | last post by:
Programmers everyday are making a tragic error by not learning mono. Mono is te standard .net implementation for Windos and Linux. Learning mono is the key to writing fast, OOP, cross platform...
0
by: John Bailo | last post by:
http://www.onlamp.com/pub/wlg/7468 "Mono Live was released on May 24, 2005. Although there are several Live Linux CDs with Mono, they are all based on Knoppix and use KDE as the default Linux...
5
by: Baja Jones | last post by:
http://arstechnica.com/etc/linux/index.html Conclusion As you can clearly see, Mono brings almost limitless possibilities in breaking down the barrier between desktops: a commercial software...
5
by: fliversen | last post by:
Hello, does anyone have successfull experience with mono on Windows. I have download mono-1.0.1-gtksharp-1.0-win32-0.5.exe But to compile und run programs whitch use Gtk# is not possible:...
2
by: flagos | last post by:
Hi to all! Any of you know if it's possible to use the Cairo graphics library in a WIN32 c# application? I know there is a binding made for Mono but my app will run on win32 so obviously I wont...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.