在Mono和SuSE Linux 12.3下运行ILNumerics应用程序
我不熟悉单声道和单声道数字。下载社区版后,我想运行 ILNumerics快速启动页面中的“Hello ILNumerics!-核心功能”应用程序。 编译(使用monodevelop 3.0.6)工作正常,但当我在x86调试模式下启动程序时,我 获取错误消息,如:在Mono和SuSE Linux 12.3下运行ILNumerics应用程序,mono,ilnumerics,Mono,Ilnumerics,我不熟悉单声道和单声道数字。下载社区版后,我想运行 ILNumerics快速启动页面中的“Hello ILNumerics!-核心功能”应用程序。 编译(使用monodevelop 3.0.6)工作正常,但当我在x86调试模式下启动程序时,我 获取错误消息,如: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer
for ILNumerics.ILMath ---> ILNumerics.Exceptions.ILArgumentException: conversion from
Single to fcomplex is currently not supported.
at ILNumerics.ILMath.convert[Single,fcomplex] (ILNumerics.ILInArray`1 X) [0x00027] in
/home/dom/ILNumerics/Functions/builtin/convert.cs:910
at ILNumerics.ILMath.tofcomplex (ILNumerics.ILInArray`1 X) [0x00001] in /home/do
/ILNumerics/Functions/builtin/convert.cs:1633
at ILNumerics.Native.ILMKLFFT.FFTForward1D (ILNumerics.ILInArray`1 A, Int32 dim)
[0x00072] in /home/dom/ILNumerics/Native/FFT/ILMKLFFT.cs:657
at ILNumerics.ILMath.fft (ILNumerics.ILInArray`1 A) [0x0005d] in /home/dom/ILNumeric
/Functions/builtin/fft.cs:958
at ILNumerics.ILMath..cctor () [0x00199] in /home/dom/ILNumerics/Functions
/ILMath_General.cs:138
--- End of inner exception stack trace ---
at ConsoleApplication1.Program.Main (System.String[] args) [0x00001] in /home/do
/iltesrt/iltesrt/Main.cs:14
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception
was thrown by the type initializer for ILNumerics.ILMath --->
ILNumerics.Exceptions.ILArgumentException: conversion from Single to fcomplex is
currently not supported.
at ILNumerics.ILMath.convert[Single,fcomplex] (ILNumerics.ILInArray`1 X) [0x00027] in
/home/dom/ILNumerics/Functions/builtin/convert.cs:910
at ILNumerics.ILMath.tofcomplex (ILNumerics.ILInArray`1 X) [0x00001] in /home/do
/ILNumerics/Functions/builtin/convert.cs:1633
at ILNumerics.Native.ILMKLFFT.FFTForward1D (ILNumerics.ILInArray`1 A, Int32 dim)
[0x00072] in /home/dom/ILNumerics/Native/FFT/ILMKLFFT.cs:657
at ILNumerics.ILMath.fft (ILNumerics.ILInArray`1 A) [0x0005d] in /home/dom/ILNumeric
/Functions/builtin/fft.cs:958
at ILNumerics.ILMath..cctor () [0x00199] in /home/dom/ILNumerics/Function
/ILMath_General.cs:138
--- End of inner exception stack trace ---
at ConsoleApplication1.Program.Main (System.String[] args) [0x00001] in /home/dom/iltesrt/iltesrt/Main.cs:14
我在SuSE 12.3上做这个。32位系统(但64位机器上的错误相同),以及
单声道版本
dom@linux-b0sl:~/ILNumerics> mono --version
Mono JIT compiler version 3.0.4 (tarball Thu Mar 7 10:35:21 UTC 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
任何建议都将不胜感激。在ubuntu上的monodevelop 3.0.3无法重现此问题。您是否尝试使用monodevelop附带的mono版本?或者您是否尝试从其他发行版编译并安装mono?可能是,您的计算机上有多个运行时混淆了?