473,785 Members | 2,481 Online
Bytes | Software Development & Data Engineering Community
+ 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 2284
"fliversen" <fl*******@comp userve.de> wrote in message
news:ch******** **@ngspool-d02.news.aol.co m...
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.publi c.dotnet.langua ges.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**********@p lanet.nl> wrote in message
news:uB******** ******@TK2MSFTN GP14.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
1828
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
1728
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 assemblies or libraries for link or run? Can't a single 'framework server' be set up on the Internet to sent the services of the framework?
0
1055
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
391
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 be opened Compilation failed: 1 error(s), 0 warnings jbailo@linux:~/mono> mcs buttons.cs -r gtk-sharp.dll -r glib-sharp.dll -o buttons.exe buttons.cs(8) error CS0246: The namespace `System.Drawing' can not be found (missing assembly reference?)
8
1675
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 applications. Mono virtualized the OS in the most efficient way possible -- making Linux programming a dream, instead of a chore. Go mono !
0
1348
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 desktop. This distribution is based on the Ubuntu Live Linux CD. In many ways, the outstanding experience available from the Mono Live CD is made possible from Ubuntu. Since Ubuntu features GNOME as the default desktop, it only follows that due to...
5
1540
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 provider would target Mono and it would "just work" on all platforms that Mono supported. How is this different from Java? In my opinion Java makes things harder than it needs to be. For starters, enforced
5
445
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: The result is error CS0006: Cannot find assembly `gtk-sharp.dll'
2
3162
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 need Mono. Any help will be appreciated. Thanks!
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6739
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.