【发布时间】:2014-07-08 00:23:34
【问题描述】:
我正在运行 Linux 的 i.MX6 机器上从 GIT 主分支构建单声道。 我最初尝试了默认打包版本,但发现它以其他奇怪的方式被破坏,并且缺少的依赖项不可用(即 UiaDbusBridge.dll)。因此从源头构建。 请注意,我不是交叉编译。我在 i.MX6 主机上进行本地编译。
$ unname -a Linux linaro-alip 3.0.35-02855-g3fccb21 #1 SMP PREEMPT Thu Dec 12 12:48:08 MST 2013 armv7l armv7l armv7l GNU/Linux当我运行make -k check时会报如下错误
* mini-codegen.c:809 的断言,条件 `i == sel' 未满足 堆栈跟踪: 本机堆栈跟踪: 来自 gdb 的调试信息: ==================================================== ================ 执行本机代码时收到 SIGABRT。这通常表明 单声道运行时或本机库之一中的致命错误 由您的应用程序使用。 ==================================================== ================ /bin/bash:第 13 行:2943 中止 ./mono-wrapper --compile-all --verify-all --security=verifiable $i /home/linaro/mono/mcs/class/lib/net_2_0/System.Windows.Forms.dll 验证失败其他一切似乎都还不错,我已经编译并运行了命令行应用程序。 我也可以编译 System.Windows.Forms 应用程序,但是当尝试运行它们时,表单会在关闭之前短暂打开并引发以下错误
Fontconfig 警告:忽略 C.UTF-8:不是有效的语言标签 * mini-codegen.c:809 的断言,条件 `i == sel' 未满足 堆栈跟踪: 在 在 System.Windows.Forms.TextBoxBase.Draw (System.Drawing.Graphics,System.Drawing.Rectangle) 在 System.Windows.Forms.TextBoxBase.OnPaintInternal (System.Windows.Forms.PaintEventArgs) 在 System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message&) 在 System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) 在 System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message&) 在 System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message&) 在 System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) 在 System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) 在 System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) 在 System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&) 在 System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) 在 System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) 在 System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) 在 System.Windows.Forms.Application.Run (System.Windows.Forms.Form) 在 OrientationTester.Program.Main () 在(包装器运行时调用) object.runtime_invoke_void (object,intptr,intptr,intptr) 本机堆栈跟踪: 来自 gdb 的调试信息: ==================================================== ================ 执行本机代码时收到 SIGABRT。这通常表明 单声道运行时或本机库之一中的致命错误 由您的应用程序使用。 ==================================================== ================ 中止我该如何解决这个问题?那么我可以在这个平台上运行基于 System.Windows.Forms 的代码吗?
【问题讨论】:
-
没关系。经过一周的搜索和玩耍,我发现已经为此提出了一个错误。 bugzilla.xamarin.com/show_bug.cgi?id=20239
标签: c# winforms mono arm embedded-linux