зеркало из https://github.com/mono/mail-archives.git
124 строки
4.7 KiB
HTML
124 строки
4.7 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [Gtk-sharp-list] Compile Errors
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=Re%3A%20%5BGtk-sharp-list%5D%20Compile%20Errors&In-Reply-To=%3C571D14C5.4060205%40gmail.com%3E">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<style type="text/css">
|
||
|
pre {
|
||
|
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
|
||
|
}
|
||
|
</style>
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="011583.html">
|
||
|
<LINK REL="Next" HREF="011585.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[Gtk-sharp-list] Compile Errors</H1>
|
||
|
<B>Antonius Riha</B>
|
||
|
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=Re%3A%20%5BGtk-sharp-list%5D%20Compile%20Errors&In-Reply-To=%3C571D14C5.4060205%40gmail.com%3E"
|
||
|
TITLE="[Gtk-sharp-list] Compile Errors">antoniusriha at gmail.com
|
||
|
</A><BR>
|
||
|
<I>Sun Apr 24 18:47:33 UTC 2016</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="011583.html">[Gtk-sharp-list] Compile Errors
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="011585.html">[Gtk-sharp-list] How to enable TreeView with alternate row color
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#11584">[ date ]</a>
|
||
|
<a href="thread.html#11584">[ thread ]</a>
|
||
|
<a href="subject.html#11584">[ subject ]</a>
|
||
|
<a href="author.html#11584">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>Looks like a bug with escaping white spaces in mcs.
|
||
|
|
||
|
To work around you can manually add the references instead of using the
|
||
|
-pkg option: -r:"C:/Program Files
|
||
|
(x86)/Mono/lib/gtk-sharp-2.0/pango-sharp.dll" -r:"C:/Program Files
|
||
|
(x86)/Mono/lib/gtk-sharp-2.0/atk-sharp.dll" -r:"C:/Program Files
|
||
|
(x86)/Mono/lib/gtk-sharp-2.0/gdk-sharp.dll" -r:"C:/Program Files
|
||
|
(x86)/Mono/lib/gtk-sharp-2.0/gtk-sharp.dll" -r:"C:/Program Files
|
||
|
(x86)/Mono/lib/gtk-sharp-2.0/glib-sharp.dll"
|
||
|
|
||
|
- antonius
|
||
|
|
||
|
On 2016-04-24 20:19, hack attack wrote:
|
||
|
><i> Help!
|
||
|
</I>><i>
|
||
|
</I>><i> Any suggestions to eliminate the following compile errors:
|
||
|
</I>><i>
|
||
|
</I>><i> C:\Program Files (x86)\Mono>mcs e:\c#\hellogtk.cs -pkg:gtk-sharp-2.0
|
||
|
</I>><i> error CS2001: Source file `Files' could not be found
|
||
|
</I>><i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/pango-sharp.dll'
|
||
|
</I>><i> could not be found
|
||
|
</I>><i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/atk-sharp.dll'
|
||
|
</I>><i> could not be found
|
||
|
</I>><i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/gdk-sharp.dll'
|
||
|
</I>><i> could not be found
|
||
|
</I>><i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/gtk-sharp.dll'
|
||
|
</I>><i> could not be found
|
||
|
</I>><i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/glib-sharp.dll'
|
||
|
</I>><i> could not be found
|
||
|
</I>><i> Compilation failed: 6 error(s), 0 warnings
|
||
|
</I>><i>
|
||
|
</I>><i> Source file e:\c#\hellogtk.cs:
|
||
|
</I>><i> using System;
|
||
|
</I>><i> using Gtk;
|
||
|
</I>><i> class Hello
|
||
|
</I>><i> {
|
||
|
</I>><i> static void Main ()
|
||
|
</I>><i> {
|
||
|
</I>><i> Application.Init ();
|
||
|
</I>><i> Window window = new Window ("Hello Mono World");
|
||
|
</I>><i> window.Show ();
|
||
|
</I>><i> Application.Run ();
|
||
|
</I>><i> }
|
||
|
</I>><i> }
|
||
|
</I>><i>
|
||
|
</I>><i> I have even put the source file in mono\lib wth same error.
|
||
|
</I>><i> What is causing the error?
|
||
|
</I>><i> Thank you for your help
|
||
|
</I>><i> A. Hack
|
||
|
</I>><i>
|
||
|
</I>><i>
|
||
|
</I>><i> _______________________________________________
|
||
|
</I>><i> Gtk-sharp-list maillist - <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">Gtk-sharp-list at lists.ximian.com</A>
|
||
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
|
||
|
</I>><i>
|
||
|
</I>
|
||
|
--
|
||
|
Antonius Riha
|
||
|
Kohlenhofgasse 5/8
|
||
|
1150 Wien
|
||
|
|
||
|
Tel.: +43 650 4031388
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="011583.html">[Gtk-sharp-list] Compile Errors
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="011585.html">[Gtk-sharp-list] How to enable TreeView with alternate row color
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#11584">[ date ]</a>
|
||
|
<a href="thread.html#11584">[ thread ]</a>
|
||
|
<a href="subject.html#11584">[ subject ]</a>
|
||
|
<a href="author.html#11584">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
|
||
|
<hr>
|
||
|
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
|
||
|
mailing list</a><br>
|
||
|
</body></html>
|