Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emokit doesn't run Ubuntu 14.04 #105

Open
Geo-22 opened this issue Jun 3, 2014 · 4 comments
Open

Emokit doesn't run Ubuntu 14.04 #105

Geo-22 opened this issue Jun 3, 2014 · 4 comments

Comments

@Geo-22
Copy link

Geo-22 commented Jun 3, 2014

Hi!
I am currently working on a project with the emotiv headset, although I do have the research version I only have the windows version and I don’t like development in that environment, so I search for someone that has already do exactly what you guys so kindly share with the community , ok that been said I continue to download the openyou/emokit version of the driver, and follow the steps for install on linux, all seems to go OK, until I type and run the last step, the “make”, there is a warning (and btw because of this is a warning I don’t think it would be as fatal as an error) it says:

user@user-Satellite-A505:~/Desktop/2014/emokit-master$ cmake .
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c  
-- Check for working CXX compiler: /usr/bin/c   -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found mcrypt: /usr/lib/libmcrypt.so
-- Found HIDAPI: /usr/local/lib/libhidapi-hidraw.so  
-- /usr/lib/libmcrypt.so/usr/local/lib/libhidapi-hidraw.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Desktop/2014/emokit-master

user@user-Satellite-A505:~/Desktop/2014/emokit-master$ make
Scanning dependencies of target emokit
[ 33%] Building C object src/CMakeFiles/emokit.dir/emokit.c.o
Linking C static library ../lib/libemokit.a
[ 33%] Built target emokit
Scanning dependencies of target emokitd
[ 66%] Building C object examples/emokitd/CMakeFiles/emokitd.dir/emokitd.c.o
/home/user/Desktop/2014/emokit-master/examples/emokitd/emokitd.c: In function ‘fatal_err’:
/home/user/Desktop/2014/emokit-master/examples/emokitd/emokitd.c:23:2: warning: format not a string literal and no format arguments [-Wformat-security]
 syslog(LOG_INFO, msg);
 ^
Linking C executable ../../bin/emokitd
[ 66%] Built target emokitd
Scanning dependencies of target contact
[100%] Building C object examples/contact/CMakeFiles/contact.dir/contact.c.o
Linking C executable ../../bin/contact
[100%] Built target contact

But if I retype the make command the warning disappears. Ok so at this step there is nothing that says me that something is really wrong right? Well when I plug my dongle (I have the consumer version VID: 21a1 & PID: 0001) and run the contact example it runs and show me only this values: 0, 8, 16, 24 (It seems to be a problem here because according with the code is should be around and up to 4000) and when I run the emokitd example it just skip out without generating any RAW data stream file at any directory

user@user-Satellite-A505:~/Desktop/2014/emokit-master/bin$sudo ./emokitd
user@user-Satellite-A505:~/Desktop/2014/emokit-master/bin$

(it didn’t show me any error or warning message, but that is ok right?), the emokitd isn’t supposed to show any information within the terminal is should generate the streaming file (but neither is supposed to skip me to the command line at the terminal immediately, right?) So I did search through almost all the issues open and closed in this project but nothing seems to work for me, I know that this is the same that everyone says but I really need some support here. Sorry for the letter but I want to explain myself so you can have info and help me.
Thank you in advanced!

@Geo-22
Copy link
Author

Geo-22 commented Jun 3, 2014

please anyone? :/

@aravindev
Copy link

Vezpucio did you try the python package too?
If possible, please make a video and post the link so that i can help you.
[email protected]

@giganscudo
Copy link

Hi vezpucio!

I am also having the same problem, and also clueless at the moment. Mine also do no produce any raw data file. Have you tried looking at your logfiles for errors?

@Geo-22
Copy link
Author

Geo-22 commented Jun 19, 2014

well after some time I can get the values from the contact example just changing some code. now could some please tell me how can I make an online connection with openvibe? also the values that I'm getting averages between 7000 & 8000 is this normal/ok stuff?

@ghost ghost assigned qdot Jun 22, 2016
@qdot qdot removed their assignment Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants