【发布时间】:2019-03-29 19:37:31
【问题描述】:
我已尝试根据installation instructions 在 Windows 10 上安装 Octave 的 Psychtoolbox。在安装完成之前,我收到以下警告:
Screen() failed to work for some reason:
Check the troubleshooting instructions on our Wiki (Download section
and FAQ section, maybe also the Bugs section).
You may need to delete (or rename) the following DLL files in your Octave-4.4.1 installations
bin folder to make this work, then restart Octave:
C:\Octave\4.4.1\bin\libglib-2.0.0.dll
C:\Octave\4.4.1\bin\libgmodule-2.0.0.dll
C:\Octave\4.4.1\bin\opengl32.dll
Once you manage to fix the problem (simply type 'AssertOpenGL' to verify
that stuff works now), you do not need to run the installation routine again,
but can start working immediately.
我已经删除了命名的 DLL 文件,我确认了这一点。然后我运行AssertOpenGL 并收到此错误:
Last Error: could not find library or dependencies: D:\Coding\PTB\Psychtoolbox\PsychBasic\Octave4WindowsFiles64\Screen.mex
直接调用Screen会报这个错误:
error: library open failed: D:\Coding\PTB\Psychtoolbox\PsychBasic\Octave4WindowsFiles64\Screen.mex
但是,包含 Screen.mex 的目录位于我路径的最顶端:
Octave's search path contains the following directories:
.
D:\Coding\PTB\Psychtoolbox\PsychBasic\Octave4WindowsFiles64
D:\Coding\PTB\Psychtoolbox
<etc>
因此,similar question 的解决方案毫无用处。我可以做些什么来在 Octave 上正确配置 PTB?
【问题讨论】:
-
获取 Dependency Walker 并查看是否缺少 MEX 文件的任何依赖项。只需在 Dependency Walker 程序中打开 MEX 文件,它会告诉您是否有任何问题。
-
@CrisLuengo 谢谢,我去看看。
-
据我所知,.mex 文件是预编译的。您确定它们与您的系统 32/64 位匹配吗?你没有提到你的windoze版本
标签: octave psychtoolbox