Quantcast
Channel: Emotiv
Viewing all articles
Browse latest Browse all 898

Problem to run Facialexpression on matlab

$
0
0

Hello,

i got some problem with my emotiv insight. I want to run the code facialexpression.m. Some Information: win10 pro- matlab 2012b 64-bit – visual studio 2010 pro

I followed all the steps in the document : How to run matlab example. to set the compiler.
I turn on Insight an pair with Emotiv Xavier Control panel.
I got all the files (edk.ll, edk.h, …) and facialexpression.m in one folder
now when i try to run the m-file i got this error:

Error loading library intermediate output follows.
The actual error is at the end of this output.
*********

Type 'size_t' was not found.  Defaulting to type error.

Found on line 589 of input from line 268 of file c:\\users\\bertz\\desktop\\facialex\\IEmoStateDLL.h

Failed to parse type 'char * strDevID = " Emotiv Systems - 5 "' original input 'const char * strDevID = " Emotiv Systems - 5 "'
Found on line 3345 of input from line 194 of file C:\\Users\\bertz\\Desktop\\facialex\\Iedk.h
Error parsing argument for function IEE_EngineConnect function may be invalid.
*********
Error using loadlibrary (line 419)
Building edk_thunk_pcwin64 failed.  Compiler output is:
cl -I"C:\Program Files\MATLAB\R2012b\extern\include"   /W3  /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE
/D_SECURE_SCL=0  /nologo  -I"C:\Users\bertz\Desktop\facialex" -I"C:\Users\bertz\Desktop\facialex"
"edk_thunk_pcwin64.c" -LD -Fe"edk_thunk_pcwin64.dll"
edk_thunk_pcwin64.c
c:\users\bertz\desktop\facialex\IEmotivProfile.h(171) : error C2059: syntax error : '}'
C:\Users\bertz\Desktop\facialex\Iedk.h(194) : error C2143: syntax error : missing ')' before '='
C:\Users\bertz\Desktop\facialex\Iedk.h(194) : error C2072: 'IEE_EngineConnect' : initialization of a function
C:\Users\bertz\Desktop\facialex\Iedk.h(194) : error C2059: syntax error : ')'
edk_thunk_pcwin64.c(163) : error C2143: syntax error : missing '{' before '*'
edk_thunk_pcwin64.c(163) : warning C4133: 'initializing' : incompatible types - from 'char [16]' to 'int *'
edk_thunk_pcwin64.c(163) : error C2146: syntax error : missing ';' before identifier 'Thunk'
edk_thunk_pcwin64.c(165) : error C2146: syntax error : missing ';' before identifier 'p0'
edk_thunk_pcwin64.c(165) : error C2065: 'p0' : undeclared identifier
edk_thunk_pcwin64.c(166) : error C2065: 'p0' : undeclared identifier
edk_thunk_pcwin64.c(166) : error C2146: syntax error : missing ')' before identifier 'strDevID'
edk_thunk_pcwin64.c(166) : warning C4047: '=' : 'char' differs in levels of indirection from 'char [21]'
edk_thunk_pcwin64.c(166) : error C2143: syntax error : missing ';' before 'const'
edk_thunk_pcwin64.c(166) : error C2059: syntax error : ')'
edk_thunk_pcwin64.c(167) : error C2065: 'p0' : undeclared identifier
edk_thunk_pcwin64.c(167) : error C2065: 'p0' : undeclared identifier
edk_thunk_pcwin64.c(167) : error C2065: 'p0' : undeclared identifier
edk_thunk_pcwin64.c(168) : error C2143: syntax error : missing ')' before '='
edk_thunk_pcwin64.c(168) : error C2143: syntax error : missing ')' before '='
edk_thunk_pcwin64.c(168) : error C2059: syntax error : '='
edk_thunk_pcwin64.c(172) : error C2061: syntax error : identifier 'int32cstringuint16Thunk'
edk_thunk_pcwin64.c(172) : error C2059: syntax error : ';'
edk_thunk_pcwin64.c(172) : error C2059: syntax error : 'type'

Error in facialexpression (line 22)
    [nf, w] = loadlibrary('edk','Iedk',  'addheader', 'IEmoStateDLL', 'addheader', 'IedkErrorCode');
 
>> 

Can somebody help me?


Viewing all articles
Browse latest Browse all 898

Trending Articles