I'm using the Pupil Vive Trackers on a Windows 10 Laptop. I've installed all dependencies as described on https://github.com/pupil-labs/pupil/wiki/Dependencies-Installation-Windows.
But still it does not run because of a GLFW3 issue:
#########################
D:\Programme\PupilLabs\pupil\pupil_src\capture>python main.py
MainProcess - [INFO] os_utils: Disabling idle sleep not supported on this OS version.
Process world:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Python27\lib\multiprocessing\process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "D:\Programme\PupilLabs\pupil\pupil_src\capture\world.py", line 69, in world
import glfw
File "C:\Python27\lib\site-packages\glfw.py", line 169, in <module>
raise ImportError("Failed to load GLFW3 shared library.")
ImportError: Failed to load GLFW3 shared library.
##########################
I've traced down the line in glfw.py that tries to find the file 'glfw3.dll':
if sys.platform == 'win32':
# only try glfw3.dll on windows
try:
_glfw = ctypes.CDLL('glfw3.dll')
...
if _glfw is None:
raise ImportError("Failed to load GLFW3 shared library.")
but I don't know where that command actually searches for this particular file. I've tried copying it to several folders but still, the error remains the same.
Any help?
--
You received this message because you are subscribed to the Google Groups "pupil-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pupil-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pupil-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pupil-discuss/09a5a61d-419f-460c-8acf-822b48e0bc4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
thanks for your instant reply.
I'm currently trying to install the dependencies on a virtual Linux machine and am following the instructions provided in the Github wiki. But I'm facing the following problem trying to install the 'av' package:
##################
Installing collected packages: av
Running setup.py install for av ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-nVV6Us/av/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-m9v_mi-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/av
copying av/__init__.py -> build/lib.linux-x86_64-2.7/av
copying av/__main__.py -> build/lib.linux-x86_64-2.7/av
creating build/lib.linux-x86_64-2.7/av/video
copying av/video/__init__.py -> build/lib.linux-x86_64-2.7/av/video
creating build/lib.linux-x86_64-2.7/av/subtitles
copying av/subtitles/__init__.py -> build/lib.linux-x86_64-2.7/av/subtitles
creating build/lib.linux-x86_64-2.7/av/container
copying av/container/__init__.py -> build/lib.linux-x86_64-2.7/av/container
creating build/lib.linux-x86_64-2.7/av/audio
copying av/audio/__init__.py -> build/lib.linux-x86_64-2.7/av/audio
running build_ext
running reflect
running config
Could not find libavdevice with pkg-config.
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-nVV6Us/av/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-m9v_mi-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-nVV6Us/av/
#############
Now I've found a similar problem in this group (https://groups.google.com/forum/#!topic/pupil-discuss/z6W5uLlxpEA) but I already installed ffmpeg.
Any ideas what may cause this error?
Appreciate your help!
sudo apt-get install -y \
libavformat-dev libavcodec-dev libavdevice-dev \
libavutil-dev libswscale-dev libavresample-dev