I am writing here because I am trying to make openvibe working with the emotiv epoc headset on linux (ubuntu 12.04 32bits).
I can't use the official SDK because I only have the eductional version of the SDK (which is apparently not supported by openvibe), so I decided to use the alternative emokit.
I used this version of openvibe https://github.com/antoche/openvibe (patched for emokit usage) and this version of emokit https://github.com/qdot/emokit .
I had quite a lot of problems during the installation, had to copy manually the include and library files (wrong path in the cmake files).
After a while, it started to build openvibe with the driver but failed because of the structure "emokit_device" which wasn't recognised, so I moved it inside the emokit header file.
But now, there is a new problem, and I have no clue about where I should look at:
Code: Select all
Linking CXX executable OpenViBE-acquisition-server-dynamic
/usr/local/lib/libemokit.a(emokit.c.o): In function `emokit_create':
emokit.c:(.text+0x30): undefined reference to `hid_init'
/usr/local/lib/libemokit.a(emokit.c.o): In function `emokit_get_count':
emokit.c:(.text+0x7b): undefined reference to `hid_enumerate'
emokit.c:(.text+0xa4): undefined reference to `hid_free_enumeration'
/usr/local/lib/libemokit.a(emokit.c.o): In function `emokit_identify_device':
emokit.c:(.text+0x109): undefined reference to `hid_get_feature_report'
/usr/local/lib/libemokit.a(emokit.c.o): In function `emokit_open':
emokit.c:(.text+0x24f): undefined reference to `hid_enumerate'
emokit.c:(.text+0x26f): undefined reference to `hid_open_path'
emokit.c:(.text+0x294): undefined reference to `hid_free_enumeration'
emokit.c:(.text+0x2e0): undefined reference to `hid_get_serial_number_string'
/usr/local/lib/libemokit.a(emokit.c.o): In function `emokit_close':
emokit.c:(.text+0x320): undefined reference to `hid_close'
/usr/local/lib/libemokit.a(emokit.c.o): In function `emokit_read_data':
emokit.c:(.text+0x35c): undefined reference to `hid_read'
collect2: ld returned 1 exit status
make[2]: *** [OpenViBE-acquisition-server-dynamic] Error 1
make[1]: *** [CMakeFiles/OpenViBE-acquisition-server-dynamic.dir/all] Error 2
make: *** [all] Error 2
Regards,