Emotiv EPOC driver status

Making & changing hardware drivers in Acquisition Server
sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

On this blog:
http://hiran6.blogspot.com/2010/10/emot ... nvibe.html

It says

"Now visit OpenViBE\scripts and run win32-install_dependencies.exe If the installation terminates without completing all the components then navigate to the folder OpenViBE\dependencies\arch. Then download those failed packages from http://openvibe.inria.fr/dependencies/win32/ to that folder and re-run win32-install_dependencies.exe. If you don't do this step you will end up with errors in a later stage with messages like " 'cmake' is not recognized as an internal or external command"

The installation of win32-install_dependencies.exe did not terminate.
What packages should be included in the OpenViBE\dependencies\arch folder?
I currently have:
Screen shot 2011-02-07 at 11.40.22 AM.png
Screen shot 2011-02-07 at 11.40.22 AM.png (23.21 KiB) Viewed 34116 times
Am I missing anything from this folder?

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

In my opinion it is not a matter of dependencies, but something is wrong with the compiler.
When building, CMake tries to find a valid c++ compiler on your computer, and test it with a sample program to check if it is working.

Here this test ends with the error message :
CMake Error : your C compiler : "cl" was not found
On a previous post, you said :
I am using Visual Basic 2008 express edition.
Please use Visual C++ 2008 or 2010. OpenViBE is written in C++, the Basic compiler won't support it ;).

Laurent
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

Ok, Visual C++ installed.
Ran win32-build
Error:
Attachments
Screen shot 2011-02-07 at 1.40.10 PM.png
Screen shot 2011-02-07 at 1.40.10 PM.png (36.72 KiB) Viewed 34113 times

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

I see on your log message that you installed Visual Studio 2010.
You should re-run win32-install_dependencies.exe in order to install the VS2010 dependencies (first checkbox : choose VS2010 instead of VS2008).

Then run win32-clean.cmd. It will clean up the installation (just a precaution...)
Finally, run win32-build.cmd.

Hope this works...

Laurent
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

Success!

Thank you for your time and patience :D

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

Hello

One more problem,
When I run the acquisition server, Emotiv is not available as a choice.


Thanks,

Sarah

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

Hi,
Are you sure that the Emotiv driver was actually built?
During the build of the acquisition server project, you should see either "Failed" or "Ok" for the Emotiv API, when trying to check for dependencies.

If the script doesn't find the Emotiv SDK it won't build the driver.
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

Nathali
Posts: 20
Joined: Thu Mar 17, 2011 4:47 pm

Re: Emotiv EPOC driver status

Post by Nathali »

Hi,

I have a problem while building...

I have Windows XP on VirtualBox and VS 2010. No white spaces...have run the dependencies.exe 3 times already.

Where the problem occurs?
Attachments
problem.jpg
problem.jpg (109.87 KiB) Viewed 33948 times

jlegeny
Posts: 239
Joined: Tue Nov 02, 2010 8:51 am
Location: Mensia Technologies Paris FR
Contact:

Re: Emotiv EPOC driver status

Post by jlegeny »

Dear Nathali,

it seems that you are trying to build OpenViBE in your "Documents and Settings" folder, the name of which indeed contains spaces.

Nathali
Posts: 20
Joined: Thu Mar 17, 2011 4:47 pm

Re: Emotiv EPOC driver status

Post by Nathali »

No, the name is just Documents\OpenVibe...

Can you tell me once again the dependencies between the directories..maybe I have smth in wrong place or uninstalled...

ddvlamin
Posts: 160
Joined: Thu Aug 13, 2009 8:39 am
Location: Ghent University
Contact:

Re: Emotiv EPOC driver status

Post by ddvlamin »

Hi,

My installation tree is structured as follows.

D:/ov
D:/ov/scripts
D:/ov/openvibe-plugins
...
D:/ov/dependencies with D:/ov/dependencies/arch D:/ov/dependencies/boost etc...

Restating the obvious: it appears there are some (or at least one) CMakeLists.txt files missing in one of your directories, which it needs for several things like finding third party dependencies. As an example in my D:\ov\openvibe-plugins\signal-processing\trunc directory there is such a file and also in all other trunc directories. In your case this should be found in the directory C:\Documents\OpenViBE\openvibe-plugins\signal-processing\trunc.

What's the content of the file OpenViBE_build_order.txt, maybe your OpenViBE base in win32-init_env_command.cmd is pointing to the wrong directory?

Maybe something went wrong when updating or while copying directories, files and by accident some files got deleted? In that case you could try to do the installation over again, sometimes this is faster than looking for the cause?

Best regards,
Dieter Devlaminck

Nathali
Posts: 20
Joined: Thu Mar 17, 2011 4:47 pm

Re: Emotiv EPOC driver status

Post by Nathali »

ok, have deleted everything, start from the other folder, but then this error occurs...

advice me smth please...

the VS 2010 was chosen in checkbox, a path is for sure w/o any white spaces..
Attachments
3.jpg
3.jpg (47.51 KiB) Viewed 33935 times

ddvlamin
Posts: 160
Joined: Thu Aug 13, 2009 8:39 am
Location: Ghent University
Contact:

Re: Emotiv EPOC driver status

Post by ddvlamin »

Hi Nathali,

This can happen if the connection is lost to the server (or another connection problem) when downloading the packages, just try again (it happened to me before too). You can download them manually by inspecting the urls in win32-install_dependencies.nsi but I do not recommend that.

EDIT: if you copy the dependencies from the dependencies\arch directory to the right place in your new installation, it should not be necessary to download them again.

Best regards,
Dieter Devlaminck

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

Hello Nathali !

Did you manage to get the Emotiv driver working ?

Regards,
Laurent-
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

Nathali
Posts: 20
Joined: Thu Mar 17, 2011 4:47 pm

Re: Emotiv EPOC driver status

Post by Nathali »

Laurent,

seems yes (had no other way:-) ), I ran the server and got some device drifts...0 hosts...bun until server runs - I got the signals on client side...well, it's logical with client-server architecture:-) but I'm still not sure... + I wonder how can I save the results of FFT in some more or less popular used format...as I have several ideas for neurofeedback (I mean process of getting data sets by teaching the system) That's why I'm thinking of getting images now..not just a snapshot...or maybe snapshot will work for my purposes. My main problem : I'm on VM and I need to read a lot on imafe analysis to use OpenVibe normally w/o asking you or other people on forum...always lack of time.

Thank you for helping me.

+ I have a question. Is there more or less working approach to get 3d mapping work on VM? I know, it's VM..but maybe someone had succeed. I'd be grateful.

Post Reply