mail-archives/gtk-sharp-list/2016-April/011584.html

124 строки
4.7 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:02:55 +03:00
<!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:&quot;C:/Program Files
(x86)/Mono/lib/gtk-sharp-2.0/pango-sharp.dll&quot; -r:&quot;C:/Program Files
(x86)/Mono/lib/gtk-sharp-2.0/atk-sharp.dll&quot; -r:&quot;C:/Program Files
(x86)/Mono/lib/gtk-sharp-2.0/gdk-sharp.dll&quot; -r:&quot;C:/Program Files
(x86)/Mono/lib/gtk-sharp-2.0/gtk-sharp.dll&quot; -r:&quot;C:/Program Files
(x86)/Mono/lib/gtk-sharp-2.0/glib-sharp.dll&quot;
- antonius
On 2016-04-24 20:19, hack attack wrote:
&gt;<i> Help!
</I>&gt;<i>
</I>&gt;<i> Any suggestions to eliminate the following compile errors:
</I>&gt;<i>
</I>&gt;<i> C:\Program Files (x86)\Mono&gt;mcs e:\c#\hellogtk.cs -pkg:gtk-sharp-2.0
</I>&gt;<i> error CS2001: Source file `Files' could not be found
</I>&gt;<i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/pango-sharp.dll'
</I>&gt;<i> could not be found
</I>&gt;<i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/atk-sharp.dll'
</I>&gt;<i> could not be found
</I>&gt;<i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/gdk-sharp.dll'
</I>&gt;<i> could not be found
</I>&gt;<i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/gtk-sharp.dll'
</I>&gt;<i> could not be found
</I>&gt;<i> error CS2001: Source file `(x86)/Mono/lib/gtk-sharp-2.0/glib-sharp.dll'
</I>&gt;<i> could not be found
</I>&gt;<i> Compilation failed: 6 error(s), 0 warnings
</I>&gt;<i>
</I>&gt;<i> Source file e:\c#\hellogtk.cs:
</I>&gt;<i> using System;
</I>&gt;<i> using Gtk;
</I>&gt;<i> class Hello
</I>&gt;<i> {
</I>&gt;<i> static void Main ()
</I>&gt;<i> {
</I>&gt;<i> Application.Init ();
</I>&gt;<i> Window window = new Window (&quot;Hello Mono World&quot;);
</I>&gt;<i> window.Show ();
</I>&gt;<i> Application.Run ();
</I>&gt;<i> }
</I>&gt;<i> }
</I>&gt;<i>
</I>&gt;<i> I have even put the source file in mono\lib wth same error.
</I>&gt;<i> What is causing the error?
</I>&gt;<i> Thank you for your help
</I>&gt;<i> A. Hack
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<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>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
</I>&gt;<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>