By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,405 Members | 1,357 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,405 IT Pros & Developers. It's quick & easy.

Mono and Gtk# programms.

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
"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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.