首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Microsoft Accelerator library with Visual Studio F#

Microsoft Accelerator library with Visual Studio F#
EN

Stack Overflow用户
提问于 2013-04-27 09:32:03
回答 2查看 516关注 0票数 0

我已经按照手册中的说明下载并安装了微软加速器,但是当我尝试创建一个使用open Microsoft.ParallelArrays的项目时,仍然没有定义ParallelArrays。

我试图通过参考资料将Accelerator添加到列表中,但似乎找不到它。

我做错了什么?

编辑:

我在另一个位置找到了一个可以正常工作的文件,但是当我编译并运行我的测试程序时,它抛出了错误

代码语言:javascript
复制
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'Accelerato
r.dll': The specified module could not be found. (Exception from HRESULT: 0x8007
007E)
   at Microsoft.ParallelArrays.FloatParallelArray.AcceleratorNative.Create_FPA_F
A1D(Single[] values, IntPtr Length)
   at Microsoft.ParallelArrays.FloatParallelArray..ctor(Single[] values)
   at Program.Test1() in c:\users\misao\documents\visual studio 2012\Projects\ac
celeratortest\acceleratortest\Program.fs:line 10
   at <StartupCode$acceleratortest>.$Program.main@() in c:\users\misao\documents
\visual studio 2012\Projects\acceleratortest\acceleratortest\Program.fs:line 97
Press any key to continue . . .
EN

回答 2

Stack Overflow用户

发布于 2013-07-11 23:15:30

将dll 'Accelerator.dll‘添加到您的项目中。右键单击项目,添加/现有项。然后将此文件的“复制到输出”属性设置为“始终复制”。

票数 1
EN

Stack Overflow用户

发布于 2013-04-28 03:25:07

最简单的方法是将DLL复制到您的可执行目录中,这仍然是使其正常工作的最佳方法,尤其是要避免可怕的post:"System.DllNotFoundException: Unable to load DLL 'Accelerato r.dll'“

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16247395

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档