【问题标题】:Octave Psychtoolbox can't find Screen.mex despite being first directory in path尽管是路径中的第一个目录,但 Octave Psychtoolbox 找不到 Screen.mex
【发布时间】: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


【解决方案1】:

您使用的是什么版本的 gstreamer?我最近遇到了类似的问题,并通过安装 gstreamer 1.14.4 修复了它。最新版本的 gstreamer 将无法使用,1.14.4 之前的版本也无法使用。

【讨论】:

  • 请添加信息,说明为什么早期或以后的版本在这种情况下不起作用。它相当模糊“在没有一点上下文的情况下安装 1.14.4。
  • 我不知道为什么。 @ZF007
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-01-02
  • 2016-02-10
  • 1970-01-01
相关资源
最近更新 更多