new driver creation

Making & changing hardware drivers in Acquisition Server
Post Reply
sanhem
Posts: 3
Joined: Mon May 26, 2014 12:56 pm

new driver creation

Post by sanhem »

hello everyone...

I want to create a new Driver for EEG hardware we use in our lab. As per the documentation when I use the skeleton generator to generate the driver files , the files get generated but there is no content in each files thatis all files are empty.The skeleton generator displays the following commands while these files are generated

Generating files...
[ OK ] -- template file 'C:/Program Files (x86)/openvibe//share/openvibe/applications/skeleton-generator/driver.h-skeleton' found.
[FAILED] -- C:\Program Files (x86)\openvibe/ovasCDrivertestdriver.h cannot be written.
[ OK ] -- template file 'C:/Program Files (x86)/openvibe//share/openvibe/applications/skeleton-generator/driver.cpp-skeleton' found.
[FAILED] -- C:\Program Files (x86)\openvibe/ovasCDrivertestdriver.cpp cannot be written.
[ OK ] -- template file 'C:/Program Files (x86)/openvibe//share/openvibe/applications/skeleton-generator/configuration.h-skeleton' found.
[FAILED] -- C:\Program Files (x86)\openvibe/ovasCConfigurationtestdriver.h cannot be written.
[ OK ] -- template file 'C:/Program Files (x86)/openvibe//share/openvibe/applications/skeleton-generator/configuration.cpp-skeleton' found.
[FAILED] -- C:\Program Files (x86)\openvibe/ovasCConfigurationtestdriver.cpp cannot be written.
[ OK ] -- template file 'C:/Program Files (x86)/openvibe//share/openvibe/applications/skeleton-generator/interface.ui-skeleton' found.
[FAILED] -- C:\Program Files (x86)\openvibe/interface-testdriver.ui cannot be written.
[ OK ] -- template file 'C:/Program Files (x86)/openvibe//share/openvibe/applications/skeleton-generator/readme-driver.txt-skeleton' found.
[FAILED] -- C:\Program Files (x86)\openvibe/README.txt cannot be written.
Generation process did not completly succeed. Some files may have not been produced.


Can anyone please help me as to why this problem is arising

thanking in advance.
sanhem

lmahe
Posts: 5
Joined: Thu Jan 17, 2013 10:08 am
Location: Inria Sophia

Re: new driver creation

Post by lmahe »

Hi,

Could you try installing OpenViBE elsewhere ? As stated in the documentation :
In order to build OpenViBE correctly, the source code must be in a path containing no spaces and no special characters such as &, |, (, ) etc.

Good example : C:\work\openvibe\repository
Bad example (blanks) : C:\Program Files\openvibe
Regards,
Loic

jtlindgren
Posts: 778
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: new driver creation

Post by jtlindgren »

In general the app should also have write access to the folder it tries to write to. This may not be the case for "Program Files". Perhaps installed skeleton generator by default tries to write there. If so, this is unintentional.


+3 cents,
Jussi

Post Reply