【问题标题】:Gwan mono : calls to Gwan c# API dump coreGwan mono : 调用 Gwan c# API 转储核心
【发布时间】:2013-04-14 06:14:13
【问题描述】:

我正在调查 gwan 并尝试使用 mono 运行 c# 示例,但遇到了一些问题。

只要 c# Gwan API (wrapped) 被击中,hello.cs 就会转储核心。除非调用 Gwan API,否则单声道样本可以正常工作。如果您使用 loan.cs 示例,它会将输出写入标准输出(服务器上的控制台),并且 Gwan 调用会被注释掉:

  • 第 74 行

    //狼疮评论:Gwan.xbufCat(Gwan.getReply(args[0]), reply.ToString());

  • 第 237 行

    //Gwan.xbufCat(Gwan.getReply(args[0]), reply.ToString());

我错过了什么吗? 配置 c# Gwan API 还有其他事情要做吗?

谢谢

梅尔

【问题讨论】:

    标签: c# api mono g-wan


    【解决方案1】:

    您的 Linux 发行版或 Mono 发行版可能会导致这种情况发生(Linux 发行版使用不同的默认配置选项,并且连续的 Mono 发行版并不总是相互兼容)。

    在 Ubuntu 10.10 和 Ubuntu 12.04(均为 64 位)上,以下 Mono 版本运行良好:

    mono -V Mono JIT compiler version 3.0.2 (tarball Wed Dec 26 11:43:57 CET 2012) Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: Included Boehm (with typed GC and Parallel Mark)

    由于您没有透露任何有关您的操作系统或您正在使用的 Mono 运行时的信息,因此能做到的最大程度就是告诉我们什么对我们有用。

    loan.cs cmets 由 Lupus(来自 Mono 的团队)添加,他慷慨地重写了代码,让 G-WAN 更好地使用 Mono 运行时。

    【讨论】:

      猜你喜欢
      • 2023-04-06
      • 2014-02-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多