Page 1 of 1

new driver creation

Posted: Sun Jun 08, 2014 7:36 am
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

Re: new driver creation

Posted: Tue Aug 19, 2014 7:51 am
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

Re: new driver creation

Posted: Tue Sep 02, 2014 11:21 am
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