尽管Octave Psychtoolbox是路径中的第一个目录,却无法找到Screen.mex

时间:2019-03-29 19:37:32

标签: octave psychtoolbox

我尝试按照installation instructions在Windows上安装Psychtoolbox for Octave。在安装完成之前,我会收到以下警告:

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?

1 个答案:

答案 0 :(得分:0)

您使用的是哪个版本的gstreamer?我最近遇到了类似的问题,并通过安装gstreamer 1.14.4进行了修复。最新版本的gstreamer将不起作用,早于1.14.4的版本也将不起作用。